LdapClient

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()
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