Horde_Group_Ldap::_rebind PHP Method

_rebind() protected method

Rebinds to the LDAP server.
protected _rebind ( boolean $write )
$write boolean Whether to rebind for write access. Use false after finishing write actions.
    protected function _rebind($write)
    {
        if ($write) {
            $this->_ldap->bind($this->_params['writedn'], $this->_params['writepw']);
        } else {
            $this->_ldap->bind();
        }
    }