cvs: peardoc /peardoc2/en/package/authentication/auth intro-storage.xml
| From: | Michael Bretterklieber | Date: | Tue, 04 Feb 2003 19:54:43 +0000 |
| Subject: | cvs: peardoc /peardoc2/en/package/authentication/auth intro-storage.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-366@lists.php.net to get a copy of this message | ||
mbretter Tue Feb 4 14:54:43 2003 EDT
Modified files:
/peardoc/peardoc2/en/package/authentication/auth intro-storage.xml
Log:
Docu for container RADIUS.
Index: peardoc/peardoc2/en/package/authentication/auth/intro-storage.xml
diff -u peardoc/peardoc2/en/package/authentication/auth/intro-storage.xml:1.3
peardoc/peardoc2/en/package/authentication/auth/intro-storage.xml:1.4
--- peardoc/peardoc2/en/package/authentication/auth/intro-storage.xml:1.3 Sun Nov 3 12:30:10 2002
+++ peardoc/peardoc2/en/package/authentication/auth/intro-storage.xml Tue Feb 4 14:54:43 2003
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<refentry id="package.authentication.auth.intro-storage">
<refnamediv>
<refname>Introduction</refname>
@@ -152,7 +152,70 @@
</tgroup>
</table>
</para>
- </refsect1>
+ </refsect1>
+
+ <refsect1 id="package.authentication.auth.intro-storage.radius">
+ <title>RADIUS</title>
+ <para>
+ You need Auth_RADIUS and the PECL radius in order to get this container to work.
+ </para>
+ <para>
+ The storage-specific argument for the
+ <link linkend="package.authentication.auth.auth">
+ <function>Auth constructor</function></link>
+ is an array.
+ <table>
+ <title>Array keys and values</title>
+ <tgroup cols="3">
+ <thead>
+ <row>
+ <entry>Key</entry>
+ <entry>Description</entry>
+ <entry>Default value</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry><quote>servers</quote></entry>
+ <entry>
+ array of RADIUS servers, containing: host, port, shared secret, timeout, maxtries.
+ <para>
+ The host parameter specifies the server host, either as a fully qualified domain name or
as a dotted-quad IP address
+ in text form. The port parameter specifies the UDP port to contact on the server. If
port is given as 0, the library
+ looks up the radius/udp entry in the network services database, and uses the port found
there.
+ If no entry is found, the library uses the standard RADIUS port for authentication
(1812). The
+ shared secret for the server host is passed to the secret parameter. The RADIUS protocol
ignores all but the leading
+ 128 bytes of the shared secret. The timeout for receiving replies from the server is
passed to the timeout parameter,
+ in units of seconds. The maximum number of repeated requests to make before giving up is
passed into the maxtries
+ parameter.
+ </para>
+ <para>
+ At most 10 servers may be specified. When multiple servers are given, they are tried in
round-robin fashion until
+ a valid response is received, or until each server's maxtries limit has been
reached.
+ </para>
+ </entry>
+ <entry>
+ array(<quote>localhost</quote>, 0, <quote>testing123</quote>, 3,
3)
+ </entry>
+ </row>
+ <row>
+ <entry>authtype</entry>
+ <entry>
+ the authentication method for validating the request. Possible values are: PAP, CHAP_MD5,
MSCHAPv1, MSCHAPv2.
+ <para>
+ There are dependencies for the different methods. For all authentication methods
+ except PAP you need the Crypt_CHAP package, when you are using MS-CHAP you need also
the mhash extension.
+ </para>
+ </entry>
+ <entry>
+ <quote>PAP</quote>
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ </para>
+ </refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables: