Méthode |
Description |
|
bind ( resource $ldapConnection, string $bindRdn = null, string $bindPassword = null ) : boolean |
Bind to LDAP directory. |
|
connect ( string $hostName, integer $port ) : resource |
Connect to a LDAP server. |
|
getEntries ( resource $ldapConnection, resource $ldapSearchResult ) : array |
Get entries from an ldap search result. |
|
search ( resource $ldapConnection, string $baseDn, string $filter, array $attributes = null ) : resource |
Search LDAP tree using the provided filter. |
|
searchAndGetEntries ( resource $ldapConnection, string $baseDn, string $filter, array $attributes = null ) : resource |
Search and get entries immediately. |
|
setOption ( resource $ldapConnection, integer $option, mixed $value ) : boolean |
Set the value of a LDAP option for the given connection. |
|
setVersion ( $ldapConnection, $version ) : boolean |
Set the version number for the given ldap connection. |
|