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:
37
37
``version ``
38
38
The version of the LDAP protocol to use
39
39
40
- ``useSsl ``
41
- Whether or not to secure the connection using SSL
40
+ ``encryption ``
41
+ The encryption protocol : `` ssl ``, `` tls `` or `` none `` (default)
42
42
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> `
49
45
50
46
For example, to connect to a start-TLS secured LDAP server::
51
47
@@ -73,10 +69,10 @@ distinguished name (DN) and the password of a user::
73
69
74
70
Once bound (or if you enabled anonymous authentication on your
75
71
LDAP 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::
77
73
78
74
// ...
79
75
80
- $ldap->find ('dc=symfony,dc=com', '(&(objectclass=person)(ou=Maintainers))');
76
+ $ldap->query ('dc=symfony,dc=com', '(&(objectclass=person)(ou=Maintainers))');
81
77
82
78
.. _Packagist : https://packagist.org/packages/symfony/ldap
You can’t perform that action at this time.
0 commit comments