[Klug-general] php ldap search

Frederick Dalladay freddiedalladay at gmail.com
Wed Nov 10 20:35:37 UTC 2010


Not 100% sure, but you could try $results = ldap_search($connection,
"cn=my\\20ou, dc=mydomain, dc=ac, dc=uk", "givenName=d*");

On 10 November 2010 16:53, Dan Attwood <danattwood at gmail.com> wrote:

> 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
>
> _______________________________________________
> Kent mailing list
> Kent at mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/kent
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/kent/attachments/20101110/ec929eb0/attachment.htm>


More information about the Kent mailing list