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?



PHP General Mailing List (
To unsubscribe, visit:

Reply via email to