1 |
slords |
1.1 |
diff -up e-smith-radiusd-2.2.0/root/etc/e-smith/templates/etc/raddb/radiusd.conf/25modules30ldap.add_ldap_auth e-smith-radiusd-2.2.0/root/etc/e-smith/templates/etc/raddb/radiusd.conf/25modules30ldap |
2 |
|
|
--- e-smith-radiusd-2.2.0/root/etc/e-smith/templates/etc/raddb/radiusd.conf/25modules30ldap.add_ldap_auth 2010-10-27 09:45:33.000000000 -0600 |
3 |
|
|
+++ e-smith-radiusd-2.2.0/root/etc/e-smith/templates/etc/raddb/radiusd.conf/25modules30ldap 2010-10-27 09:41:32.000000000 -0600 |
4 |
|
|
@@ -0,0 +1,24 @@ |
5 |
|
|
+{ |
6 |
|
|
+ |
7 |
|
|
+ use esmith::util; |
8 |
|
|
+ $OUT = ''; |
9 |
|
|
+ |
10 |
|
|
+ $pw = esmith::util::LdapPassword(); |
11 |
|
|
+ $base = esmith::util::ldapBase ($DomainName); |
12 |
|
|
+ |
13 |
|
|
+} ldap \{ |
14 |
|
|
+ server = "localhost" |
15 |
|
|
+ identity = "cn=root,{ $base }" |
16 |
|
|
+ password = { $pw } |
17 |
|
|
+ basedn = "{ $base }" |
18 |
|
|
+ filter = "(&(objectClass=posixAccount)(uid=%\{Stripped-User-Name:-%\{User-Name\}\}))" |
19 |
|
|
+ ldap_connections_number = 5 |
20 |
|
|
+ timeout = 4 |
21 |
|
|
+ timelimit = 3 |
22 |
|
|
+ net_timeout = 3 |
23 |
|
|
+ tls \{ |
24 |
|
|
+ start_tls = no |
25 |
|
|
+ \} |
26 |
|
|
+ groupname_attribute = cn |
27 |
|
|
+ groupmembership_filter = "(&(objectClass=posixGroup)(memberUid=%\{Stripped-User-Name:-%\{User-Name\}\}))" |
28 |
|
|
+ \} |
29 |
|
|
diff -up e-smith-radiusd-2.2.0/root/etc/e-smith/templates/etc/raddb/radiusd.conf/70authenticate15ldap.add_ldap_auth e-smith-radiusd-2.2.0/root/etc/e-smith/templates/etc/raddb/radiusd.conf/70authenticate15ldap |
30 |
|
|
--- e-smith-radiusd-2.2.0/root/etc/e-smith/templates/etc/raddb/radiusd.conf/70authenticate15ldap.add_ldap_auth 2010-10-27 09:45:33.000000000 -0600 |
31 |
|
|
+++ e-smith-radiusd-2.2.0/root/etc/e-smith/templates/etc/raddb/radiusd.conf/70authenticate15ldap 2010-10-27 09:43:45.000000000 -0600 |
32 |
|
|
@@ -0,0 +1,5 @@ |
33 |
|
|
+{ |
34 |
|
|
+ push(@authModules, "\tAuth-Type LDAP\{\n\t\tldap\n\t\}\n"); |
35 |
|
|
+ $OUT = ''; |
36 |
|
|
+} |
37 |
|
|
+ |