From bec1164dca70e4ebef54ef08c0da5e844f883ab2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AD=A6=E7=94=B0=20=E6=86=B2=E5=A4=AA=E9=83=8E?= Date: Tue, 13 Oct 2026 23:18:21 +0900 Subject: [PATCH] =?UTF-8?q?ldap=20=E3=82=92=E5=8E=9F=E6=96=87=E3=81=AE?= =?UTF-8?q?=E5=A4=89=E6=9B=B4=E3=81=AB=E8=BF=BD=E5=BE=93=20(5=E3=83=95?= =?UTF-8?q?=E3=82=A1=E3=82=A4=E3=83=AB)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- reference/ldap/functions/ldap-exop-sync.xml | 8 ++++---- reference/ldap/functions/ldap-get-values.xml | 17 +++++++++-------- reference/ldap/functions/ldap-mod-del.xml | 11 ++++++++--- reference/ldap/functions/ldap-next-entry.xml | 4 ++-- reference/ldap/functions/ldap-parse-result.xml | 17 +++++++++++++---- 5 files changed, 36 insertions(+), 21 deletions(-) diff --git a/reference/ldap/functions/ldap-exop-sync.xml b/reference/ldap/functions/ldap-exop-sync.xml index b747ea445a..ceed5006ac 100644 --- a/reference/ldap/functions/ldap-exop-sync.xml +++ b/reference/ldap/functions/ldap-exop-sync.xml @@ -1,6 +1,6 @@ - + ldap_exop_sync @@ -91,9 +91,9 @@ &reftitle.returnvalues; - response_data を指定した場合、成功時に &true; を返し、エラー時に &false; を返します。 - response_data を指定しなかった場合、結果識別子を返し、 - エラー時に &false; を返します。 + 成功時に &true; を返し、エラー時に &false; を返します。 + この操作は常に同期的に実行されるため、 + 結果オブジェクトは返されません。 diff --git a/reference/ldap/functions/ldap-get-values.xml b/reference/ldap/functions/ldap-get-values.xml index d728f2f6d4..a9c326c018 100644 --- a/reference/ldap/functions/ldap-get-values.xml +++ b/reference/ldap/functions/ldap-get-values.xml @@ -1,6 +1,6 @@ - + @@ -55,8 +55,9 @@ attribute - - + + 属性の名前 (たとえば "cn")。 + @@ -138,11 +139,11 @@ for ($i=0; $i < $values["count"]; $i++) { &reftitle.seealso; - - - ldap_get_values_len - - + + ldap_get_values_len + ldap_get_attributes + ldap_first_attribute + diff --git a/reference/ldap/functions/ldap-mod-del.xml b/reference/ldap/functions/ldap-mod-del.xml index edd07bf716..ba9bf9cabb 100644 --- a/reference/ldap/functions/ldap-mod-del.xml +++ b/reference/ldap/functions/ldap-mod-del.xml @@ -1,6 +1,6 @@ - + @@ -47,8 +47,13 @@ entry - - + + 変更する属性を一覧にした連想配列。 + キーは属性名、値はその属性から削除する単一の値または値の配列です。 + 値として空の配列を送ると、属性そのものが削除されます。 + エントリが持っていない値や属性を削除しようとすると失敗します。 + 連想配列自体が空の場合は、ValueError がスローされます。 + diff --git a/reference/ldap/functions/ldap-next-entry.xml b/reference/ldap/functions/ldap-next-entry.xml index 2a171a7144..5c6e505d5b 100644 --- a/reference/ldap/functions/ldap-next-entry.xml +++ b/reference/ldap/functions/ldap-next-entry.xml @@ -1,6 +1,6 @@ - + ldap_next_entry @@ -73,7 +73,7 @@ &ldap.changelog.ldap-object; &ldap.changelog.entry-object; - &ldap.changelog.return-result-object; + &ldap.changelog.return-result-entry-object; diff --git a/reference/ldap/functions/ldap-parse-result.xml b/reference/ldap/functions/ldap-parse-result.xml index 2e133e7f2c..9504a240df 100644 --- a/reference/ldap/functions/ldap-parse-result.xml +++ b/reference/ldap/functions/ldap-parse-result.xml @@ -1,6 +1,6 @@ - + @@ -57,10 +57,10 @@ matched_dn - + リクエスト内にマッチする DN があった場合に、それを格納する変数への参照。 - なかった場合は、この変数に &null; を格納します。 - + なかった場合は、この変数に空文字列を格納します。 + @@ -146,6 +146,15 @@ if (ldap_parse_result($ldap, $result, $errcode, $dn, $errmsg, $refs)) { + + &reftitle.seealso; + + ldap_err2str + ldap_error + ldap_parse_exop + + +