Zend_Ldap-Server.xml 2.8 KB

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