1 <?xml version="1.0" encoding="UTF-8"?>
3 <sect1 id="zend.ldap.server">
4 <title>Getting information from the LDAP server</title>
6 <sect2 id="zend.ldap.server.rootdse">
10 See the following documents for more information on the attributes contained within
11 the RootDSE for a given <acronym>LDAP</acronym> server.
17 <ulink url="http://www.zytrax.com/books/ldap/ch3/#operational">OpenLDAP</ulink>
24 url="http://msdn.microsoft.com/en-us/library/ms684291(VS.85).aspx">Microsoft
25 ActiveDirectory</ulink>
32 url="http://www.novell.com/documentation/edir88/edir88/index.html?page=/documentation/edir88/edir88/data/ah59jqq.html">Novell
38 <example id="zend.ldap.server.rootdse.getting">
39 <title>Getting hands on the RootDSE</title>
41 <programlisting language="php"><![CDATA[
42 $options = array(/* ... */);
43 $ldap = new Zend_Ldap($options);
44 $rootdse = $ldap->getRootDse();
45 $serverType = $rootdse->getServerType();
50 <sect2 id="zend.ldap.server.schema">
51 <title>Schema Browsing</title>
53 <example id="zend.ldap.server.schema.getting">
54 <title>Getting hands on the server schema</title>
56 <programlisting language="php"><![CDATA[
57 $options = array(/* ... */);
58 $ldap = new Zend_Ldap($options);
59 $schema = $ldap->getSchema();
60 $classes = $schema->getObjectClasses();
64 <sect3 id="zend.ldap.server.schema.openldap">
65 <title>OpenLDAP</title>
69 <sect3 id="zend.ldap.server.schema.activedirectory">
70 <title>ActiveDirectory</title>
73 <title>Schema browsing on ActiveDirectory servers</title>
76 Due to restrictions on Microsoft ActiveDirectory servers regarding
77 the number of entries returned by generic search routines and due to
78 the structure of the ActiveDirectory schema repository, schema browsing
79 is currently <emphasis>not</emphasis> available for Microsoft
80 ActiveDirectory servers.