LdapClient
class LdapClient implements LdapClientInterface
Methods
__construct(string $host = null, int $port = 389, int $version = 3, bool $useSsl = false, bool $useStartTls = false, bool $optReferrals = false)
Constructor.
__destruct()
No description
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)
Escape a string for use in an LDAP filter or DN.
Details
at line line 45
__construct(string $host = null, int $port = 389, int $version = 3, bool $useSsl = false, bool $useStartTls = false, bool $optReferrals = false)
Constructor.
at line line 59
__destruct()
at line line 67
bind(string $dn = null, string $password = null)
Return a connection bound to the ldap.
at line line 81
find($dn, $query, $filter = '*')
at line line 100
string
escape(string $subject, string $ignore = '', int $flags)
Escape a string for use in an LDAP filter or DN.