src/Identifier/Ldap/ExtensionAdapter.php
public function bind($bind, $password)
    {
        $this->_setErrorHandler();
        $result = ldap_bind($this->getConnection(), $bind, $password);
        $this->_unsetErrorHandler();

        return $result;
    }
public function bind($bind, $password)
    {
        $this->_setErrorHandler();
        $result = ldap_bind($this->getConnection(), $bind, $password);
        $this->_unsetErrorHandler();

        return $result;
    }
public function bind ( $ bind , $ password ) { $ this -> _setErrorHandler ( ) ; $ result = ldap_bind ( $ this -> getConnection ( ) , $ bind , $ password ) ; $ this -> _unsetErrorHandler ( ) ; return $ result ; }
Bind to LDAP directory

@param string $bind Bind rdn
@param string $password Bind password
@return bool
Bind to LDAP directory