Object oriented access to the LDAP tree using Zend_Ldap_Node | Zend_Ldap Programmer's Reference Guide | Serializing LDAP data to and from LDIF
# 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. » OpenLDAP » Microsoft ActiveDirectory » Novell eDirectory Example #1 Getting hands on the RootDSE $options = array(/* ... */); $ldap = new Zend_Ldap($options); $rootdse = $ldap->getRootDse(); $serverType = $rootdse->getServerType(); # Schema Browsing Example #2 Getting hands on the server schema $options = array(/* ... */); $ldap = new Zend_Ldap($options); $schema = $ldap->getSchema(); $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.
Object oriented access to the LDAP tree using Zend_Ldap_Node | Zend_Ldap Programmer's Reference Guide | Serializing LDAP data to and from LDIF