Add mods-available/enabled
[freeradius.git] / raddb / mods-available / logintime
1 # -*- text -*-
2 #
3 #  $Id$
4
5 # The logintime module. This handles the Login-Time,
6 # Current-Time, and Time-Of-Day attributes.  It should be
7 # included in the *end* of the authorize section in order to
8 # handle Login-Time checks. It should also be included in the
9 # instantiate section in order to register the Current-Time
10 # and Time-Of-Day comparison functions.
11 #
12 # When the Login-Time attribute is set to some value, and the
13 # user has bene permitted to log in, a Session-Timeout is
14 # calculated based on the remaining time.  See "doc/README".
15 #
16 logintime {
17         #
18         # The Reply-Message which will be sent back in case
19         # the account is calling outside of the allowed
20         # timespan. Dynamic substitution is supported.
21         #
22         reply-message = "You are calling outside your allowed timespan\r\n"
23         #reply-message = "Outside allowed timespan (%{control:Login-Time}), %{User-Name}\r\n"
24
25         # The minimum timeout (in seconds) a user is allowed
26         # to have. If the calculated timeout is lower we don't
27         # allow the logon. Some NASes do not handle values
28         # lower than 60 seconds well.
29         minimum-timeout = 60
30 }
31