$_params
$_params : array
Connection parameters.
This class provides a class for testing the Kolab Server DB.
Copyright 2008-2017 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
bind(string $dn = '', string $pw = '') : NULL
Binds the LDAP connection with a specific user and pass.
string | $dn | DN to bind with |
string | $pw | Password associated to this DN. |
If the user does not exit, he has no password, provided an incorrect password or anonymous binding is not allowed.
getEntry(string $dn, array $attr = array()) : \Horde_Ldap_Entry|\Horde_Ldap_Error
Get a specific entry based on the DN
string | $dn | DN of the entry that should be fetched |
array | $attr | Array of Attributes to select. If ommitted, all attributes are fetched. |
Reference to a Horde_Ldap_Entry object or Horde_Ldap_Error object
search(string $base = null, string $filter = null, string $params = array()) : array
Search for object data.
string | $base | The search base |
string | $filter | The LDAP search filter. |
string | $params | Additional search parameters. |
If the search operation encountered a problem.
The result array.
doSearch(array $filter, array $attributes = null) : array
Perform the search.
array | $filter | Filter criteria- |
array | $attributes | Restrict the search result to these attributes. |
If the search operation is not available.
A LDAP serach result.