<?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
-->