LdapClientInterface

LdapClientInterface

interface LdapClientInterface

Ldap interface.

Methods

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

Return a connection bound to the ldap.

find($dn, $query, $filter = '*')
string escape(string $subject, string $ignore = '', int $flags)

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

Details

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

Return a connection bound to the ldap.

Parameters

string $dn A LDAP dn
string