php-doc-en/reference/radius/examples.xml
Philip Olson 309a97e4d0 MFB: Upgrade to the new-reference-structure
- Split reference.xml into book.xml, setup.xml, and examples.xml
- Moved from reference.xml to book.xml:
  - The intro text (partintro), and link to various pages
- Moved from reference.xml to setup.xml:
  - The rest: installation, and added configuration, requirements, and resources
- Moved from reference.xml to examples.xml:
  - The 'howto setup' section
- Changed the constants section to be an <appendix>
- Changed the intro ID from <extname>.intro to intro.<extname>


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@248700 c90b9560-bf6c-de11-be94-00142212c4b1
2007-12-21 23:34:36 +00:00

53 lines
2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 1.2 $ -->
<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:"../../../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
-->