svn: /phpdoc/de/trunk/reference/ldap/ book.xml configure.xml constants.xml functions/ldap-connect.xml functions/ldap-modify.xml setup.xml
[email protected] (Christoph Michael Becker)
| Newsgroups | php.doc.de |
|---|---|
| Message-ID | <[email protected]> |
cmb Wed, 31 Jan 2018 14:05:47 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=344136
Log:
Sync with EN
Changed paths:
U phpdoc/de/trunk/reference/ldap/book.xml
U phpdoc/de/trunk/reference/ldap/configure.xml
U phpdoc/de/trunk/reference/ldap/constants.xml
U phpdoc/de/trunk/reference/ldap/functions/ldap-connect.xml
U phpdoc/de/trunk/reference/ldap/functions/ldap-modify.xml
U phpdoc/de/trunk/reference/ldap/setup.xml
svn-diffs-344136.txt
(text/x-diff, 11.2 KB)
Modified: phpdoc/de/trunk/reference/ldap/book.xml
===================================================================
--- phpdoc/de/trunk/reference/ldap/book.xml 2018-01-31 13:40:26 UTC (rev 344135)
+++ phpdoc/de/trunk/reference/ldap/book.xml 2018-01-31 14:05:47 UTC (rev 344136)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 330340 Maintainer: hholzgra Status: ready -->
+<!-- EN-Revision: 338390 Maintainer: hholzgra Status: ready -->
<book xml:id="book.ldap" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<?phpdoc extension-membership="bundledexternal" ?>
@@ -85,6 +85,13 @@
<link xlink:href="&url.ldap.openldap;">OpenLDAP Project</link>
</para>
</listitem>
+ <listitem>
+ <para>
+ Internet Engineering Taskforce RFCs <link
+ xlink:href="&url.rfc;rfc4510">4510</link> bis <link
+ xlink:href="&url.rfc;rfc4519">4519</link>.
+ </para>
+ </listitem>
</itemizedlist>
<para>
Modified: phpdoc/de/trunk/reference/ldap/configure.xml
===================================================================
--- phpdoc/de/trunk/reference/ldap/configure.xml 2018-01-31 13:40:26 UTC (rev 344135)
+++ phpdoc/de/trunk/reference/ldap/configure.xml 2018-01-31 14:05:47 UTC (rev 344136)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: hholzgra Status: ready -->
+<!-- EN-Revision: 341282 Maintainer: hholzgra Status: ready -->
<section xml:id="ldap.installation" xmlns="http://docbook.org/ns/docbook">
&reftitle.install;
<para>
@@ -19,10 +19,6 @@
<filename>libeay32.dll</filename> und
<filename>ssleay32.dll</filename>
</para>
- <simpara>
- Vor PHP 4.3.0 wird zusätzlich <filename>libsasl.dll</filename>
- benötigt.
- </simpara>
</note>
<para>
Wenn Sie die Oracle LDAP Bibliotheken nutzen wollen, müssen Sie sicherstellen,
Modified: phpdoc/de/trunk/reference/ldap/constants.xml
===================================================================
--- phpdoc/de/trunk/reference/ldap/constants.xml 2018-01-31 13:40:26 UTC (rev 344135)
+++ phpdoc/de/trunk/reference/ldap/constants.xml 2018-01-31 14:05:47 UTC (rev 344136)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 343516 Maintainer: hholzgra Status: ready -->
+<!-- EN-Revision: 343579 Maintainer: hholzgra Status: ready -->
<appendix xml:id="ldap.constants" xmlns="http://docbook.org/ns/docbook">
&reftitle.constants;
&extension.constants;
@@ -463,7 +463,7 @@
<varlistentry xml:id="constant.ldap-exop-start-tls">
<term>
<constant>LDAP_EXOP_START_TLS</constant>
- (<type>integer</type>)
+ (<type>string</type>)
</term>
<listitem>
<simpara>
@@ -474,7 +474,7 @@
<varlistentry xml:id="constant.ldap-exop-modify-passwd">
<term>
<constant>LDAP_EXOP_MODIFY_PASSWD</constant>
- (<type>integer</type>)
+ (<type>string</type>)
</term>
<listitem>
<simpara>
@@ -485,7 +485,7 @@
<varlistentry xml:id="constant.ldap-exop-refresh">
<term>
<constant>LDAP_EXOP_REFRESH</constant>
- (<type>integer</type>)
+ (<type>string</type>)
</term>
<listitem>
<simpara>
@@ -496,7 +496,7 @@
<varlistentry xml:id="constant.ldap-exop-who-am-i">
<term>
<constant>LDAP_EXOP_WHO_AM_I</constant>
- (<type>integer</type>)
+ (<type>string</type>)
</term>
<listitem>
<simpara>
@@ -507,7 +507,7 @@
<varlistentry xml:id="constant.ldap-exop-turn">
<term>
<constant>LDAP_EXOP_TURN</constant>
- (<type>integer</type>)
+ (<type>string</type>)
</term>
<listitem>
<simpara>
Modified: phpdoc/de/trunk/reference/ldap/functions/ldap-connect.xml
===================================================================
--- phpdoc/de/trunk/reference/ldap/functions/ldap-connect.xml 2018-01-31 13:40:26 UTC (rev 344135)
+++ phpdoc/de/trunk/reference/ldap/functions/ldap-connect.xml 2018-01-31 14:05:47 UTC (rev 344136)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 334592 Maintainer: simp Status: ready -->
+<!-- EN-Revision: 343795 Maintainer: simp Status: ready -->
<refentry xml:id="function.ldap-connect" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ldap_connect</refname>
@@ -11,14 +11,21 @@
&reftitle.description;
<methodsynopsis>
<type>resource</type><methodname>ldap_connect</methodname>
- <methodparam choice="opt"><type>string</type><parameter>hostname</parameter><initializer>&null;</initializer></methodparam>
+ <methodparam choice="opt"><type>string</type><parameter>host</parameter><initializer>&null;</initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>port</parameter><initializer>389</initializer></methodparam>
</methodsynopsis>
<para>
- Stellt eine Verbindung zu einem LDAP-Server unter einem
- angegebenen <parameter>Hostname</parameter> und
- <parameter>Port</parameter> her.
+ Erzeugt einen LDAP Verbindungskennung und prüft, ob die
+ angegebenen <parameter>host</parameter> und
+ <parameter>port</parameter> plausibel sind.
</para>
+ <note>
+ <simpara>
+ Es ist zu beachten, dass diese Funktion <emphasis>keine</emphasis> Verbindung
+ öffnet. Sie prüft, ob die übergebenen Parameter plausibel sind, und kann
+ verwendet werden, um eine Verbindung zu öffnen sobald eine benötigt wird.
+ </simpara>
+ </note>
</refsect1>
@@ -27,15 +34,22 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>hostname</parameter></term>
+ <term><parameter>host</parameter></term>
<listitem>
<para>
- Bei Verwendung von OpenLDAP 2.x.x kann eine URL statt des
- Hostnamens angegeben werden. Um LDAP mit SSL-Unterstützung zu
- verwenden, kompilieren Sie OpenLDAP mit SSL-Unterstützung,
- PHP mit SSL und verwenden für diesen Parameter
- <literal>ldaps://hostname/</literal>.
+ Dieser Parameter unterstützt einen Hostnamen, oder mit OpenLDAP 2.x.x und
+ später, eine vollständige LDAP-URI der Form
+ <literal>ldap://hostname:port</literal> oder
+ <literal>ldaps://hostname:port</literal> für SSL-Verschlüsselung.
</para>
+ <para>
+ Es können ebenfalls mehrere LDAP-URIs getrennt durch Leerzeichen als eine
+ Zeichenkette übergeben werden.
+ </para>
+ <para>
+ Es ist zu beachten, dass <literal>hostname:port</literal> keine
+ unterstützte LDAP-URI ist, da das Schema fehlt.
+ </para>
</listitem>
</varlistentry>
<varlistentry>
@@ -43,7 +57,7 @@
<listitem>
<para>
Der Port zu dem eine Verbindung aufgebaut werden soll.
- Dies wird bei der Verwendung von URLs nicht benutzt.
+ Dies wird bei der Verwendung von LDAP-URIs nicht benutzt.
</para>
</listitem>
</varlistentry>
@@ -54,8 +68,12 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Gibt eine positive Verbindungs-Kennung im Erfolgsfall oder
- &false; im Fehlerfall zurück. Wenn OpenLDAP 2.x.x verwendet wird,
+ Liefert eine postive LDAP Verbindungskennung zurück, wenn die angegebene
+ Hostname/Port-Kombination oder LDAP-URI plausibel scheint. Es handelt sich um
+ eine Syntaxprüfung der übergebenen Paramter, aber der (oder die) Server
+ werden nicht kontaktiert! Schlägt die Syntaxprüfung fehlt, wird &false;
+ zurückgegeben.
+ Wenn OpenLDAP 2.x.x verwendet wird,
liefert <function>ldap_connect</function> immer eine gültige Resource
mit positiver Verbindungs-Kennung zurück. Die Verbindung zum LDAP-Server
wird noch nicht hergestellt, die Verbindung wird lediglich initialisiert.
Modified: phpdoc/de/trunk/reference/ldap/functions/ldap-modify.xml
===================================================================
--- phpdoc/de/trunk/reference/ldap/functions/ldap-modify.xml 2018-01-31 13:40:26 UTC (rev 344135)
+++ phpdoc/de/trunk/reference/ldap/functions/ldap-modify.xml 2018-01-31 14:05:47 UTC (rev 344136)
@@ -1,81 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: simp Status: ready -->
+<!-- EN-Revision: 343425 Maintainer: simp Status: ready -->
<refentry xml:id="function.ldap-modify" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ldap_modify</refname>
- <refpurpose>Verändern eines LDAP-Eintrags</refpurpose>
+ <refpurpose>&Alias; <function>ldap_mod_replace</function></refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
- <methodsynopsis>
- <type>bool</type><methodname>ldap_modify</methodname>
- <methodparam><type>resource</type><parameter>link_identifier</parameter></methodparam>
- <methodparam><type>string</type><parameter>dn</parameter></methodparam>
- <methodparam><type>array</type><parameter>entry</parameter></methodparam>
- </methodsynopsis>
- <para>
- Die <function>ldap_modify</function> Funktion wird verwendet, um
- bestehende Einträge in einem LDAP-Verzeichnis zu ändern.
- Die Struktur des Eintrags ist die gleiche wie bei
- <function>ldap_add</function>.
- </para>
+ <simpara>
+ &info.function.alias; <function>ldap_mod_replace</function>.
+ </simpara>
</refsect1>
- <refsect1 role="parameters">
- &reftitle.parameters;
- <para>
- <variablelist>
- <varlistentry>
- <term><parameter>link_identifier</parameter></term>
- <listitem>
- <para>
- Eine LDAP-Verbindung, die durch <function>ldap_connect</function>
- zurückgegeben wurde.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><parameter>dn</parameter></term>
- <listitem>
- <para>
- Der Distinguished Name des LDAP-Eintrags.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><parameter>entry</parameter></term>
- <listitem>
- <para>
- </para>
- </listitem>
- </varlistentry>
- </variablelist>
- </para>
- </refsect1>
-
- <refsect1 role="returnvalues">
- &reftitle.returnvalues;
- <para>
- &return.success;
- </para>
- </refsect1>
-
- <refsect1 role="notes">
- &reftitle.notes;
- ¬e.bin-safe;
- </refsect1>
-
- <refsect1 role="seealso">
- &reftitle.seealso;
- <para>
- <simplelist>
- <member><function>ldap_rename</function></member>
- </simplelist>
- </para>
- </refsect1>
-
</refentry>
<!-- Keep this comment at the end of the file
Modified: phpdoc/de/trunk/reference/ldap/setup.xml
===================================================================
--- phpdoc/de/trunk/reference/ldap/setup.xml 2018-01-31 13:40:26 UTC (rev 344135)
+++ phpdoc/de/trunk/reference/ldap/setup.xml 2018-01-31 14:05:47 UTC (rev 344136)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 288721 Maintainer: hholzgra Status: ready -->
+<!-- EN-Revision: 341294 Maintainer: hholzgra Status: ready -->
<chapter xml:id="ldap.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.setup;
@@ -13,6 +13,7 @@
<link xlink:href="&url.ldap.openldap.source;">OpenLDAP</link> oder
<link xlink:href="&url.ldap.bind9;">Bind9.net</link> um PHP
mit LDAP Unterstützung zu kompilieren.
+ Für PHP 5.6 oder neuer wird OpenLDAP 2.4 oder neuer benötigt.
</para>
</section>
<!-- }}} -->