1 |
slords |
1.1 |
diff -up e-smith-radiusd-2.2.0/createlinks.ldap-auth e-smith-radiusd-2.2.0/createlinks |
2 |
|
|
--- e-smith-radiusd-2.2.0/createlinks.ldap-auth 2008-10-07 11:37:19.000000000 -0600 |
3 |
|
|
+++ e-smith-radiusd-2.2.0/createlinks 2010-11-01 10:14:07.000000000 -0600 |
4 |
|
|
@@ -19,6 +19,7 @@ foreach (qw(raddb/radiusd.conf raddb/use |
5 |
|
|
user-modify-admin |
6 |
|
|
)); |
7 |
|
|
} |
8 |
|
|
+templates2events("/etc/raddb/radiusd.conf", "bootstrap-ldap-save"); |
9 |
|
|
|
10 |
|
|
foreach (qw( |
11 |
|
|
raddb/clients.conf |
12 |
|
|
diff -up e-smith-radiusd-2.2.0/root/etc/e-smith/templates/etc/raddb/radiusd.conf/65authorization40default.ldap-auth e-smith-radiusd-2.2.0/root/etc/e-smith/templates/etc/raddb/radiusd.conf/65authorization40default |
13 |
|
|
--- e-smith-radiusd-2.2.0/root/etc/e-smith/templates/etc/raddb/radiusd.conf/65authorization40default.ldap-auth 2008-10-07 11:37:19.000000000 -0600 |
14 |
|
|
+++ e-smith-radiusd-2.2.0/root/etc/e-smith/templates/etc/raddb/radiusd.conf/65authorization40default 2010-11-01 10:12:32.000000000 -0600 |
15 |
|
|
@@ -32,7 +32,8 @@ |
16 |
|
|
# If you are using /etc/smbpasswd, and are also doing |
17 |
|
|
# mschap authentication, the un-comment this line, and |
18 |
|
|
# configure the 'smbpasswd' module, above. |
19 |
|
|
-} smbpasswd |
20 |
|
|
+ ( $ldap{Authentication} || 'disabled' ) eq 'enabled' ? 'ldap' : 'smbpasswd'; |
21 |
|
|
+} |
22 |
|
|
{ |
23 |
|
|
# Read the 'users' file |
24 |
|
|
} files |