/[smeserver]/rpms/e-smith-radiusd/sme8/e-smith-radiusd-2.2.0-add_ldap_auth.patch
ViewVC logotype

Annotation of /rpms/e-smith-radiusd/sme8/e-smith-radiusd-2.2.0-add_ldap_auth.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Wed Oct 27 15:47:12 2010 UTC (14 years ago) by slords
Branch: MAIN
CVS Tags: e-smith-radiusd-2_2_0-4_el5_sme, e-smith-radiusd-2_2_0-3_el5_sme, HEAD
* Tue Oct 27 2010 Shad L. Lords <slords@mail.com> 2.2.0-3.sme
- Add ldap as an auth type to radius [SME: 6313]

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     +

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed