[GENERIC] Zend_Translate:
[zend.git] / documentation / manual / en / module_specs / Zend_Ldap-Server.xml
blob27326a6fc9d31a8d5a518a63928b0d1108001e2b
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Reviewed: no -->
3 <sect1 id="zend.ldap.server">
4     <title>Getting information from the LDAP server</title>
6     <sect2 id="zend.ldap.server.rootdse">
7         <title>RootDSE</title>
9         <para>
10             See the following documents for more information on the attributes contained within
11             the RootDSE for a given <acronym>LDAP</acronym> server.
12         </para>
14         <itemizedlist>
15             <listitem>
16                 <para>
17                     <ulink url="http://www.zytrax.com/books/ldap/ch3/#operational">OpenLDAP</ulink>
18                 </para>
19             </listitem>
21             <listitem>
22                 <para>
23                     <ulink
24                         url="http://msdn.microsoft.com/en-us/library/ms684291(VS.85).aspx">Microsoft
25                         ActiveDirectory</ulink>
26                 </para>
27             </listitem>
29             <listitem>
30                 <para>
31                     <ulink
32                         url="http://www.novell.com/documentation/edir88/edir88/index.html?page=/documentation/edir88/edir88/data/ah59jqq.html">Novell
33                         eDirectory</ulink>
34                 </para>
35             </listitem>
36         </itemizedlist>
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();
46 ]]></programlisting>
47         </example>
48     </sect2>
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();
61 ]]></programlisting>
62         </example>
64         <sect3 id="zend.ldap.server.schema.openldap">
65             <title>OpenLDAP</title>
66             <para/>
67         </sect3>
69         <sect3 id="zend.ldap.server.schema.activedirectory">
70             <title>ActiveDirectory</title>
72             <note>
73                 <title>Schema browsing on ActiveDirectory servers</title>
75                 <para>
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.
81                 </para>
82             </note>
83         </sect3>
84     </sect2>
85 </sect1>