Skip to content

Commit 6384d0c

Browse files
committed
Merge branch '4.4' into 5.1
* 4.4: Update parent_services.rst Add a caution about bind with empty string
2 parents d8c236a + e356afe commit 6384d0c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

components/ldap.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ distinguished name (DN) and the password of a user::
7474

7575
$ldap->bind($dn, $password);
7676

77+
.. caution::
78+
79+
When the LDAP server allows unauthenticated binds, a blank password will always be valid.
80+
7781
Once bound (or if you enabled anonymous authentication on your
7882
LDAP server), you may query the LDAP server using the
7983
:method:`Symfony\\Component\\Ldap\\Ldap::query` method::

0 commit comments

Comments
 (0)