메소드 |
설명 |
|
close ( ) |
If the connection is bound, this closes the LDAP connection. |
|
connect ( string | null $username = null, string | null $password = null, boolean $anonymous = false, string | null $server = null ) |
Connect and bind to LDAP. |
|
execute ( LdapTools\Operation\LdapOperationInterface $operation ) : mixed |
Execute an operation against LDAP (Add, Modify, Delete, Move, Query, etc). |
|
getConfig ( ) : DomainConfiguration |
Get the DomainConfiguration instance in use by the connection. |
|
getConnection ( ) : resource |
Get the LDAP connection resource. |
|
getDiagnosticMessage ( ) : string |
Get the full diagnostic message from the LDAP server for the last operation. |
|
getExtendedErrorNumber ( ) : integer |
Get the extended error number from LDAP for the last operation. |
|
getIdleTime ( ) : integer |
Get the time, in seconds, that the connection has been idle. If not connected this will always return 0. |
|
getLastError ( ) : string |
Get the message from the LDAP server for the last operation. |
|
getRootDse ( ) : LdapObject |
Return a RootDse LDAP object for this connection. |
|
getServer ( ) : string | null |
Get the LDAP server that the connection is currently connected to. |
|
isBound ( ) : boolean |
Determine whether the connection is currently bound to LDAP with a username/password. |
|
setControl ( LdapControl $control ) |
Set the LDAP control for the connection. |
|