interface LdapClientInterface

Ldap interface.

Methods

bind(string $dn = null, string $password = null)

Return a connection bound to the ldap.

find($dn, $query, $filter = '*')

No description

string
escape(string $subject, string $ignore = '', int $flags = 0)

Escape a string for use in an LDAP filter or DN.

Details

at line 34
bind(string $dn = null, string $password = null)

Return a connection bound to the ldap.

Parameters

string $dn A LDAP dn
string $password A password

Exceptions

ConnectionException if dn / password could not be bound

at line 45
find($dn, $query, $filter = '*')

Parameters

$dn
$query
$filter

at line 56
string escape(string $subject, string $ignore = '', int $flags = 0)

Escape a string for use in an LDAP filter or DN.

Parameters

string $subject
string $ignore
int $flags

Return Value

string