forked from php/doc-ja
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexamples.xml
56 lines (53 loc) · 2.51 KB
/
examples.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: af4410a7e15898c3dbe83d6ea38246745ed9c6fb Maintainer: takagi Status: ready -->
<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>
どのように使用するの?
<itemizedlist>
<listitem><simpara>radius リソースを取得する</simpara></listitem>
<listitem><simpara>ライブラリを設定する</simpara></listitem>
<listitem><simpara>リクエストを作成する</simpara></listitem>
<listitem><simpara>属性を設定する</simpara></listitem>
<listitem><simpara>リクエストを送信する</simpara></listitem>
<listitem><simpara>属性を受け取る</simpara></listitem>
<listitem><simpara>radius リソースを閉じる (オプション)</simpara></listitem>
</itemizedlist>
パッケージに含まれている例もごらんください。
</para>
<para>
このパッケージにはサンプル PHP スクリプトが含まれています。
このスクリプトでは、PAP あるいは CHAP (md5) を使用した radius 認証の
方法を説明しています。Microsoft Radius サーバーを使用して認証を行う
場合は、CHAP (md5) を使用することはできません。Microsoft のサーバーを
使用する場合は、MS-CHAPv1 あるいは MS-CHAPv2 を使用する必要があります。
しかし、正しいデータを生成するために md4、sha1 および des が必要となる
こともあり、これは複雑な手順となります。同梱されている例では
すべての認証方式を説明しており、そこには MS-CHAPv1 および MS-CHAPv2
も含まれています。MS-CHAP を動作させるためには、拡張モジュール
<link linkend="ref.mcrypt">mcrypt</link> および
<link linkend="ref.mhash">mhash</link> が必要となります。
バージョン 1.2 以降では、mcrypt 拡張モジュールは必要なくなりました。
</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
-->