See the following documents for more information on the attributes contained within the RootDSE for a given LDAP server.
Getting hands on the RootDSE
1 2 3 4
$options = array(/* ... */); $ldap = new Zend\Ldap\Ldap($options); $rootdse = $ldap->getRootDse(); $serverType = $rootdse->getServerType();
Getting hands on the server schema
1 2 3 4
$options = array(/* ... */); $ldap = new Zend\Ldap\Ldap($options); $schema = $ldap->getSchema(); $classes = $schema->getObjectClasses();
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.
The source code of this file is hosted on GitHub. Everyone can update and fix errors in this document with few clicks - no downloads needed.