Zend_Ldap_Nodeを使用してLDAPツリーへのオブジェクト指向アクセス

LDAPサーバから情報を取得

ルートDSE

与えられたLDAPサーバのためのルートDSEに含まれる属性についての 詳細は以下の文書をご覧下さい。

Example #1 ルートDSEを手に入れる

  1. $options = array(/* ... */);
  2. $ldap = new Zend_Ldap($options);
  3. $rootdse = $ldap->getRootDse();
  4. $serverType = $rootdse->getServerType();

参照するスキーマ

Example #2 サーバ・スキーマを手に入れる

  1. $options = array(/* ... */);
  2. $ldap = new Zend_Ldap($options);
  3. $schema = $ldap->getSchema();
  4. $classes = $schema->getObjectClasses();

OpenLDAP

ActiveDirectory

Note: ActiveDirectoryサーバで参照するスキーマ
包括的探索ルーチンによって返される項目の数に関する Microsoft ActiveDirectoryサーバに対する制限のために、 そして、ActiveDirectoryスキーマ・リポジトリの構造のために、 Microsoft ActiveDirectoryサーバでは、参照するスキーマは現在利用できません


Zend_Ldap_Nodeを使用してLDAPツリーへのオブジェクト指向アクセス