| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,205 @@ |
| 1 |
+# |
|
| 2 |
+# Please read the documentation file ../doc/processing_users_file, |
|
| 3 |
+# or 'man 5 users' (after installing the server) for more information. |
|
| 4 |
+# |
|
| 5 |
+# This file contains authentication security and configuration |
|
| 6 |
+# information for each user. Accounting requests are NOT processed |
|
| 7 |
+# through this file. Instead, see 'acct_users', in this directory. |
|
| 8 |
+# |
|
| 9 |
+# The first field is the user's name and can be up to |
|
| 10 |
+# 253 characters in length. This is followed (on the same line) with |
|
| 11 |
+# the list of authentication requirements for that user. This can |
|
| 12 |
+# include password, comm server name, comm server port number, protocol |
|
| 13 |
+# type (perhaps set by the "hints" file), and huntgroup name (set by |
|
| 14 |
+# the "huntgroups" file). |
|
| 15 |
+# |
|
| 16 |
+# If you are not sure why a particular reply is being sent by the |
|
| 17 |
+# server, then run the server in debugging mode (radiusd -X), and |
|
| 18 |
+# you will see which entries in this file are matched. |
|
| 19 |
+# |
|
| 20 |
+# When an authentication request is received from the comm server, |
|
| 21 |
+# these values are tested. Only the first match is used unless the |
|
| 22 |
+# "Fall-Through" variable is set to "Yes". |
|
| 23 |
+# |
|
| 24 |
+# A special user named "DEFAULT" matches on all usernames. |
|
| 25 |
+# You can have several DEFAULT entries. All entries are processed |
|
| 26 |
+# in the order they appear in this file. The first entry that |
|
| 27 |
+# matches the login-request will stop processing unless you use |
|
| 28 |
+# the Fall-Through variable. |
|
| 29 |
+# |
|
| 30 |
+# If you use the database support to turn this file into a .db or .dbm |
|
| 31 |
+# file, the DEFAULT entries _have_ to be at the end of this file and |
|
| 32 |
+# you can't have multiple entries for one username. |
|
| 33 |
+# |
|
| 34 |
+# Indented (with the tab character) lines following the first |
|
| 35 |
+# line indicate the configuration values to be passed back to |
|
| 36 |
+# the comm server to allow the initiation of a user session. |
|
| 37 |
+# This can include things like the PPP configuration values |
|
| 38 |
+# or the host to log the user onto. |
|
| 39 |
+# |
|
| 40 |
+# You can include another `users' file with `$INCLUDE users.other' |
|
| 41 |
+# |
|
| 42 |
+ |
|
| 43 |
+# |
|
| 44 |
+# For a list of RADIUS attributes, and links to their definitions, |
|
| 45 |
+# see: |
|
| 46 |
+# |
|
| 47 |
+# http://www.freeradius.org/rfc/attributes.html |
|
| 48 |
+# |
|
| 49 |
+ |
|
| 50 |
+# |
|
| 51 |
+# Deny access for a specific user. Note that this entry MUST |
|
| 52 |
+# be before any other 'Auth-Type' attribute which results in the user |
|
| 53 |
+# being authenticated. |
|
| 54 |
+# |
|
| 55 |
+# Note that there is NO 'Fall-Through' attribute, so the user will not |
|
| 56 |
+# be given any additional resources. |
|
| 57 |
+# |
|
| 58 |
+#lameuser Auth-Type := Reject |
|
| 59 |
+# Reply-Message = "Your account has been disabled." |
|
| 60 |
+ |
|
| 61 |
+# |
|
| 62 |
+# Deny access for a group of users. |
|
| 63 |
+# |
|
| 64 |
+# Note that there is NO 'Fall-Through' attribute, so the user will not |
|
| 65 |
+# be given any additional resources. |
|
| 66 |
+# |
|
| 67 |
+#DEFAULT Group == "disabled", Auth-Type := Reject |
|
| 68 |
+# Reply-Message = "Your account has been disabled." |
|
| 69 |
+# |
|
| 70 |
+ |
|
| 71 |
+DEFAULT Auth-Type = "LDAP" |
|
| 72 |
+ |
|
| 73 |
+# |
|
| 74 |
+# This is a complete entry for "steve". Note that there is no Fall-Through |
|
| 75 |
+# entry so that no DEFAULT entry will be used, and the user will NOT |
|
| 76 |
+# get any attributes in addition to the ones listed here. |
|
| 77 |
+# |
|
| 78 |
+#steve Cleartext-Password := "testing" |
|
| 79 |
+# Service-Type = Framed-User, |
|
| 80 |
+# Framed-Protocol = PPP, |
|
| 81 |
+# Framed-IP-Address = 172.16.3.33, |
|
| 82 |
+# Framed-IP-Netmask = 255.255.255.0, |
|
| 83 |
+# Framed-Routing = Broadcast-Listen, |
|
| 84 |
+# Framed-Filter-Id = "std.ppp", |
|
| 85 |
+# Framed-MTU = 1500, |
|
| 86 |
+# Framed-Compression = Van-Jacobsen-TCP-IP |
|
| 87 |
+ |
|
| 88 |
+# |
|
| 89 |
+# This is an entry for a user with a space in their name. |
|
| 90 |
+# Note the double quotes surrounding the name. |
|
| 91 |
+# |
|
| 92 |
+#"John Doe" Cleartext-Password := "hello" |
|
| 93 |
+# Reply-Message = "Hello, %{User-Name}"
|
|
| 94 |
+ |
|
| 95 |
+# |
|
| 96 |
+# Dial user back and telnet to the default host for that port |
|
| 97 |
+# |
|
| 98 |
+#Deg Cleartext-Password := "ge55ged" |
|
| 99 |
+# Service-Type = Callback-Login-User, |
|
| 100 |
+# Login-IP-Host = 0.0.0.0, |
|
| 101 |
+# Callback-Number = "9,5551212", |
|
| 102 |
+# Login-Service = Telnet, |
|
| 103 |
+# Login-TCP-Port = Telnet |
|
| 104 |
+ |
|
| 105 |
+# |
|
| 106 |
+# Another complete entry. After the user "dialbk" has logged in, the |
|
| 107 |
+# connection will be broken and the user will be dialed back after which |
|
| 108 |
+# he will get a connection to the host "timeshare1". |
|
| 109 |
+# |
|
| 110 |
+#dialbk Cleartext-Password := "callme" |
|
| 111 |
+# Service-Type = Callback-Login-User, |
|
| 112 |
+# Login-IP-Host = timeshare1, |
|
| 113 |
+# Login-Service = PortMaster, |
|
| 114 |
+# Callback-Number = "9,1-800-555-1212" |
|
| 115 |
+ |
|
| 116 |
+# |
|
| 117 |
+# user "swilson" will only get a static IP number if he logs in with |
|
| 118 |
+# a framed protocol on a terminal server in Alphen (see the huntgroups file). |
|
| 119 |
+# |
|
| 120 |
+# Note that by setting "Fall-Through", other attributes will be added from |
|
| 121 |
+# the following DEFAULT entries |
|
| 122 |
+# |
|
| 123 |
+#swilson Service-Type == Framed-User, Huntgroup-Name == "alphen" |
|
| 124 |
+# Framed-IP-Address = 192.168.1.65, |
|
| 125 |
+# Fall-Through = Yes |
|
| 126 |
+ |
|
| 127 |
+# |
|
| 128 |
+# If the user logs in as 'username.shell', then authenticate them |
|
| 129 |
+# using the default method, give them shell access, and stop processing |
|
| 130 |
+# the rest of the file. |
|
| 131 |
+# |
|
| 132 |
+#DEFAULT Suffix == ".shell" |
|
| 133 |
+# Service-Type = Login-User, |
|
| 134 |
+# Login-Service = Telnet, |
|
| 135 |
+# Login-IP-Host = your.shell.machine |
|
| 136 |
+ |
|
| 137 |
+ |
|
| 138 |
+# |
|
| 139 |
+# The rest of this file contains the several DEFAULT entries. |
|
| 140 |
+# DEFAULT entries match with all login names. |
|
| 141 |
+# Note that DEFAULT entries can also Fall-Through (see first entry). |
|
| 142 |
+# A name-value pair from a DEFAULT entry will _NEVER_ override |
|
| 143 |
+# an already existing name-value pair. |
|
| 144 |
+# |
|
| 145 |
+ |
|
| 146 |
+# |
|
| 147 |
+# Set up different IP address pools for the terminal servers. |
|
| 148 |
+# Note that the "+" behind the IP address means that this is the "base" |
|
| 149 |
+# IP address. The Port-Id (S0, S1 etc) will be added to it. |
|
| 150 |
+# |
|
| 151 |
+#DEFAULT Service-Type == Framed-User, Huntgroup-Name == "alphen" |
|
| 152 |
+# Framed-IP-Address = 192.168.1.32+, |
|
| 153 |
+# Fall-Through = Yes |
|
| 154 |
+ |
|
| 155 |
+#DEFAULT Service-Type == Framed-User, Huntgroup-Name == "delft" |
|
| 156 |
+# Framed-IP-Address = 192.168.2.32+, |
|
| 157 |
+# Fall-Through = Yes |
|
| 158 |
+ |
|
| 159 |
+# |
|
| 160 |
+# Sample defaults for all framed connections. |
|
| 161 |
+# |
|
| 162 |
+#DEFAULT Service-Type == Framed-User |
|
| 163 |
+# Framed-IP-Address = 255.255.255.254, |
|
| 164 |
+# Framed-MTU = 576, |
|
| 165 |
+# Service-Type = Framed-User, |
|
| 166 |
+# Fall-Through = Yes |
|
| 167 |
+ |
|
| 168 |
+# |
|
| 169 |
+# Default for PPP: dynamic IP address, PPP mode, VJ-compression. |
|
| 170 |
+# NOTE: we do not use Hint = "PPP", since PPP might also be auto-detected |
|
| 171 |
+# by the terminal server in which case there may not be a "P" suffix. |
|
| 172 |
+# The terminal server sends "Framed-Protocol = PPP" for auto PPP. |
|
| 173 |
+# |
|
| 174 |
+DEFAULT Framed-Protocol == PPP |
|
| 175 |
+ Framed-Protocol = PPP, |
|
| 176 |
+ Framed-Compression = Van-Jacobson-TCP-IP |
|
| 177 |
+ |
|
| 178 |
+# |
|
| 179 |
+# Default for CSLIP: dynamic IP address, SLIP mode, VJ-compression. |
|
| 180 |
+# |
|
| 181 |
+DEFAULT Hint == "CSLIP" |
|
| 182 |
+ Framed-Protocol = SLIP, |
|
| 183 |
+ Framed-Compression = Van-Jacobson-TCP-IP |
|
| 184 |
+ |
|
| 185 |
+# |
|
| 186 |
+# Default for SLIP: dynamic IP address, SLIP mode. |
|
| 187 |
+# |
|
| 188 |
+DEFAULT Hint == "SLIP" |
|
| 189 |
+ Framed-Protocol = SLIP |
|
| 190 |
+ |
|
| 191 |
+# |
|
| 192 |
+# Last default: rlogin to our main server. |
|
| 193 |
+# |
|
| 194 |
+#DEFAULT |
|
| 195 |
+# Service-Type = Login-User, |
|
| 196 |
+# Login-Service = Rlogin, |
|
| 197 |
+# Login-IP-Host = shellbox.ispdomain.com |
|
| 198 |
+ |
|
| 199 |
+# # |
|
| 200 |
+# # Last default: shell on the local terminal server. |
|
| 201 |
+# # |
|
| 202 |
+# DEFAULT |
|
| 203 |
+# Service-Type = Administrative-User |
|
| 204 |
+ |
|
| 205 |
+# On no match, the user is denied access. |