1 |
diff -ruN e-smith-radiusd-2.4.0.ng/createlinks e-smith-radiusd-2.4.0/createlinks |
2 |
--- e-smith-radiusd-2.4.0.ng/createlinks 2013-02-13 16:00:55.000000000 -0700 |
3 |
+++ e-smith-radiusd-2.4.0/createlinks 2013-02-14 09:49:31.374321064 -0700 |
4 |
@@ -25,9 +25,7 @@ |
5 |
raddb/clients.conf |
6 |
raddb/eap.conf |
7 |
raddb/proxy.conf |
8 |
- radiusclient/servers |
9 |
- radiusclient/dictionary |
10 |
- radiusclient/dictionary.microsoft)) |
11 |
+ radiusclient-ng/servers)) |
12 |
{ |
13 |
templates2events("/etc/$_", qw( |
14 |
bootstrap-console-save |
15 |
@@ -38,6 +36,19 @@ |
16 |
)); |
17 |
} |
18 |
|
19 |
+foreach (qw( |
20 |
+ radiusclient-ng/dictionary |
21 |
+ radiusclient-ng/dictionary.microsoft)) |
22 |
+{ |
23 |
+ templates2events("/usr/share/$_", qw( |
24 |
+ bootstrap-console-save |
25 |
+ console-save |
26 |
+ domain-modify |
27 |
+ remoteaccess-update |
28 |
+ ldap-update |
29 |
+ )); |
30 |
+} |
31 |
+ |
32 |
foreach $event ( qw( |
33 |
console-save |
34 |
domain-modify |
35 |
diff -ruN e-smith-radiusd-2.4.0.ng/root/etc/e-smith/templates/etc/radiusclient/dictionary e-smith-radiusd-2.4.0/root/etc/e-smith/templates/etc/radiusclient/dictionary |
36 |
--- e-smith-radiusd-2.4.0.ng/root/etc/e-smith/templates/etc/radiusclient/dictionary 2005-06-11 13:23:30.000000000 -0600 |
37 |
+++ e-smith-radiusd-2.4.0/root/etc/e-smith/templates/etc/radiusclient/dictionary 1969-12-31 17:00:00.000000000 -0700 |
38 |
@@ -1,253 +0,0 @@ |
39 |
-# |
40 |
-# Updated 97/06/13 to livingston-radius-2.01 miquels@cistron.nl |
41 |
-# |
42 |
-# This file contains dictionary translations for parsing |
43 |
-# requests and generating responses. All transactions are |
44 |
-# composed of Attribute/Value Pairs. The value of each attribute |
45 |
-# is specified as one of 4 data types. Valid data types are: |
46 |
-# |
47 |
-# string - 0-253 octets |
48 |
-# ipaddr - 4 octets in network byte order |
49 |
-# integer - 32 bit value in big endian order (high byte first) |
50 |
-# date - 32 bit value in big endian order - seconds since |
51 |
-# 00:00:00 GMT, Jan. 1, 1970 |
52 |
-# |
53 |
-# Enumerated values are stored in the user file with dictionary |
54 |
-# VALUE translations for easy administration. |
55 |
-# |
56 |
-# Example: |
57 |
-# |
58 |
-# ATTRIBUTE VALUE |
59 |
-# --------------- ----- |
60 |
-# Framed-Protocol = PPP |
61 |
-# 7 = 1 (integer encoding) |
62 |
-# |
63 |
- |
64 |
-# The dictionary format now supports vendor-specific attributes. |
65 |
-# Vendors are introduced like this: |
66 |
-# |
67 |
-# VENDOR vendor_name vendor_number |
68 |
-# |
69 |
-# For example: |
70 |
-# |
71 |
-# VENDOR RoaringPenguin 10055 |
72 |
-# |
73 |
-# Vendor-specific attributes have a fifth field with the name of the |
74 |
-# vendor. For example: |
75 |
-# |
76 |
-# ATTRIBUTE RP-Upstream-Speed-Limit 1 integer RoaringPenguin |
77 |
-# |
78 |
-# introduces a Roaring Penguin vendor-specific attribbute with name |
79 |
-# RP-Upstream-Speed-Limit, number 1, type integer and vendor RoaringPenguin. |
80 |
- |
81 |
-# |
82 |
-# Following are the proper new names. Use these. |
83 |
-# |
84 |
-ATTRIBUTE User-Name 1 string |
85 |
-ATTRIBUTE Password 2 string |
86 |
-ATTRIBUTE CHAP-Password 3 string |
87 |
-ATTRIBUTE NAS-IP-Address 4 ipaddr |
88 |
-ATTRIBUTE NAS-Port-Id 5 integer |
89 |
-ATTRIBUTE Service-Type 6 integer |
90 |
-ATTRIBUTE Framed-Protocol 7 integer |
91 |
-ATTRIBUTE Framed-IP-Address 8 ipaddr |
92 |
-ATTRIBUTE Framed-IP-Netmask 9 ipaddr |
93 |
-ATTRIBUTE Framed-Routing 10 integer |
94 |
-ATTRIBUTE Filter-Id 11 string |
95 |
-ATTRIBUTE Framed-MTU 12 integer |
96 |
-ATTRIBUTE Framed-Compression 13 integer |
97 |
-ATTRIBUTE Login-IP-Host 14 ipaddr |
98 |
-ATTRIBUTE Login-Service 15 integer |
99 |
-ATTRIBUTE Login-TCP-Port 16 integer |
100 |
-ATTRIBUTE Reply-Message 18 string |
101 |
-ATTRIBUTE Callback-Number 19 string |
102 |
-ATTRIBUTE Callback-Id 20 string |
103 |
-ATTRIBUTE Framed-Route 22 string |
104 |
-ATTRIBUTE Framed-IPX-Network 23 ipaddr |
105 |
-ATTRIBUTE State 24 string |
106 |
-ATTRIBUTE Class 25 string |
107 |
-ATTRIBUTE Session-Timeout 27 integer |
108 |
-ATTRIBUTE Idle-Timeout 28 integer |
109 |
-ATTRIBUTE Termination-Action 29 integer |
110 |
-ATTRIBUTE Called-Station-Id 30 string |
111 |
-ATTRIBUTE Calling-Station-Id 31 string |
112 |
-ATTRIBUTE NAS-Identifier 32 string |
113 |
-ATTRIBUTE Acct-Status-Type 40 integer |
114 |
-ATTRIBUTE Acct-Delay-Time 41 integer |
115 |
-ATTRIBUTE Acct-Input-Octets 42 integer |
116 |
-ATTRIBUTE Acct-Output-Octets 43 integer |
117 |
-ATTRIBUTE Acct-Session-Id 44 string |
118 |
-ATTRIBUTE Acct-Authentic 45 integer |
119 |
-ATTRIBUTE Acct-Session-Time 46 integer |
120 |
-ATTRIBUTE Acct-Input-Packets 47 integer |
121 |
-ATTRIBUTE Acct-Output-Packets 48 integer |
122 |
-ATTRIBUTE Acct-Terminate-Cause 49 integer |
123 |
-ATTRIBUTE Chap-Challenge 60 string |
124 |
-ATTRIBUTE NAS-Port-Type 61 integer |
125 |
-ATTRIBUTE Port-Limit 62 integer |
126 |
-ATTRIBUTE Connect-Info 77 string |
127 |
- |
128 |
-# RFC 2869 |
129 |
-ATTRIBUTE Acct-Interim-Interval 85 integer |
130 |
- |
131 |
-# |
132 |
-# Experimental Non Protocol Attributes used by Cistron-Radiusd |
133 |
-# |
134 |
-ATTRIBUTE Huntgroup-Name 221 string |
135 |
-ATTRIBUTE User-Category 1029 string |
136 |
-ATTRIBUTE Group-Name 1030 string |
137 |
-ATTRIBUTE Simultaneous-Use 1034 integer |
138 |
-ATTRIBUTE Strip-User-Name 1035 integer |
139 |
-ATTRIBUTE Fall-Through 1036 integer |
140 |
-ATTRIBUTE Add-Port-To-IP-Address 1037 integer |
141 |
-ATTRIBUTE Exec-Program 1038 string |
142 |
-ATTRIBUTE Exec-Program-Wait 1039 string |
143 |
-ATTRIBUTE Hint 1040 string |
144 |
- |
145 |
-# |
146 |
-# Non-Protocol Attributes |
147 |
-# These attributes are used internally by the server |
148 |
-# |
149 |
-ATTRIBUTE Expiration 21 date |
150 |
-ATTRIBUTE Auth-Type 1000 integer |
151 |
-ATTRIBUTE Menu 1001 string |
152 |
-ATTRIBUTE Termination-Menu 1002 string |
153 |
-ATTRIBUTE Prefix 1003 string |
154 |
-ATTRIBUTE Suffix 1004 string |
155 |
-ATTRIBUTE Group 1005 string |
156 |
-ATTRIBUTE Crypt-Password 1006 string |
157 |
-ATTRIBUTE Connect-Rate 1007 integer |
158 |
- |
159 |
-# |
160 |
-# Experimental, implementation specific attributes |
161 |
-# |
162 |
-# Limit session traffic |
163 |
-ATTRIBUTE Session-Octets-Limit 227 integer |
164 |
-# What to assume as limit - 0 in+out, 1 in, 2 out, 3 max(in,out) |
165 |
-ATTRIBUTE Octets-Direction 228 integer |
166 |
- |
167 |
-# |
168 |
-# Integer Translations |
169 |
-# |
170 |
- |
171 |
-# User Types |
172 |
- |
173 |
-VALUE Service-Type Login-User 1 |
174 |
-VALUE Service-Type Framed-User 2 |
175 |
-VALUE Service-Type Callback-Login-User 3 |
176 |
-VALUE Service-Type Callback-Framed-User 4 |
177 |
-VALUE Service-Type Outbound-User 5 |
178 |
-VALUE Service-Type Administrative-User 6 |
179 |
-VALUE Service-Type NAS-Prompt-User 7 |
180 |
- |
181 |
-# Framed Protocols |
182 |
- |
183 |
-VALUE Framed-Protocol PPP 1 |
184 |
-VALUE Framed-Protocol SLIP 2 |
185 |
- |
186 |
-# Framed Routing Values |
187 |
- |
188 |
-VALUE Framed-Routing None 0 |
189 |
-VALUE Framed-Routing Broadcast 1 |
190 |
-VALUE Framed-Routing Listen 2 |
191 |
-VALUE Framed-Routing Broadcast-Listen 3 |
192 |
- |
193 |
-# Framed Compression Types |
194 |
- |
195 |
-VALUE Framed-Compression None 0 |
196 |
-VALUE Framed-Compression Van-Jacobson-TCP-IP 1 |
197 |
- |
198 |
-# Login Services |
199 |
- |
200 |
-VALUE Login-Service Telnet 0 |
201 |
-VALUE Login-Service Rlogin 1 |
202 |
-VALUE Login-Service TCP-Clear 2 |
203 |
-VALUE Login-Service PortMaster 3 |
204 |
- |
205 |
-# Status Types |
206 |
- |
207 |
-VALUE Acct-Status-Type Start 1 |
208 |
-VALUE Acct-Status-Type Stop 2 |
209 |
-VALUE Acct-Status-Type Accounting-On 7 |
210 |
-VALUE Acct-Status-Type Accounting-Off 8 |
211 |
- |
212 |
-# Authentication Types |
213 |
- |
214 |
-VALUE Acct-Authentic RADIUS 1 |
215 |
-VALUE Acct-Authentic Local 2 |
216 |
-VALUE Acct-Authentic PowerLink128 100 |
217 |
- |
218 |
-# Termination Options |
219 |
- |
220 |
-VALUE Termination-Action Default 0 |
221 |
-VALUE Termination-Action RADIUS-Request 1 |
222 |
- |
223 |
-# NAS Port Types, available in 3.3.1 and later |
224 |
- |
225 |
-VALUE NAS-Port-Type Async 0 |
226 |
-VALUE NAS-Port-Type Sync 1 |
227 |
-VALUE NAS-Port-Type ISDN 2 |
228 |
-VALUE NAS-Port-Type ISDN-V120 3 |
229 |
-VALUE NAS-Port-Type ISDN-V110 4 |
230 |
- |
231 |
-# Acct Terminate Causes, available in 3.3.2 and later |
232 |
- |
233 |
-VALUE Acct-Terminate-Cause User-Request 1 |
234 |
-VALUE Acct-Terminate-Cause Lost-Carrier 2 |
235 |
-VALUE Acct-Terminate-Cause Lost-Service 3 |
236 |
-VALUE Acct-Terminate-Cause Idle-Timeout 4 |
237 |
-VALUE Acct-Terminate-Cause Session-Timeout 5 |
238 |
-VALUE Acct-Terminate-Cause Admin-Reset 6 |
239 |
-VALUE Acct-Terminate-Cause Admin-Reboot 7 |
240 |
-VALUE Acct-Terminate-Cause Port-Error 8 |
241 |
-VALUE Acct-Terminate-Cause NAS-Error 9 |
242 |
-VALUE Acct-Terminate-Cause NAS-Request 10 |
243 |
-VALUE Acct-Terminate-Cause NAS-Reboot 11 |
244 |
-VALUE Acct-Terminate-Cause Port-Unneeded 12 |
245 |
-VALUE Acct-Terminate-Cause Port-Preempted 13 |
246 |
-VALUE Acct-Terminate-Cause Port-Suspended 14 |
247 |
-VALUE Acct-Terminate-Cause Service-Unavailable 15 |
248 |
-VALUE Acct-Terminate-Cause Callback 16 |
249 |
-VALUE Acct-Terminate-Cause User-Error 17 |
250 |
-VALUE Acct-Terminate-Cause Host-Request 18 |
251 |
- |
252 |
-# |
253 |
-# Non-Protocol Integer Translations |
254 |
-# |
255 |
- |
256 |
-VALUE Auth-Type Local 0 |
257 |
-VALUE Auth-Type System 1 |
258 |
-VALUE Auth-Type SecurID 2 |
259 |
-VALUE Auth-Type Crypt-Local 3 |
260 |
-VALUE Auth-Type Reject 4 |
261 |
- |
262 |
-# |
263 |
-# Cistron extensions |
264 |
-# |
265 |
-VALUE Auth-Type Pam 253 |
266 |
-VALUE Auth-Type None 254 |
267 |
- |
268 |
-# |
269 |
-# Experimental Non-Protocol Integer Translations for Cistron-Radiusd |
270 |
-# |
271 |
-VALUE Fall-Through No 0 |
272 |
-VALUE Fall-Through Yes 1 |
273 |
-VALUE Add-Port-To-IP-Address No 0 |
274 |
-VALUE Add-Port-To-IP-Address Yes 1 |
275 |
- |
276 |
-# |
277 |
-# Configuration Values |
278 |
-# uncomment these two lines to turn account expiration on |
279 |
-# |
280 |
- |
281 |
-#VALUE Server-Config Password-Expiration 30 |
282 |
-#VALUE Server-Config Password-Warning 5 |
283 |
- |
284 |
-# Octets-Direction |
285 |
-VALUE Octets-Direction Sum 0 |
286 |
-VALUE Octets-Direction Input 1 |
287 |
-VALUE Octets-Direction Output 2 |
288 |
-VALUE Octets-Direction MaxOveral 3 |
289 |
-VALUE Octets-Direction MaxSession 4 |
290 |
- |
291 |
-INCLUDE /etc/radiusclient/dictionary.microsoft |
292 |
diff -ruN e-smith-radiusd-2.4.0.ng/root/etc/e-smith/templates/etc/radiusclient/dictionary.microsoft e-smith-radiusd-2.4.0/root/etc/e-smith/templates/etc/radiusclient/dictionary.microsoft |
293 |
--- e-smith-radiusd-2.4.0.ng/root/etc/e-smith/templates/etc/radiusclient/dictionary.microsoft 2005-06-11 13:23:16.000000000 -0600 |
294 |
+++ e-smith-radiusd-2.4.0/root/etc/e-smith/templates/etc/radiusclient/dictionary.microsoft 1969-12-31 17:00:00.000000000 -0700 |
295 |
@@ -1,81 +0,0 @@ |
296 |
-# |
297 |
-# Microsoft's VSA's, from RFC 2548 |
298 |
-# |
299 |
-# $Id: dictionary.microsoft,v 1.1 2002/03/06 13:23:09 dfs Exp $ |
300 |
-# |
301 |
- |
302 |
-VENDOR Microsoft 311 Microsoft |
303 |
- |
304 |
-ATTRIBUTE MS-CHAP-Response 1 string Microsoft |
305 |
-ATTRIBUTE MS-CHAP-Error 2 string Microsoft |
306 |
-ATTRIBUTE MS-CHAP-CPW-1 3 string Microsoft |
307 |
-ATTRIBUTE MS-CHAP-CPW-2 4 string Microsoft |
308 |
-ATTRIBUTE MS-CHAP-LM-Enc-PW 5 string Microsoft |
309 |
-ATTRIBUTE MS-CHAP-NT-Enc-PW 6 string Microsoft |
310 |
-ATTRIBUTE MS-MPPE-Encryption-Policy 7 string Microsoft |
311 |
-# This is referred to as both singular and plural in the RFC. |
312 |
-# Plural seems to make more sense. |
313 |
-ATTRIBUTE MS-MPPE-Encryption-Type 8 string Microsoft |
314 |
-ATTRIBUTE MS-MPPE-Encryption-Types 8 string Microsoft |
315 |
-ATTRIBUTE MS-RAS-Vendor 9 integer Microsoft |
316 |
-ATTRIBUTE MS-CHAP-Domain 10 string Microsoft |
317 |
-ATTRIBUTE MS-CHAP-Challenge 11 string Microsoft |
318 |
-ATTRIBUTE MS-CHAP-MPPE-Keys 12 string Microsoft |
319 |
-ATTRIBUTE MS-BAP-Usage 13 integer Microsoft |
320 |
-ATTRIBUTE MS-Link-Utilization-Threshold 14 integer Microsoft |
321 |
-ATTRIBUTE MS-Link-Drop-Time-Limit 15 integer Microsoft |
322 |
-ATTRIBUTE MS-MPPE-Send-Key 16 string Microsoft |
323 |
-ATTRIBUTE MS-MPPE-Recv-Key 17 string Microsoft |
324 |
-ATTRIBUTE MS-RAS-Version 18 string Microsoft |
325 |
-ATTRIBUTE MS-Old-ARAP-Password 19 string Microsoft |
326 |
-ATTRIBUTE MS-New-ARAP-Password 20 string Microsoft |
327 |
-ATTRIBUTE MS-ARAP-PW-Change-Reason 21 integer Microsoft |
328 |
- |
329 |
-ATTRIBUTE MS-Filter 22 string Microsoft |
330 |
-ATTRIBUTE MS-Acct-Auth-Type 23 integer Microsoft |
331 |
-ATTRIBUTE MS-Acct-EAP-Type 24 integer Microsoft |
332 |
- |
333 |
-ATTRIBUTE MS-CHAP2-Response 25 string Microsoft |
334 |
-ATTRIBUTE MS-CHAP2-Success 26 string Microsoft |
335 |
-ATTRIBUTE MS-CHAP2-CPW 27 string Microsoft |
336 |
- |
337 |
-ATTRIBUTE MS-Primary-DNS-Server 28 ipaddr Microsoft |
338 |
-ATTRIBUTE MS-Secondary-DNS-Server 29 ipaddr Microsoft |
339 |
-ATTRIBUTE MS-Primary-NBNS-Server 30 ipaddr Microsoft |
340 |
-ATTRIBUTE MS-Secondary-NBNS-Server 31 ipaddr Microsoft |
341 |
- |
342 |
-#ATTRIBUTE MS-ARAP-Challenge 33 string Microsoft |
343 |
- |
344 |
- |
345 |
-# |
346 |
-# Integer Translations |
347 |
-# |
348 |
- |
349 |
-# MS-BAP-Usage Values |
350 |
- |
351 |
-VALUE MS-BAP-Usage Not-Allowed 0 |
352 |
-VALUE MS-BAP-Usage Allowed 1 |
353 |
-VALUE MS-BAP-Usage Required 2 |
354 |
- |
355 |
-# MS-ARAP-Password-Change-Reason Values |
356 |
- |
357 |
-VALUE MS-ARAP-PW-Change-Reason Just-Change-Password 1 |
358 |
-VALUE MS-ARAP-PW-Change-Reason Expired-Password 2 |
359 |
-VALUE MS-ARAP-PW-Change-Reason Admin-Requires-Password-Change 3 |
360 |
-VALUE MS-ARAP-PW-Change-Reason Password-Too-Short 4 |
361 |
- |
362 |
-# MS-Acct-Auth-Type Values |
363 |
- |
364 |
-VALUE MS-Acct-Auth-Type PAP 1 |
365 |
-VALUE MS-Acct-Auth-Type CHAP 2 |
366 |
-VALUE MS-Acct-Auth-Type MS-CHAP-1 3 |
367 |
-VALUE MS-Acct-Auth-Type MS-CHAP-2 4 |
368 |
-VALUE MS-Acct-Auth-Type EAP 5 |
369 |
- |
370 |
-# MS-Acct-EAP-Type Values |
371 |
- |
372 |
-VALUE MS-Acct-EAP-Type MD5 4 |
373 |
-VALUE MS-Acct-EAP-Type OTP 5 |
374 |
-VALUE MS-Acct-EAP-Type Generic-Token-Card 6 |
375 |
-VALUE MS-Acct-EAP-Type TLS 13 |
376 |
- |
377 |
diff -ruN e-smith-radiusd-2.4.0.ng/root/etc/e-smith/templates/etc/radiusclient/servers/10localhost e-smith-radiusd-2.4.0/root/etc/e-smith/templates/etc/radiusclient/servers/10localhost |
378 |
--- e-smith-radiusd-2.4.0.ng/root/etc/e-smith/templates/etc/radiusclient/servers/10localhost 2005-06-11 13:21:13.000000000 -0600 |
379 |
+++ e-smith-radiusd-2.4.0/root/etc/e-smith/templates/etc/radiusclient/servers/10localhost 1969-12-31 17:00:00.000000000 -0700 |
380 |
@@ -1,7 +0,0 @@ |
381 |
-{ |
382 |
- use esmith::util; |
383 |
- $pw = esmith::util::LdapPassword; |
384 |
- $pw =~ s/^(.{31}).*$/$1/; |
385 |
- ""; |
386 |
-} |
387 |
-localhost { $pw; } |
388 |
diff -ruN e-smith-radiusd-2.4.0.ng/root/etc/e-smith/templates/etc/radiusclient-ng/servers/10localhost e-smith-radiusd-2.4.0/root/etc/e-smith/templates/etc/radiusclient-ng/servers/10localhost |
389 |
--- e-smith-radiusd-2.4.0.ng/root/etc/e-smith/templates/etc/radiusclient-ng/servers/10localhost 1969-12-31 17:00:00.000000000 -0700 |
390 |
+++ e-smith-radiusd-2.4.0/root/etc/e-smith/templates/etc/radiusclient-ng/servers/10localhost 2005-06-11 13:21:13.000000000 -0600 |
391 |
@@ -0,0 +1,7 @@ |
392 |
+{ |
393 |
+ use esmith::util; |
394 |
+ $pw = esmith::util::LdapPassword; |
395 |
+ $pw =~ s/^(.{31}).*$/$1/; |
396 |
+ ""; |
397 |
+} |
398 |
+localhost { $pw; } |
399 |
diff -ruN e-smith-radiusd-2.4.0.ng/root/etc/e-smith/templates/usr/share/radiusclient-ng/dictionary e-smith-radiusd-2.4.0/root/etc/e-smith/templates/usr/share/radiusclient-ng/dictionary |
400 |
--- e-smith-radiusd-2.4.0.ng/root/etc/e-smith/templates/usr/share/radiusclient-ng/dictionary 1969-12-31 17:00:00.000000000 -0700 |
401 |
+++ e-smith-radiusd-2.4.0/root/etc/e-smith/templates/usr/share/radiusclient-ng/dictionary 2013-02-14 09:48:34.942320382 -0700 |
402 |
@@ -0,0 +1,242 @@ |
403 |
+# |
404 |
+# Updated 97/06/13 to livingston-radius-2.01 miquels@cistron.nl |
405 |
+# |
406 |
+# This file contains dictionary translations for parsing |
407 |
+# requests and generating responses. All transactions are |
408 |
+# composed of Attribute/Value Pairs. The value of each attribute |
409 |
+# is specified as one of 4 data types. Valid data types are: |
410 |
+# |
411 |
+# string - 0-253 octets |
412 |
+# ipaddr - 4 octets in network byte order |
413 |
+# integer - 32 bit value in big endian order (high byte first) |
414 |
+# date - 32 bit value in big endian order - seconds since |
415 |
+# 00:00:00 GMT, Jan. 1, 1970 |
416 |
+# |
417 |
+# Enumerated values are stored in the user file with dictionary |
418 |
+# VALUE translations for easy administration. |
419 |
+# |
420 |
+# Example: |
421 |
+# |
422 |
+# ATTRIBUTE VALUE |
423 |
+# --------------- ----- |
424 |
+# Framed-Protocol = PPP |
425 |
+# 7 = 1 (integer encoding) |
426 |
+# |
427 |
+ |
428 |
+# |
429 |
+# Following are the proper new names. Use these. |
430 |
+# |
431 |
+ATTRIBUTE User-Name 1 string |
432 |
+ATTRIBUTE Password 2 string |
433 |
+ATTRIBUTE CHAP-Password 3 string |
434 |
+ATTRIBUTE NAS-IP-Address 4 ipaddr |
435 |
+ATTRIBUTE NAS-Port-Id 5 integer |
436 |
+ATTRIBUTE Service-Type 6 integer |
437 |
+ATTRIBUTE Framed-Protocol 7 integer |
438 |
+ATTRIBUTE Framed-IP-Address 8 ipaddr |
439 |
+ATTRIBUTE Framed-IP-Netmask 9 ipaddr |
440 |
+ATTRIBUTE Framed-Routing 10 integer |
441 |
+ATTRIBUTE Filter-Id 11 string |
442 |
+ATTRIBUTE Framed-MTU 12 integer |
443 |
+ATTRIBUTE Framed-Compression 13 integer |
444 |
+ATTRIBUTE Login-IP-Host 14 ipaddr |
445 |
+ATTRIBUTE Login-Service 15 integer |
446 |
+ATTRIBUTE Login-TCP-Port 16 integer |
447 |
+ATTRIBUTE Reply-Message 18 string |
448 |
+ATTRIBUTE Callback-Number 19 string |
449 |
+ATTRIBUTE Callback-Id 20 string |
450 |
+ATTRIBUTE Framed-Route 22 string |
451 |
+ATTRIBUTE Framed-IPX-Network 23 ipaddr |
452 |
+ATTRIBUTE State 24 string |
453 |
+ATTRIBUTE Class 25 string |
454 |
+ATTRIBUTE Vendor-Specific 26 string |
455 |
+ATTRIBUTE Session-Timeout 27 integer |
456 |
+ATTRIBUTE Idle-Timeout 28 integer |
457 |
+ATTRIBUTE Termination-Action 29 integer |
458 |
+ATTRIBUTE Called-Station-Id 30 string |
459 |
+ATTRIBUTE Calling-Station-Id 31 string |
460 |
+ATTRIBUTE NAS-Identifier 32 string |
461 |
+ATTRIBUTE Proxy-State 33 string |
462 |
+ATTRIBUTE Login-LAT-Service 34 string |
463 |
+ATTRIBUTE Login-LAT-Node 35 string |
464 |
+ATTRIBUTE Login-LAT-Group 36 string |
465 |
+ATTRIBUTE Framed-AppleTalk-Link 37 integer |
466 |
+ATTRIBUTE Framed-AppleTalk-Network 38 integer |
467 |
+ATTRIBUTE Framed-AppleTalk-Zone 39 string |
468 |
+ATTRIBUTE Acct-Status-Type 40 integer |
469 |
+ATTRIBUTE Acct-Delay-Time 41 integer |
470 |
+ATTRIBUTE Acct-Input-Octets 42 integer |
471 |
+ATTRIBUTE Acct-Output-Octets 43 integer |
472 |
+ATTRIBUTE Acct-Session-Id 44 string |
473 |
+ATTRIBUTE Acct-Authentic 45 integer |
474 |
+ATTRIBUTE Acct-Session-Time 46 integer |
475 |
+ATTRIBUTE Acct-Input-Packets 47 integer |
476 |
+ATTRIBUTE Acct-Output-Packets 48 integer |
477 |
+ATTRIBUTE Acct-Terminate-Cause 49 integer |
478 |
+ATTRIBUTE Acct-Multi-Session-Id 50 string |
479 |
+ATTRIBUTE Acct-Link-Count 51 integer |
480 |
+ATTRIBUTE Event-Timestamp 55 integer |
481 |
+ATTRIBUTE CHAP-Challenge 60 string |
482 |
+ATTRIBUTE NAS-Port-Type 61 integer |
483 |
+ATTRIBUTE Port-Limit 62 integer |
484 |
+ATTRIBUTE Login-LAT-Port 63 integer |
485 |
+ATTRIBUTE Connect-Info 77 string |
486 |
+ |
487 |
+# |
488 |
+# RFC3162 IPv6 attributes |
489 |
+# |
490 |
+ATTRIBUTE NAS-IPv6-Address 95 string |
491 |
+ATTRIBUTE Framed-Interface-Id 96 string |
492 |
+ATTRIBUTE Framed-IPv6-Prefix 97 string |
493 |
+ATTRIBUTE Login-IPv6-Host 98 string |
494 |
+ATTRIBUTE Framed-IPv6-Route 99 string |
495 |
+ATTRIBUTE Framed-IPv6-Pool 100 string |
496 |
+ |
497 |
+# |
498 |
+# Experimental Non Protocol Attributes used by Cistron-Radiusd |
499 |
+# |
500 |
+ATTRIBUTE Huntgroup-Name 221 string |
501 |
+ATTRIBUTE User-Category 1029 string |
502 |
+ATTRIBUTE Group-Name 1030 string |
503 |
+ATTRIBUTE Simultaneous-Use 1034 integer |
504 |
+ATTRIBUTE Strip-User-Name 1035 integer |
505 |
+ATTRIBUTE Fall-Through 1036 integer |
506 |
+ATTRIBUTE Add-Port-To-IP-Address 1037 integer |
507 |
+ATTRIBUTE Exec-Program 1038 string |
508 |
+ATTRIBUTE Exec-Program-Wait 1039 string |
509 |
+ATTRIBUTE Hint 1040 string |
510 |
+ |
511 |
+# |
512 |
+# Non-Protocol Attributes |
513 |
+# These attributes are used internally by the server |
514 |
+# |
515 |
+ATTRIBUTE Expiration 21 date |
516 |
+ATTRIBUTE Auth-Type 1000 integer |
517 |
+ATTRIBUTE Menu 1001 string |
518 |
+ATTRIBUTE Termination-Menu 1002 string |
519 |
+ATTRIBUTE Prefix 1003 string |
520 |
+ATTRIBUTE Suffix 1004 string |
521 |
+ATTRIBUTE Group 1005 string |
522 |
+ATTRIBUTE Crypt-Password 1006 string |
523 |
+ATTRIBUTE Connect-Rate 1007 integer |
524 |
+ |
525 |
+# |
526 |
+# Integer Translations |
527 |
+# |
528 |
+ |
529 |
+# User Types |
530 |
+ |
531 |
+VALUE Service-Type Login-User 1 |
532 |
+VALUE Service-Type Framed-User 2 |
533 |
+VALUE Service-Type Callback-Login-User 3 |
534 |
+VALUE Service-Type Callback-Framed-User 4 |
535 |
+VALUE Service-Type Outbound-User 5 |
536 |
+VALUE Service-Type Administrative-User 6 |
537 |
+VALUE Service-Type NAS-Prompt-User 7 |
538 |
+ |
539 |
+# Framed Protocols |
540 |
+ |
541 |
+VALUE Framed-Protocol PPP 1 |
542 |
+VALUE Framed-Protocol SLIP 2 |
543 |
+ |
544 |
+# Framed Routing Values |
545 |
+ |
546 |
+VALUE Framed-Routing None 0 |
547 |
+VALUE Framed-Routing Broadcast 1 |
548 |
+VALUE Framed-Routing Listen 2 |
549 |
+VALUE Framed-Routing Broadcast-Listen 3 |
550 |
+ |
551 |
+# Framed Compression Types |
552 |
+ |
553 |
+VALUE Framed-Compression None 0 |
554 |
+VALUE Framed-Compression Van-Jacobson-TCP-IP 1 |
555 |
+ |
556 |
+# Login Services |
557 |
+ |
558 |
+VALUE Login-Service Telnet 0 |
559 |
+VALUE Login-Service Rlogin 1 |
560 |
+VALUE Login-Service TCP-Clear 2 |
561 |
+VALUE Login-Service PortMaster 3 |
562 |
+ |
563 |
+# Status Types |
564 |
+ |
565 |
+VALUE Acct-Status-Type Start 1 |
566 |
+VALUE Acct-Status-Type Stop 2 |
567 |
+VALUE Acct-Status-Type Alive 3 |
568 |
+VALUE Acct-Status-Type Accounting-On 7 |
569 |
+VALUE Acct-Status-Type Accounting-Off 8 |
570 |
+ |
571 |
+# Authentication Types |
572 |
+ |
573 |
+VALUE Acct-Authentic RADIUS 1 |
574 |
+VALUE Acct-Authentic Local 2 |
575 |
+VALUE Acct-Authentic PowerLink128 100 |
576 |
+ |
577 |
+# Termination Options |
578 |
+ |
579 |
+VALUE Termination-Action Default 0 |
580 |
+VALUE Termination-Action RADIUS-Request 1 |
581 |
+ |
582 |
+# NAS Port Types, available in 3.3.1 and later |
583 |
+ |
584 |
+VALUE NAS-Port-Type Async 0 |
585 |
+VALUE NAS-Port-Type Sync 1 |
586 |
+VALUE NAS-Port-Type ISDN 2 |
587 |
+VALUE NAS-Port-Type ISDN-V120 3 |
588 |
+VALUE NAS-Port-Type ISDN-V110 4 |
589 |
+ |
590 |
+# Acct Terminate Causes, available in 3.3.2 and later |
591 |
+ |
592 |
+VALUE Acct-Terminate-Cause User-Request 1 |
593 |
+VALUE Acct-Terminate-Cause Lost-Carrier 2 |
594 |
+VALUE Acct-Terminate-Cause Lost-Service 3 |
595 |
+VALUE Acct-Terminate-Cause Idle-Timeout 4 |
596 |
+VALUE Acct-Terminate-Cause Session-Timeout 5 |
597 |
+VALUE Acct-Terminate-Cause Admin-Reset 6 |
598 |
+VALUE Acct-Terminate-Cause Admin-Reboot 7 |
599 |
+VALUE Acct-Terminate-Cause Port-Error 8 |
600 |
+VALUE Acct-Terminate-Cause NAS-Error 9 |
601 |
+VALUE Acct-Terminate-Cause NAS-Request 10 |
602 |
+VALUE Acct-Terminate-Cause NAS-Reboot 11 |
603 |
+VALUE Acct-Terminate-Cause Port-Unneeded 12 |
604 |
+VALUE Acct-Terminate-Cause Port-Preempted 13 |
605 |
+VALUE Acct-Terminate-Cause Port-Suspended 14 |
606 |
+VALUE Acct-Terminate-Cause Service-Unavailable 15 |
607 |
+VALUE Acct-Terminate-Cause Callback 16 |
608 |
+VALUE Acct-Terminate-Cause User-Error 17 |
609 |
+VALUE Acct-Terminate-Cause Host-Request 18 |
610 |
+ |
611 |
+# |
612 |
+# Non-Protocol Integer Translations |
613 |
+# |
614 |
+ |
615 |
+VALUE Auth-Type Local 0 |
616 |
+VALUE Auth-Type System 1 |
617 |
+VALUE Auth-Type SecurID 2 |
618 |
+VALUE Auth-Type Crypt-Local 3 |
619 |
+VALUE Auth-Type Reject 4 |
620 |
+ |
621 |
+# |
622 |
+# Cistron extensions |
623 |
+# |
624 |
+VALUE Auth-Type Pam 253 |
625 |
+VALUE Auth-Type Accept 254 |
626 |
+ |
627 |
+# |
628 |
+# Experimental Non-Protocol Integer Translations for Cistron-Radiusd |
629 |
+# |
630 |
+VALUE Fall-Through No 0 |
631 |
+VALUE Fall-Through Yes 1 |
632 |
+VALUE Add-Port-To-IP-Address No 0 |
633 |
+VALUE Add-Port-To-IP-Address Yes 1 |
634 |
+ |
635 |
+# |
636 |
+# Configuration Values |
637 |
+# uncomment these two lines to turn account expiration on |
638 |
+# |
639 |
+ |
640 |
+#VALUE Server-Config Password-Expiration 30 |
641 |
+#VALUE Server-Config Password-Warning 5 |
642 |
+ |
643 |
+INCLUDE /usr/share/radiusclient-ng/dictionary.microsoft |
644 |
+ |
645 |
diff -ruN e-smith-radiusd-2.4.0.ng/root/etc/e-smith/templates/usr/share/radiusclient-ng/dictionary.microsoft e-smith-radiusd-2.4.0/root/etc/e-smith/templates/usr/share/radiusclient-ng/dictionary.microsoft |
646 |
--- e-smith-radiusd-2.4.0.ng/root/etc/e-smith/templates/usr/share/radiusclient-ng/dictionary.microsoft 1969-12-31 17:00:00.000000000 -0700 |
647 |
+++ e-smith-radiusd-2.4.0/root/etc/e-smith/templates/usr/share/radiusclient-ng/dictionary.microsoft 2005-06-11 13:23:16.000000000 -0600 |
648 |
@@ -0,0 +1,81 @@ |
649 |
+# |
650 |
+# Microsoft's VSA's, from RFC 2548 |
651 |
+# |
652 |
+# $Id: dictionary.microsoft,v 1.1 2002/03/06 13:23:09 dfs Exp $ |
653 |
+# |
654 |
+ |
655 |
+VENDOR Microsoft 311 Microsoft |
656 |
+ |
657 |
+ATTRIBUTE MS-CHAP-Response 1 string Microsoft |
658 |
+ATTRIBUTE MS-CHAP-Error 2 string Microsoft |
659 |
+ATTRIBUTE MS-CHAP-CPW-1 3 string Microsoft |
660 |
+ATTRIBUTE MS-CHAP-CPW-2 4 string Microsoft |
661 |
+ATTRIBUTE MS-CHAP-LM-Enc-PW 5 string Microsoft |
662 |
+ATTRIBUTE MS-CHAP-NT-Enc-PW 6 string Microsoft |
663 |
+ATTRIBUTE MS-MPPE-Encryption-Policy 7 string Microsoft |
664 |
+# This is referred to as both singular and plural in the RFC. |
665 |
+# Plural seems to make more sense. |
666 |
+ATTRIBUTE MS-MPPE-Encryption-Type 8 string Microsoft |
667 |
+ATTRIBUTE MS-MPPE-Encryption-Types 8 string Microsoft |
668 |
+ATTRIBUTE MS-RAS-Vendor 9 integer Microsoft |
669 |
+ATTRIBUTE MS-CHAP-Domain 10 string Microsoft |
670 |
+ATTRIBUTE MS-CHAP-Challenge 11 string Microsoft |
671 |
+ATTRIBUTE MS-CHAP-MPPE-Keys 12 string Microsoft |
672 |
+ATTRIBUTE MS-BAP-Usage 13 integer Microsoft |
673 |
+ATTRIBUTE MS-Link-Utilization-Threshold 14 integer Microsoft |
674 |
+ATTRIBUTE MS-Link-Drop-Time-Limit 15 integer Microsoft |
675 |
+ATTRIBUTE MS-MPPE-Send-Key 16 string Microsoft |
676 |
+ATTRIBUTE MS-MPPE-Recv-Key 17 string Microsoft |
677 |
+ATTRIBUTE MS-RAS-Version 18 string Microsoft |
678 |
+ATTRIBUTE MS-Old-ARAP-Password 19 string Microsoft |
679 |
+ATTRIBUTE MS-New-ARAP-Password 20 string Microsoft |
680 |
+ATTRIBUTE MS-ARAP-PW-Change-Reason 21 integer Microsoft |
681 |
+ |
682 |
+ATTRIBUTE MS-Filter 22 string Microsoft |
683 |
+ATTRIBUTE MS-Acct-Auth-Type 23 integer Microsoft |
684 |
+ATTRIBUTE MS-Acct-EAP-Type 24 integer Microsoft |
685 |
+ |
686 |
+ATTRIBUTE MS-CHAP2-Response 25 string Microsoft |
687 |
+ATTRIBUTE MS-CHAP2-Success 26 string Microsoft |
688 |
+ATTRIBUTE MS-CHAP2-CPW 27 string Microsoft |
689 |
+ |
690 |
+ATTRIBUTE MS-Primary-DNS-Server 28 ipaddr Microsoft |
691 |
+ATTRIBUTE MS-Secondary-DNS-Server 29 ipaddr Microsoft |
692 |
+ATTRIBUTE MS-Primary-NBNS-Server 30 ipaddr Microsoft |
693 |
+ATTRIBUTE MS-Secondary-NBNS-Server 31 ipaddr Microsoft |
694 |
+ |
695 |
+#ATTRIBUTE MS-ARAP-Challenge 33 string Microsoft |
696 |
+ |
697 |
+ |
698 |
+# |
699 |
+# Integer Translations |
700 |
+# |
701 |
+ |
702 |
+# MS-BAP-Usage Values |
703 |
+ |
704 |
+VALUE MS-BAP-Usage Not-Allowed 0 |
705 |
+VALUE MS-BAP-Usage Allowed 1 |
706 |
+VALUE MS-BAP-Usage Required 2 |
707 |
+ |
708 |
+# MS-ARAP-Password-Change-Reason Values |
709 |
+ |
710 |
+VALUE MS-ARAP-PW-Change-Reason Just-Change-Password 1 |
711 |
+VALUE MS-ARAP-PW-Change-Reason Expired-Password 2 |
712 |
+VALUE MS-ARAP-PW-Change-Reason Admin-Requires-Password-Change 3 |
713 |
+VALUE MS-ARAP-PW-Change-Reason Password-Too-Short 4 |
714 |
+ |
715 |
+# MS-Acct-Auth-Type Values |
716 |
+ |
717 |
+VALUE MS-Acct-Auth-Type PAP 1 |
718 |
+VALUE MS-Acct-Auth-Type CHAP 2 |
719 |
+VALUE MS-Acct-Auth-Type MS-CHAP-1 3 |
720 |
+VALUE MS-Acct-Auth-Type MS-CHAP-2 4 |
721 |
+VALUE MS-Acct-Auth-Type EAP 5 |
722 |
+ |
723 |
+# MS-Acct-EAP-Type Values |
724 |
+ |
725 |
+VALUE MS-Acct-EAP-Type MD5 4 |
726 |
+VALUE MS-Acct-EAP-Type OTP 5 |
727 |
+VALUE MS-Acct-EAP-Type Generic-Token-Card 6 |
728 |
+VALUE MS-Acct-EAP-Type TLS 13 |
729 |
+ |