diff --git a/components/ldap.rst b/components/ldap.rst index 1d281a15e0d..08caf52b3e8 100644 --- a/components/ldap.rst +++ b/components/ldap.rst @@ -117,7 +117,7 @@ to the ``LDAP_SCOPE_BASE`` scope of :phpfunction:`ldap_read`) and ``SCOPE_ONE`` Use the ``filter`` option to only retrieve some specific attributes: - $query = $ldap->query('dc=symfony,dc=com', '...', ['filter' => ['cn, mail']); + $query = $ldap->query('dc=symfony,dc=com', '...', ['filter' => ['cn', 'mail']); Creating or Updating Entries ----------------------------
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: