[Klug-general] php ldap search

Dan Attwood danattwood at gmail.com
Wed Nov 10 16:53:20 UTC 2010


dear lazy web

does anyone know anthing about ldap_search in php?

I have an OU with a space in the name (stupid admins, rant ,rant) and can't
work out how to search it;

$results = ldap_search($connection, "cn=my ou, dc=mydomain, dc=ac, dc=uk",
"givenName=d*");

using a different OU without a space works fine so I know that my setup is
correct

dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/kent/attachments/20101110/51e04d93/attachment.htm>


More information about the Kent mailing list