File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -37,15 +37,11 @@ using the following options:
3737``version ``
3838 The version of the LDAP protocol to use
3939
40- ``useSsl ``
41- Whether or not to secure the connection using SSL
40+ ``encryption ``
41+ The encryption protocol : `` ssl ``, `` tls `` or `` none `` (default)
4242
43- ``useStartTls ``
44- Whether or not to secure the connection using StartTLS
45-
46- ``optReferrals ``
47- Specifies whether to automatically follow referrals
48- returned by the LDAP server
43+ ``options ``
44+ LDAP server's options as defined in :class: `ConnectionOptions <Symfony\\ Component\\ Ldap\\ Adapter\\ ExtLdap\\ ConnectionOptions> `
4945
5046For example, to connect to a start-TLS secured LDAP server::
5147
@@ -73,10 +69,10 @@ distinguished name (DN) and the password of a user::
7369
7470Once bound (or if you enabled anonymous authentication on your
7571LDAP server), you may query the LDAP server using the
76- :method: `Symfony\\ Component\\ Ldap\\ Ldap::find ` method::
72+ :method: `Symfony\\ Component\\ Ldap\\ Ldap::query ` method::
7773
7874 // ...
7975
80- $ldap->find ('dc=symfony,dc=com', '(&(objectclass=person)(ou=Maintainers))');
76+ $ldap->query ('dc=symfony,dc=com', '(&(objectclass=person)(ou=Maintainers))');
8177
8278.. _Packagist : https://packagist.org/packages/symfony/ldap
You can’t perform that action at this time.
0 commit comments