php-doc-en/reference/radius/examples.xml
Torben Wilson af4410a7e1 Normalized the sgml-default-dtd-file local-variable line for those
still using this, after discussion on the phpdoc list.
From now on, manual.ced will need to be found at ~/.phpdoc/manual.ced.



git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288721 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-25 07:04:39 +00:00

53 lines
2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<chapter xml:id="radius.examples" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.examples;
<!-- FIXME: Copy&paste the examples from this "package" -->
<para>
Howto start?
<itemizedlist>
<listitem><simpara>get a radius resource</simpara></listitem>
<listitem><simpara>configure the library</simpara></listitem>
<listitem><simpara>create the request</simpara></listitem>
<listitem><simpara>put attributes</simpara></listitem>
<listitem><simpara>send the request</simpara></listitem>
<listitem><simpara>receive attributes</simpara></listitem>
<listitem><simpara>close the radius resource (optional)</simpara></listitem>
</itemizedlist>
Take also a look at the examples in this package.
</para>
<para>
The package contains an example php script. This script demonstrates howto
authenticate with radius using PAP or CHAP (md5). If you authenticate with
Microsoft Radius servers then its not possible to use CHAP (md5). If you
would like to authenticate with Microsoft Servers you have to use
MS-CHAPv1 or MS-CHAPv2, but its more complicated, because you need md4,
sha1 and des to generate the right data. The enclosed examples demonstrate
all authentication-methods, including MS-CHAPv1 and MS-CHAPv2. To get the
MS-CHAP to work you need the <link linkend="ref.mcrypt">mcrypt</link> and
the <link linkend="ref.mhash">mhash</link> extension, starting with
version 1.2 of the package, the mcrypt extension is no longer needed.
</para>
</chapter>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->