LDAP Search Scope / Schema Retrieval
| From: | D Canfield | Date: | Thu, 16 May 2002 14:34:16 +0000 |
| Subject: | LDAP Search Scope / Schema Retrieval | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-97918@lists.php.net to get a copy of this message | ||
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?
Thanks
DC