On Thu, May 16, 2002 at 09:34:16AM -0500, D Canfield wrote:
> Two related questions:
> 
> 1) Is there any work being done to support the retrieval of the LDAP
> schema in PHP (similar to Perl's Net::LDAP::Schema)?  Is there any other
> good way to get this information into PHP?
> 
> 2) Is there any way to change the search scope of an LDAP search in
> PHP?  Specifically, the following OpenLDAP search command will fetch the
> schema from the server: 
>  ldapsearch -s base -x -b 'cn=subschema' objectclass=* +
> But, I can find no way to switch the search scope from SUB to BASE, so
> the equivalent call in PHP won't work.
> 
> Any suggestions?

look into ldap_read() and the optional arguments to ldap_search()

 matt

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to