Documentation

Getting information from the LDAP server - Zend_Ldap

Getting information from the LDAP server

RootDSE

See the following documents for more information on the attributes contained within the RootDSE for a given LDAP server.

Example #1 Getting hands on the RootDSE

  1. $options = array(/* ... */);
  2. $ldap = new Zend_Ldap($options);
  3. $rootdse = $ldap->getRootDse();
  4. $serverType = $rootdse->getServerType();

Schema Browsing

Example #2 Getting hands on the server schema

  1. $options = array(/* ... */);
  2. $ldap = new Zend_Ldap($options);
  3. $schema = $ldap->getSchema();
  4. $classes = $schema->getObjectClasses();

OpenLDAP

ActiveDirectory

Note: Schema browsing on ActiveDirectory servers
Due to restrictions on Microsoft ActiveDirectory servers regarding the number of entries returned by generic search routines and due to the structure of the ActiveDirectory schema repository, schema browsing is currently not available for Microsoft ActiveDirectory servers.

Copyright

© 2006-2021 by Zend by Perforce. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts