1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85
|
<?xml version="1.0" encoding="UTF-8"?>
<!-- Reviewed: no -->
<sect1 id="zend.ldap.server">
<title>Getting information from the LDAP server</title>
<sect2 id="zend.ldap.server.rootdse">
<title>RootDSE</title>
<para>
See the following documents for more information on the attributes contained within
the RootDSE for a given <acronym>LDAP</acronym> server.
</para>
<itemizedlist>
<listitem>
<para>
<ulink url="http://www.zytrax.com/books/ldap/ch3/#operational">OpenLDAP</ulink>
</para>
</listitem>
<listitem>
<para>
<ulink
url="http://msdn.microsoft.com/en-us/library/ms684291(VS.85).aspx">Microsoft
ActiveDirectory</ulink>
</para>
</listitem>
<listitem>
<para>
<ulink
url="http://www.novell.com/documentation/edir88/edir88/index.html?page=/documentation/edir88/edir88/data/ah59jqq.html">Novell
eDirectory</ulink>
</para>
</listitem>
</itemizedlist>
<example id="zend.ldap.server.rootdse.getting">
<title>Getting hands on the RootDSE</title>
<programlisting language="php"><![CDATA[
$options = array(/* ... */);
$ldap = new Zend_Ldap($options);
$rootdse = $ldap->getRootDse();
$serverType = $rootdse->getServerType();
]]></programlisting>
</example>
</sect2>
<sect2 id="zend.ldap.server.schema">
<title>Schema Browsing</title>
<example id="zend.ldap.server.schema.getting">
<title>Getting hands on the server schema</title>
<programlisting language="php"><![CDATA[
$options = array(/* ... */);
$ldap = new Zend_Ldap($options);
$schema = $ldap->getSchema();
$classes = $schema->getObjectClasses();
]]></programlisting>
</example>
<sect3 id="zend.ldap.server.schema.openldap">
<title>OpenLDAP</title>
<para/>
</sect3>
<sect3 id="zend.ldap.server.schema.activedirectory">
<title>ActiveDirectory</title>
<note>
<title>Schema browsing on ActiveDirectory servers</title>
<para>
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 <emphasis>not</emphasis> available for Microsoft
ActiveDirectory servers.
</para>
</note>
</sect3>
</sect2>
</sect1>
|