rlm_eap: add eap_chbind.c to build
[freeradius.git] / raddb / modules / smsotp
1 # -*- text -*-
2 #
3 #  $Id$
4
5 #  SMS One-time Password system.
6 #
7 #  This module will extend FreeRadius with a socks interface to create and
8 #  validate One-Time-Passwords. The program for that creates the socket
9 #  and interacts with this module is not included here.
10
11 #  The module does not check the User-Password, this should be done with
12 #  the "pap" module.  See the example below.
13 #
14 #  The module must be used in the "authorize" section to set 
15 #  Auth-Type properly.  The first time through, the module is called
16 #  in the "authenticate" section to authenticate the user password, and
17 #  to send the challenge.  The second time through, it authenticates
18 #  the response to the challenge. e.g.:
19 #
20 #  authorize {
21 #       ...
22 #       smsotp
23 #       ...
24 #  }
25 #
26 #  authenticate {
27 #       ...
28 #       Auth-Type smsotp {
29 #               pap
30 #               smsotp
31 #       }
32 #
33 #       Auth-Type smsotp-reply {
34 #               smsotp
35 #       }
36 #       ...
37 #  }
38 #
39 smsotp {
40         #  The location of the socket.
41         socket = "/var/run/smsotp_socket"
42
43         #  Defines the challenge message that will be send to the
44         #  NAS. Default is "Enter Mobile PIN" }
45         challenge_message = "Enter Mobile PIN:"
46
47         #  Defines the Auth-Type section that is run for the response to
48         #  the challenge. Default is "smsotp-reply".
49         challenge_type = "smsotp-reply"
50 }