Zend_Ldap-API-Ldap-Node-RootDse.xml 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Reviewed: no -->
  3. <!-- EN-Revision: 24249 -->
  4. <sect3 id="zend.ldap.api.reference.zend-ldap-node-rootdse">
  5. <title>Zend_Ldap_Node_RootDse(日本語)</title>
  6. <para>ベンダー固有のサブクラス全てで下記のメソッドが利用可能です。</para>
  7. <para>
  8. <classname>Zend_Ldap_Node_RootDse</classname> は、
  9. 名前により属性にアクセスするための <methodname>__get()</methodname> 及び <methodname>__isset()</methodname>
  10. マジック・プロパティー・アクセッサを含みます。
  11. それらはそれぞれ、 <methodname>Zend_Ldap_Node_RootDse::getAttribute()</methodname> 及び
  12. <methodname>Zend_Ldap_Node_RootDse::existsAttribute()</methodname> を代理します。
  13. <methodname>__set()</methodname> 及び <methodname>__unset()</methodname> も実装されます。
  14. しかし、 RootDSE ノードで認められない変更次第では
  15. <code>BadMethodCallException</code> をスローします。
  16. さらに、属性に配列のようにアクセスするために
  17. クラスは <code>ArrayAccess</code> を実装します。
  18. <methodname>offsetSet()</methodname> 及び <methodname>offsetUnset()</methodname> も
  19. 明白な理由に起因する <code>BadMethodCallException</code> をスローします。
  20. </para>
  21. <table id="zend.ldap.api.reference.zend-ldap-node-rootdse.table">
  22. <title>Zend_Ldap_Node_RootDse API</title>
  23. <tgroup cols="2">
  24. <thead>
  25. <row>
  26. <entry>メソッド</entry>
  27. <entry>説明</entry>
  28. </row>
  29. </thead>
  30. <tbody>
  31. <row>
  32. <entry><code>Zend_Ldap_Dn getDn()</code></entry>
  33. <entry><classname>Zend_Ldap_Dn</classname> として現行ノードの DN を取得</entry>
  34. </row>
  35. <row>
  36. <entry><code>string getDnString(string $caseFold)</code></entry>
  37. <entry>文字列として現行ノードの DN を取得</entry>
  38. </row>
  39. <row>
  40. <entry><code>array getDnArray(string $caseFold)</code></entry>
  41. <entry>配列として現行ノードの DN を取得</entry>
  42. </row>
  43. <row>
  44. <entry><code>string getRdnString(string $caseFold)</code></entry>
  45. <entry>文字列として現行ノードの <acronym>RDN</acronym> を取得</entry>
  46. </row>
  47. <row>
  48. <entry><code>array getRdnArray(string $caseFold)</code></entry>
  49. <entry>配列として現行ノードの <acronym>RDN</acronym> を取得</entry>
  50. </row>
  51. <row>
  52. <entry><code>array getObjectClass()</code></entry>
  53. <entry>ノードの objectClass を返します</entry>
  54. </row>
  55. <row>
  56. <entry><code>string toString()</code></entry>
  57. <entry>
  58. 現行ノードの DN を返します。
  59. <methodname>Zend_Ldap_Dn::getDnString()</methodname> の代理です
  60. </entry>
  61. </row>
  62. <row>
  63. <entry><code>string __toString()</code></entry>
  64. <entry>
  65. 文字列表現にキャストします。
  66. <methodname>Zend_Ldap_Dn::toString()</methodname> の代理です
  67. </entry>
  68. </row>
  69. <row>
  70. <entry>
  71. <code>array toArray(boolean
  72. $includeSystemAttributes)</code>
  73. </entry>
  74. <entry>
  75. 現行ノードの配列表現を返します。
  76. もし <varname>$includeSystemAttributes</varname> が <constant>FALSE</constant>
  77. (既定値は <constant>TRUE</constant>) なら、システム固有の属性は配列から除去されます。
  78. <methodname>Zend_Ldap_Node_RootDse::getAttributes()</methodname> とは異なり、
  79. 結果の配列には キー <code>'dn'</code> をもつ DN を含みます。
  80. </entry>
  81. </row>
  82. <row>
  83. <entry>
  84. <code>string toJson(boolean
  85. $includeSystemAttributes)</code>
  86. </entry>
  87. <entry>
  88. <methodname>Zend_Ldap_Node_RootDse::toArray()</methodname> を用いて
  89. 現行ノードの <acronym>JSON</acronym> 表現を返します。
  90. </entry>
  91. </row>
  92. <row>
  93. <entry>
  94. <code>array getData(boolean
  95. $includeSystemAttributes)</code>
  96. </entry>
  97. <entry>
  98. ノードの属性を返します。
  99. 配列は属性全てをその内部フォーマットに含みます。(変換無し)
  100. </entry>
  101. </row>
  102. <row>
  103. <entry>
  104. <code>boolean existsAttribute(string $name, boolean
  105. $emptyExists)</code>
  106. </entry>
  107. <entry>
  108. 与えられた属性が存在するかどうかチェックします。
  109. もし <varname>$emptyExists</varname> が <constant>FALSE</constant> なら、
  110. 空の属性 (array() のみを含む) は、
  111. <constant>FALSE</constant> を返す、存在しないものとして扱われます。
  112. もし <varname>$emptyExists</varname> が <constant>TRUE</constant> なら、
  113. 空の属性は <constant>TRUE</constant> を返す、存在するものとして扱われます。
  114. この場合、属性の名前がキーの集合に欠落している場合のみ、
  115. メソッドは <constant>FALSE</constant> を返します。
  116. </entry>
  117. </row>
  118. <row>
  119. <entry>
  120. <code>boolean attributeHasValue(string $name, mixed|array
  121. $value)</code>
  122. </entry>
  123. <entry>
  124. 与えられた値が属性に存在するかチェックします。
  125. <varname>$value</varname> 内の値全てが属性に現れる場合のみ、
  126. メソッドは <constant>TRUE</constant> を返します。
  127. 比較は厳格に行なわれます。(データ型を考慮します)
  128. </entry>
  129. </row>
  130. <row>
  131. <entry><code>integer count()</code></entry>
  132. <entry>
  133. ノードの属性数を返します。 Countable を実装します。
  134. </entry>
  135. </row>
  136. <row>
  137. <entry>
  138. <code>mixed getAttribute(string $name, integer|null
  139. $index)</code>
  140. </entry>
  141. <entry>
  142. <acronym>LDAP</acronym> 属性を取得します。データ変換は
  143. <methodname>Zend_Ldap_Attribute::getAttribute()</methodname> を使って適用されます。
  144. </entry>
  145. </row>
  146. <row>
  147. <entry>
  148. <code>array getAttributes(boolean
  149. $includeSystemAttributes)</code>
  150. </entry>
  151. <entry>
  152. ノードの属性全てを取得します。もし
  153. <varname>$includeSystemAttributes</varname> が <constant>FALSE</constant> なら、
  154. (既定は <constant>TRUE</constant>) システム固有の属性は配列から除去されます。
  155. </entry>
  156. </row>
  157. <row>
  158. <entry>
  159. <code>array|integer getDateTimeAttribute(string $name,
  160. integer|null $index)</code>
  161. </entry>
  162. <entry>
  163. <acronym>LDAP</acronym> の日付/時刻属性を取得します。データ変換は
  164. <methodname>Zend_Ldap_Attribute::getDateTimeAttribute()</methodname> を使って適用されます。
  165. </entry>
  166. </row>
  167. <row>
  168. <entry>
  169. <code>Zend_Ldap_Node_RootDse reload(Zend_Ldap
  170. $ldap)</code>
  171. </entry>
  172. <entry>
  173. 与えられた <acronym>LDAP</acronym> サーバから現行ノードの属性を再読み込みします。
  174. </entry>
  175. </row>
  176. <row>
  177. <entry>
  178. <emphasis><code>Zend_Ldap_Node_RootDse create(Zend_Ldap
  179. $ldap)</code> </emphasis>
  180. </entry>
  181. <entry>RootDSE を生成するファクトリー・メソッド</entry>
  182. </row>
  183. <row>
  184. <entry><code>array getNamingContexts()</code></entry>
  185. <entry>namingContexts を取得</entry>
  186. </row>
  187. <row>
  188. <entry><code>string|null getSubschemaSubentry()</code></entry>
  189. <entry>subschemaSubentry を取得</entry>
  190. </row>
  191. <row>
  192. <entry>
  193. <code>boolean supportsVersion(string|int|array
  194. $versions)</code>
  195. </entry>
  196. <entry>その <acronym>LDAP</acronym> のバージョンがサポートされるかどうか判定します</entry>
  197. </row>
  198. <row>
  199. <entry>
  200. <code>boolean supportsSaslMechanism(string|array
  201. $mechlist)</code>
  202. </entry>
  203. <entry>sasl 機構がサポートされるかどうか判定します</entry>
  204. </row>
  205. <row>
  206. <entry><code>integer getServerType()</code></entry>
  207. <entry>
  208. サーバの種類を取得します。(翻訳者挿入:下記のいずれかを)返します。
  209. <variablelist>
  210. <varlistentry>
  211. <term>
  212. <constant>Zend_Ldap_Node_RootDse::SERVER_TYPE_GENERIC</constant></term>
  213. <listitem><para>未知の <acronym>LDAP</acronym> サーバ用</para></listitem>
  214. </varlistentry>
  215. <varlistentry>
  216. <term>
  217. <constant>Zend_Ldap_Node_RootDse::SERVER_TYPE_OPENLDAP</constant></term>
  218. <listitem><para>OpenLDAP サーバ用</para></listitem>
  219. </varlistentry>
  220. <varlistentry>
  221. <term>
  222. <constant>Zend_Ldap_Node_RootDse::SERVER_TYPE_ACTIVEDIRECTORY</constant></term>
  223. <listitem><para>Microsoft ActiveDirectory サーバ用</para></listitem>
  224. </varlistentry>
  225. <varlistentry>
  226. <term>
  227. <constant>Zend_Ldap_Node_RootDse::SERVER_TYPE_EDIRECTORY</constant></term>
  228. <listitem><para>Novell eDirectory サーバ用</para></listitem>
  229. </varlistentry>
  230. </variablelist>
  231. </entry>
  232. </row>
  233. <row>
  234. <entry><code>Zend_Ldap_Dn getSchemaDn()</code></entry>
  235. <entry>スキーマ DN を返します</entry>
  236. </row>
  237. </tbody>
  238. </tgroup>
  239. </table>
  240. <sect4 id="zend.ldap.api.reference.zend-ldap-node-rootdse.openldap">
  241. <title>OpenLDAP</title>
  242. <para>
  243. さらに、上記の共通メソッドが
  244. <classname>Zend_Ldap_Node_RootDse_OpenLdap</classname> のインスタンスに適用されます。
  245. </para>
  246. <note>
  247. <para>
  248. OpenLDAP RootDSE の属性についての情報は
  249. <ulink url="http://www.zytrax.com/books/ldap/ch3/#operational">LDAP
  250. Operational Attributes and Objects</ulink>
  251. を参照してください。
  252. </para>
  253. </note>
  254. <table id="zend.ldap.api.reference.zend-ldap-node-rootdse.openldap.table">
  255. <title>Zend_Ldap_Node_RootDse_OpenLdap API</title>
  256. <tgroup cols="2">
  257. <thead>
  258. <row>
  259. <entry>メソッド</entry>
  260. <entry>説明</entry>
  261. </row>
  262. </thead>
  263. <tbody>
  264. <row>
  265. <entry><code>integer getServerType()</code></entry>
  266. <entry>
  267. サーバの種類を取得します。
  268. <constant>Zend_Ldap_Node_RootDse::SERVER_TYPE_OPENLDAP</constant>
  269. を返します
  270. </entry>
  271. </row>
  272. <row>
  273. <entry><code>string|null getConfigContext()</code></entry>
  274. <entry>configContext を取得</entry>
  275. </row>
  276. <row>
  277. <entry><code>string|null getMonitorContext()</code></entry>
  278. <entry>monitorContext を取得</entry>
  279. </row>
  280. <row>
  281. <entry>
  282. <code>boolean supportsControl(string|array
  283. $oids)</code>
  284. </entry>
  285. <entry>その制御がサポートされるかどうか判定します</entry>
  286. </row>
  287. <row>
  288. <entry>
  289. <code>boolean supportsExtension(string|array
  290. $oids)</code>
  291. </entry>
  292. <entry>そのエクステンションがサポートされるかどうか判定します</entry>
  293. </row>
  294. <row>
  295. <entry>
  296. <code>boolean supportsFeature(string|array
  297. $oids)</code>
  298. </entry>
  299. <entry>そのフィーチャーがサポートされるかどうか判定します</entry>
  300. </row>
  301. </tbody>
  302. </tgroup>
  303. </table>
  304. </sect4>
  305. <sect4 id="zend.ldap.api.reference.zend-ldap-node-rootdse.activedirectory">
  306. <title>ActiveDirectory</title>
  307. <para>
  308. さらに、上記の共通メソッドが
  309. <classname>Zend_Ldap_Node_RootDse_ActiveDirectory</classname> のインスタンスに適用されます。
  310. </para>
  311. <note>
  312. <para>
  313. Microsoft ActiveDirectory RootDSE の属性についての情報は
  314. <ulink url="http://msdn.microsoft.com/en-us/library/ms684291(VS.85).aspx">
  315. RootDSE</ulink>
  316. を参照してください。
  317. </para>
  318. </note>
  319. <table id="zend.ldap.api.reference.zend-ldap-node-rootdse.activedirectory.table">
  320. <title>Zend_Ldap_Node_RootDse_ActiveDirectory API</title>
  321. <tgroup cols="2">
  322. <thead>
  323. <row>
  324. <entry>メソッド</entry>
  325. <entry>説明</entry>
  326. </row>
  327. </thead>
  328. <tbody>
  329. <row>
  330. <entry><code>integer getServerType()</code></entry>
  331. <entry>
  332. サーバの種類を取得します。
  333. <constant>Zend_Ldap_Node_RootDse::SERVER_TYPE_ACTIVEDIRECTORY</constant>
  334. を返します
  335. </entry>
  336. </row>
  337. <row>
  338. <entry>
  339. <code>string|null
  340. getConfigurationNamingContext()</code>
  341. </entry>
  342. <entry>configurationNamingContext を取得</entry>
  343. </row>
  344. <row>
  345. <entry><code>string|null getCurrentTime()</code></entry>
  346. <entry>currentTime を取得</entry>
  347. </row>
  348. <row>
  349. <entry>
  350. <code>string|null
  351. getDefaultNamingContext()</code>
  352. </entry>
  353. <entry>defaultNamingContext を取得</entry>
  354. </row>
  355. <row>
  356. <entry><code>string|null getDnsHostName()</code></entry>
  357. <entry>dnsHostName を取得</entry>
  358. </row>
  359. <row>
  360. <entry>
  361. <code>string|null
  362. getDomainControllerFunctionality()</code>
  363. </entry>
  364. <entry>domainControllerFunctionality を取得</entry>
  365. </row>
  366. <row>
  367. <entry>
  368. <code>string|null
  369. getDomainFunctionality()</code>
  370. </entry>
  371. <entry>domainFunctionality を取得</entry>
  372. </row>
  373. <row>
  374. <entry><code>string|null getDsServiceName()</code></entry>
  375. <entry>dsServiceName を取得</entry>
  376. </row>
  377. <row>
  378. <entry>
  379. <code>string|null
  380. getForestFunctionality()</code>
  381. </entry>
  382. <entry>forestFunctionality を取得</entry>
  383. </row>
  384. <row>
  385. <entry>
  386. <code>string|null
  387. getHighestCommittedUSN()</code>
  388. </entry>
  389. <entry>highestCommittedUSN を取得</entry>
  390. </row>
  391. <row>
  392. <entry>
  393. <code>string|null
  394. getIsGlobalCatalogReady()</code>
  395. </entry>
  396. <entry>isGlobalCatalogReady を取得</entry>
  397. </row>
  398. <row>
  399. <entry><code>string|null getIsSynchronized()</code></entry>
  400. <entry>isSynchronized を取得</entry>
  401. </row>
  402. <row>
  403. <entry><code>string|null getLdapServiceName()</code></entry>
  404. <entry>ldapServiceName を取得</entry>
  405. </row>
  406. <row>
  407. <entry>
  408. <code>string|null
  409. getRootDomainNamingContext()</code>
  410. </entry>
  411. <entry>rootDomainNamingContext を取得</entry>
  412. </row>
  413. <row>
  414. <entry>
  415. <code>string|null
  416. getSchemaNamingContext()</code>
  417. </entry>
  418. <entry>schemaNamingContext を取得</entry>
  419. </row>
  420. <row>
  421. <entry><code>string|null getServerName()</code></entry>
  422. <entry>serverName を取得</entry>
  423. </row>
  424. <row>
  425. <entry>
  426. <code>boolean supportsCapability(string|array
  427. $oids)</code>
  428. </entry>
  429. <entry>その機能がサポートされるかどうか判定します</entry>
  430. </row>
  431. <row>
  432. <entry>
  433. <code>boolean supportsControl(string|array
  434. $oids)</code>
  435. </entry>
  436. <entry>その制御がサポートされるかどうか判定します</entry>
  437. </row>
  438. <row>
  439. <entry>
  440. <code>boolean supportsPolicy(string|array
  441. $policies)</code>
  442. </entry>
  443. <entry>そのバージョンがサポートされるかどうか判定します</entry>
  444. </row>
  445. </tbody>
  446. </tgroup>
  447. </table>
  448. </sect4>
  449. <sect4 id="zend.ldap.api.reference.zend-ldap-node-rootdse.edirectory">
  450. <title>eDirectory</title>
  451. <para>
  452. さらに、上記の共通メソッドが
  453. <code>Zend_Ldap_Node_RootDse_eDirectory</code> のインスタンスに適用されます。
  454. </para>
  455. <note>
  456. <para>
  457. Novell eDirectory RootDSE の属性についての情報は
  458. <ulink url="http://www.novell.com/documentation/edir88/edir88/index.html?page=/documentation/edir88/edir88/data/ah59jqq.html">
  459. Getting Information about the <acronym>LDAP</acronym> Server</ulink>
  460. を参照してください。
  461. </para>
  462. </note>
  463. <table id="zend.ldap.api.reference.zend-ldap-node-rootdse.edirectory.table">
  464. <title>Zend_Ldap_Node_RootDse_eDirectory API</title>
  465. <tgroup cols="2">
  466. <thead>
  467. <row>
  468. <entry>メソッド</entry>
  469. <entry>説明</entry>
  470. </row>
  471. </thead>
  472. <tbody>
  473. <row>
  474. <entry><code>integer getServerType()</code></entry>
  475. <entry>
  476. サーバの種類を取得します。
  477. <constant>Zend_Ldap_Node_RootDse::SERVER_TYPE_EDIRECTORY</constant>
  478. を返します。
  479. </entry>
  480. </row>
  481. <row>
  482. <entry>
  483. <code>boolean supportsExtension(string|array
  484. $oids)</code>
  485. </entry>
  486. <entry>そのエクステンションがサポートされるかどうか判定します</entry>
  487. </row>
  488. <row>
  489. <entry><code>string|null getVendorName()</code></entry>
  490. <entry>vendorName を取得</entry>
  491. </row>
  492. <row>
  493. <entry><code>string|null getVendorVersion()</code></entry>
  494. <entry>vendorVersion を取得</entry>
  495. </row>
  496. <row>
  497. <entry><code>string|null getDsaName()</code></entry>
  498. <entry>dsaName を取得</entry>
  499. </row>
  500. <row>
  501. <entry><code>string|null getStatisticsErrors()</code></entry>
  502. <entry>サーバ統計 "errors" を取得</entry>
  503. </row>
  504. <row>
  505. <entry>
  506. <code>string|null
  507. getStatisticsSecurityErrors()</code>
  508. </entry>
  509. <entry>サーバ統計 "securityErrors" を取得</entry>
  510. </row>
  511. <row>
  512. <entry>
  513. <code>string|null
  514. getStatisticsChainings()</code>
  515. </entry>
  516. <entry>サーバ統計 "chainings" を取得</entry>
  517. </row>
  518. <row>
  519. <entry>
  520. <code>string|null
  521. getStatisticsReferralsReturned()</code>
  522. </entry>
  523. <entry>サーバ統計 "referralsReturned" を取得</entry>
  524. </row>
  525. <row>
  526. <entry>
  527. <code>string|null
  528. getStatisticsExtendedOps()</code>
  529. </entry>
  530. <entry>サーバ統計 "extendedOps" を取得</entry>
  531. </row>
  532. <row>
  533. <entry>
  534. <code>string|null
  535. getStatisticsAbandonOps()</code>
  536. </entry>
  537. <entry>サーバ統計 "abandonOps" を取得</entry>
  538. </row>
  539. <row>
  540. <entry>
  541. <code>string|null
  542. getStatisticsWholeSubtreeSearchOps()</code>
  543. </entry>
  544. <entry>
  545. サーバ統計 "wholeSubtreeSearchOps" を取得
  546. </entry>
  547. </row>
  548. </tbody>
  549. </tgroup>
  550. </table>
  551. </sect4>
  552. </sect3>