1 |
unnilennium |
1.1 |
diff -Nur e-smith-radiusd-2.6.0.old/createlinks e-smith-radiusd-2.6.0/createlinks |
2 |
|
|
--- e-smith-radiusd-2.6.0.old/createlinks 2016-04-06 22:34:33.919000000 -0400 |
3 |
|
|
+++ e-smith-radiusd-2.6.0/createlinks 2016-04-06 22:49:34.553000000 -0400 |
4 |
|
|
@@ -26,6 +26,7 @@ |
5 |
|
|
raddb/clients.conf |
6 |
|
|
raddb/mods-available/eap |
7 |
|
|
raddb/mods-available/ldap |
8 |
|
|
+ raddb/mods-available/smbpasswd |
9 |
|
|
raddb/sites-available/default |
10 |
|
|
raddb/proxy.conf |
11 |
|
|
radiusclient-ng/servers)) |
12 |
|
|
diff -Nur e-smith-radiusd-2.6.0.old/root/etc/e-smith/templates/etc/raddb/clients.conf/20local e-smith-radiusd-2.6.0/root/etc/e-smith/templates/etc/raddb/clients.conf/20local |
13 |
|
|
--- e-smith-radiusd-2.6.0.old/root/etc/e-smith/templates/etc/raddb/clients.conf/20local 2008-10-07 13:37:19.000000000 -0400 |
14 |
|
|
+++ e-smith-radiusd-2.6.0/root/etc/e-smith/templates/etc/raddb/clients.conf/20local 2016-04-06 22:45:06.754000000 -0400 |
15 |
|
|
@@ -15,6 +15,7 @@ |
16 |
|
|
|
17 |
|
|
$OUT .= <<EOF; |
18 |
|
|
client $hostip \{ |
19 |
|
|
+ ipaddr = $hostip |
20 |
|
|
secret = $radiuskey |
21 |
|
|
shortname = $hostname |
22 |
|
|
nastype = $nastype |
23 |
|
|
diff -Nur e-smith-radiusd-2.6.0.old/root/etc/e-smith/templates/etc/raddb/mods-available/smbpasswd/05init e-smith-radiusd-2.6.0/root/etc/e-smith/templates/etc/raddb/mods-available/smbpasswd/05init |
24 |
|
|
--- e-smith-radiusd-2.6.0.old/root/etc/e-smith/templates/etc/raddb/mods-available/smbpasswd/05init 1969-12-31 19:00:00.000000000 -0500 |
25 |
|
|
+++ e-smith-radiusd-2.6.0/root/etc/e-smith/templates/etc/raddb/mods-available/smbpasswd/05init 2016-04-06 22:47:43.399000000 -0400 |
26 |
|
|
@@ -0,0 +1,19 @@ |
27 |
|
|
+{ |
28 |
|
|
+# -*- text -*- |
29 |
|
|
+# |
30 |
|
|
+# $Id: d5ad2a06c767f07722dc9b9c4b13d00c26b5a280 $ |
31 |
|
|
+ |
32 |
|
|
+# An example configuration for using /etc/smbpasswd. |
33 |
|
|
+# |
34 |
|
|
+# See the "passwd" file for documentation on the configuration items |
35 |
|
|
+# for this module. |
36 |
|
|
+# |
37 |
|
|
+} |
38 |
|
|
+passwd smbpasswd \{ |
39 |
|
|
+<------>filename = /etc/samba/smbpasswd |
40 |
|
|
+<------>format = "*User-Name::LM-Password:NT-Password:SMB-Account-CTRL-TEXT::" |
41 |
|
|
+<------>hash_size = 100 |
42 |
|
|
+<------>ignore_nislike = no |
43 |
|
|
+<------>allow_multiple_keys = no |
44 |
|
|
+\} |
45 |
|
|
+ |
46 |
|
|
diff -Nur e-smith-radiusd-2.6.0.old/root/etc/e-smith/templates/etc/raddb/radiusd.conf/05init e-smith-radiusd-2.6.0/root/etc/e-smith/templates/etc/raddb/radiusd.conf/05init |
47 |
|
|
--- e-smith-radiusd-2.6.0.old/root/etc/e-smith/templates/etc/raddb/radiusd.conf/05init 2016-04-06 22:34:33.926000000 -0400 |
48 |
|
|
+++ e-smith-radiusd-2.6.0/root/etc/e-smith/templates/etc/raddb/radiusd.conf/05init 2016-04-06 22:35:48.019000000 -0400 |
49 |
|
|
@@ -186,31 +186,6 @@ |
50 |
|
|
} |
51 |
|
|
max_requests = 1024 |
52 |
|
|
{ |
53 |
|
|
-# listen: Make the server listen on a particular IP address, and send |
54 |
|
|
-# replies out from that address. This directive is most useful for |
55 |
|
|
-# hosts with multiple IP addresses on one interface. |
56 |
|
|
-# |
57 |
|
|
-# If you want the server to listen on additional addresses, or on |
58 |
|
|
-# additionnal ports, you can use multiple "listen" sections. |
59 |
|
|
-# |
60 |
|
|
-# Each section make the server listen for only one type of packet, |
61 |
|
|
-# therefore authentication and accounting have to be configured in |
62 |
|
|
-# different sections. |
63 |
|
|
-# |
64 |
|
|
-# The server ignore all "listen" section if you are using '-i' and '-p' |
65 |
|
|
-# on the command line. |
66 |
|
|
-} |
67 |
|
|
-listen \{ |
68 |
|
|
- type = auth |
69 |
|
|
- ipaddr = * |
70 |
|
|
- port = 0 |
71 |
|
|
-\} |
72 |
|
|
-listen \{ |
73 |
|
|
- type = acct |
74 |
|
|
- ipaddr = * |
75 |
|
|
- port = 0 |
76 |
|
|
-\} |
77 |
|
|
-{ |
78 |
|
|
# hostname_lookups: Log the names of clients or just their IP addresses |
79 |
|
|
# e.g., www.freeradius.org (on) or 206.47.27.232 (off). |
80 |
|
|
# |
81 |
|
|
diff -Nur e-smith-radiusd-2.6.0.old/root/etc/e-smith/templates/etc/raddb/sites-available/default/35authorization40default e-smith-radiusd-2.6.0/root/etc/e-smith/templates/etc/raddb/sites-available/default/35authorization40default |
82 |
|
|
--- e-smith-radiusd-2.6.0.old/root/etc/e-smith/templates/etc/raddb/sites-available/default/35authorization40default 2016-04-06 22:34:33.930000000 -0400 |
83 |
|
|
+++ e-smith-radiusd-2.6.0/root/etc/e-smith/templates/etc/raddb/sites-available/default/35authorization40default 2016-04-06 22:43:08.566000000 -0400 |
84 |
|
|
@@ -67,7 +67,7 @@ |
85 |
|
|
# is meant to mirror the "users" file. |
86 |
|
|
# |
87 |
|
|
# See "Authorization Queries" in sql.conf |
88 |
|
|
-} -sql |
89 |
|
|
+}# -sql |
90 |
|
|
{ |
91 |
|
|
# |
92 |
|
|
# If you are using /etc/smbpasswd, and are also doing |