Zend_Ldap-Server.xml 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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>
  5. <sect2 id="zend.ldap.server.rootdse">
  6. <title>RootDSE</title>
  7. <para>
  8. See the following documents for more information on the attributes contained within
  9. the RootDSE for a given <acronym>LDAP</acronym> server.
  10. </para>
  11. <itemizedlist>
  12. <listitem>
  13. <para>
  14. <ulink url="http://www.zytrax.com/books/ldap/ch3/#operational">OpenLDAP</ulink>
  15. </para>
  16. </listitem>
  17. <listitem>
  18. <para>
  19. <ulink
  20. url="http://msdn.microsoft.com/en-us/library/ms684291(VS.85).aspx">Microsoft
  21. ActiveDirectory</ulink>
  22. </para>
  23. </listitem>
  24. <listitem>
  25. <para>
  26. <ulink
  27. url="http://www.novell.com/documentation/edir88/edir88/index.html?page=/documentation/edir88/edir88/data/ah59jqq.html">Novell
  28. eDirectory</ulink>
  29. </para>
  30. </listitem>
  31. </itemizedlist>
  32. <example id="zend.ldap.server.rootdse.getting">
  33. <title>Getting hands on the RootDSE</title>
  34. <programlisting language="php"><![CDATA[
  35. $options = array(/* ... */);
  36. $ldap = new Zend_Ldap($options);
  37. $rootdse = $ldap->getRootDse();
  38. $serverType = $rootdse->getServerType();
  39. ]]></programlisting>
  40. </example>
  41. </sect2>
  42. <sect2 id="zend.ldap.server.schema">
  43. <title>Schema Browsing</title>
  44. <example id="zend.ldap.server.schema.getting">
  45. <title>Getting hands on the server schema</title>
  46. <programlisting language="php"><![CDATA[
  47. $options = array(/* ... */);
  48. $ldap = new Zend_Ldap($options);
  49. $schema = $ldap->getSchema();
  50. $classes = $schema->getObjectClasses();
  51. ]]></programlisting>
  52. </example>
  53. <sect3 id="zend.ldap.server.schema.openldap">
  54. <title>OpenLDAP</title>
  55. <para/>
  56. </sect3>
  57. <sect3 id="zend.ldap.server.schema.activedirectory">
  58. <title>ActiveDirectory</title>
  59. <note>
  60. <title>Schema browsing on ActiveDirectory servers</title>
  61. <para>
  62. Due to restrictions on Microsoft ActiveDirectory servers regarding
  63. the number of entries returned by generic search routines and due to
  64. the structure of the ActiveDirectory schema repository, schema browsing
  65. is currently <emphasis>not</emphasis> available for Microsoft
  66. ActiveDirectory servers.
  67. </para>
  68. </note>
  69. </sect3>
  70. </sect2>
  71. </sect1>