class LdapClient implements LdapClientInterface
deprecated
The LdapClient class will be removed in Symfony 4.0. You should use the Ldap class instead.
Methods
__construct($host = null, $port = 389, $version = 3, $useSsl = false, $useStartTls = false, $optReferrals = false, LdapInterface $ldap = null) | ||
bind(string $dn = null, string $password = null) Return a connection bound to the ldap. | ||
QueryInterface | query(string $dn, string $query, array $options = array()) Queries a ldap server for entries matching the given criteria. | |
EntryManagerInterface | getEntryManager() | |
array|null | find(string $dn, string $query, mixed $filter = '*') Find a username into ldap connection. | |
string | escape(string $subject, string $ignore = '', int $flags) Escape a string for use in an LDAP filter or DN. |
Details
__construct($host = null, $port = 389, $version = 3, $useSsl = false, $useStartTls = false, $optReferrals = false, LdapInterface $ldap = null)
bind(string $dn = null, string $password = null)
Return a connection bound to the ldap.
QueryInterface query(string $dn, string $query, array $options = array())
Queries a ldap server for entries matching the given criteria.
EntryManagerInterface getEntryManager()
array|null find(string $dn, string $query, mixed $filter = '*')
Find a username into ldap connection.
string escape(string $subject, string $ignore = '', int $flags)
Escape a string for use in an LDAP filter or DN.
Please login to continue.