Minor clarifications
[freeradius.git] / man / man5 / rlm_pap.5
1 .\"     # DS - begin display
2 .de DS
3 .RS
4 .nf
5 .sp
6 ..
7 .\"     # DE - end display
8 .de DE
9 .fi
10 .RE
11 .sp
12 ..
13 .TH rlm_pap 5 "8 February 2005" "" "FreeRADIUS Module"
14 .SH NAME
15 rlm_pap \- FreeRADIUS Module
16 .SH DESCRIPTION
17 The \fIrlm_pap\fP module authenticates RADIUS Access-Request packets
18 that contain a User-Password attribute.  The module should also be
19 listed last in the \fIauthorize\fP section, so that it can set the
20 Auth-Type attribute as appropriate.
21 .PP
22 When a RADIUS packet contains a clear-text password in the form of a
23 User-Password attribute, the \fIrlm_pap\fP module may be used for
24 authentication.  The module requires a "known good" password, which it
25 uses to validate the password given in the RADIUS packet.  That "known
26 good" password must be supplied by another module
27 (e.g. \fIrlm_files\fP, \fIrlm_ldap\fP, etc.), and is usually taken
28 from a database.
29 .SH CONFIGURATION
30 .PP
31 The only relevant configuration item is:
32 .IP auto_header
33 If set to "yes", the module will look inside of the User-Password
34 attribute for the headers {crypt}, {clear}, etc., and will
35 automatically create the appropriate attribute, with the correct
36 value.
37 .PP
38 This module understands many kinds of password hashing methods, as
39 given by the following table.
40 .PP
41 .DS
42 .br
43 Header       Attribute          Description
44 .br
45 ------       ---------          -----------
46 .br
47 {clear}      User-Password      clear-text passwords
48 .br
49 {cleartext}  User-Password      clear-text passwords
50 .br
51 {crypt}      Crypt-Password     Unix-style "crypt"ed passwords
52 .br
53 {md5}        MD5-Password       MD5 hashed passwords
54 .br
55 {smd5}       SMD5-Password      MD5 hashed passwords, with a salt
56 .br
57 {sha}        SHA-Password       SHA1 hashed passwords
58 .br
59 {ssha}       SSHA-Password      SHA1 hashed passwords, with a salt
60 .br
61 {nt}         NT-Password        Windows NT hashed passwords
62 .br
63 {x-nthash}   NT-Password        Windows NT hashed passwords
64 .br
65 {lm}         LM-Password        Windows Lan Manager (LM) passwords.
66 .DE
67
68 The module tries to be flexible when handling the various password
69 formats.  It will automatically handle Base-64 encoded data, hex
70 strings, and binary data, and convert them to a format that the server
71 can use.
72 .PP
73 For backwards compatibility, there are old configuration parameters
74 which may be work, although we do not recommend using them.
75 .SH SECTIONS
76 .BR authorize
77 .BR authenticate
78 .PP
79 .SH FILES
80 .I /etc/raddb/radiusd.conf
81 .PP
82 .SH "SEE ALSO"
83 .BR radiusd (8),
84 .BR radiusd.conf (5)
85 .SH AUTHOR
86 Alan DeKok <aland@freeradius.org>
87