/[smeserver]/rpms/e-smith-radiusd/sme8/e-smith-radiusd-1.0.0-allowForMoreAuthModules.patch
ViewVC logotype

Annotation of /rpms/e-smith-radiusd/sme8/e-smith-radiusd-1.0.0-allowForMoreAuthModules.patch

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


Revision 1.1 - (hide annotations) (download)
Wed Aug 20 20:15:39 2008 UTC (16 years, 2 months ago) by snetram
Branch: MAIN
CVS Tags: e-smith-radiusd-1_0_0-18_el5_sme
* Wed Aug 20 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-18
- Allow for multiple auth modules in radiusd.conf [SME: 4166]

1 snetram 1.1 diff -Nur -x '*.orig' -x '*.rej' e-smith-radiusd-1.0.0/root/etc/e-smith/templates/etc/raddb/radiusd.conf/70authenticate00setup mezzanine_patched_e-smith-radiusd-1.0.0/root/etc/e-smith/templates/etc/raddb/radiusd.conf/00setup10authModules
2     --- e-smith-radiusd-1.0.0/root/etc/e-smith/templates/etc/raddb/radiusd.conf/70authenticate00setup 1970-01-01 01:00:00.000000000 +0100
3     +++ mezzanine_patched_e-smith-radiusd-1.0.0/root/etc/e-smith/templates/etc/raddb/radiusd.conf/70authenticate00setup 2008-08-20 21:41:11.000000000 +0200
4     @@ -0,0 +1,5 @@
5     +{
6     + my @authModules = '';
7     + $OUT = '';
8     +}
9     +
10     diff -Nur -x '*.orig' -x '*.rej' e-smith-radiusd-1.0.0/root/etc/e-smith/templates/etc/raddb/radiusd.conf/70authenticate10AuthMsChap mezzanine_patched_e-smith-radiusd-1.0.0/root/etc/e-smith/templates/etc/raddb/radiusd.conf/00setup20AuthMsChap
11     --- e-smith-radiusd-1.0.0/root/etc/e-smith/templates/etc/raddb/radiusd.conf/70authenticate10AuthMsChap 1970-01-01 01:00:00.000000000 +0100
12     +++ mezzanine_patched_e-smith-radiusd-1.0.0/root/etc/e-smith/templates/etc/raddb/radiusd.conf/70authenticate10AuthMsChap 2008-08-20 21:41:13.000000000 +0200
13     @@ -0,0 +1,5 @@
14     +{
15     + push(@authModules, "\tAuth-Type MS-CHAP\{\n\t\tmschap\n\t\}\n");
16     + $OUT = '';
17     +}
18     +
19     diff -Nur -x '*.orig' -x '*.rej' e-smith-radiusd-1.0.0/root/etc/e-smith/templates/etc/raddb/radiusd.conf/70authenticate20authEap mezzanine_patched_e-smith-radiusd-1.0.0/root/etc/e-smith/templates/etc/raddb/radiusd.conf/00setup25authEap
20     --- e-smith-radiusd-1.0.0/root/etc/e-smith/templates/etc/raddb/radiusd.conf/70authenticate20authEap 1970-01-01 01:00:00.000000000 +0100
21     +++ mezzanine_patched_e-smith-radiusd-1.0.0/root/etc/e-smith/templates/etc/raddb/radiusd.conf/70authenticate20authEap 2008-08-20 21:41:14.000000000 +0200
22     @@ -0,0 +1,4 @@
23     +{
24     + push(@authModules, "\teap\n");
25     + $OUT = '';
26     +}
27     diff -Nur -x '*.orig' -x '*.rej' e-smith-radiusd-1.0.0/root/etc/e-smith/templates/etc/raddb/radiusd.conf/70authenticate mezzanine_patched_e-smith-radiusd-1.0.0/root/etc/e-smith/templates/etc/raddb/radiusd.conf/70authenticate
28     --- e-smith-radiusd-1.0.0/root/etc/e-smith/templates/etc/raddb/radiusd.conf/70authenticate 2005-06-11 20:45:20.000000000 +0200
29     +++ mezzanine_patched_e-smith-radiusd-1.0.0/root/etc/e-smith/templates/etc/raddb/radiusd.conf/70authenticate 1970-01-01 01:00:00.000000000 +0100
30     @@ -1,28 +0,0 @@
31     -{
32     -# Authentication.
33     -#
34     -# This section lists which modules are available for authentication.
35     -# Note that it does NOT mean 'try each module in order'. It means
36     -# that a module from the 'authorize' section adds a configuration
37     -# attribute 'Auth-Type := FOO'. That authentication type is then
38     -# used to pick the apropriate module from the list below.
39     -#
40     -# In general, you SHOULD NOT set the Auth-Type attribute. The server
41     -# will figure it out on its own, and will do the right thing. The
42     -# most common side effect of erroneously setting the Auth-Type
43     -# attribute is that one authentication method will work, but the
44     -# others will not.
45     -#
46     -# The common reasons to set the Auth-Type attribute by hand
47     -# is to either forcibly reject the user, or forcibly accept him.
48     -}
49     -authenticate \{
50     -{
51     - # MSCHAP authentication.
52     -} Auth-Type MS-CHAP \{
53     - mschap
54     - \}
55     -{
56     - # Allow EAP authentication.
57     -} eap
58     -\}
59     diff -Nur -x '*.orig' -x '*.rej' e-smith-radiusd-1.0.0/root/etc/e-smith/templates/etc/raddb/radiusd.conf/70authenticate99process mezzanine_patched_e-smith-radiusd-1.0.0/root/etc/e-smith/templates/etc/raddb/radiusd.conf/70authenticate99process
60     --- e-smith-radiusd-1.0.0/root/etc/e-smith/templates/etc/raddb/radiusd.conf/70authenticate99process 1970-01-01 01:00:00.000000000 +0100
61     +++ mezzanine_patched_e-smith-radiusd-1.0.0/root/etc/e-smith/templates/etc/raddb/radiusd.conf/70authenticate99process 2008-08-20 21:59:30.000000000 +0200
62     @@ -0,0 +1,23 @@
63     +{
64     +# Authentication.
65     +#
66     +# This section lists which modules are available for authentication.
67     +# Note that it does NOT mean 'try each module in order'. It means
68     +# that a module from the 'authorize' section adds a configuration
69     +# attribute 'Auth-Type := FOO'. That authentication type is then
70     +# used to pick the apropriate module from the list below.
71     +#
72     +# In general, you SHOULD NOT set the Auth-Type attribute. The server
73     +# will figure it out on its own, and will do the right thing. The
74     +# most common side effect of erroneously setting the Auth-Type
75     +# attribute is that one authentication method will work, but the
76     +# others will not.
77     +#
78     +# The common reasons to set the Auth-Type attribute by hand
79     +# is to either forcibly reject the user, or forcibly accept him.
80     +
81     + $OUT = "authenticate \{\n";
82     + $OUT .= "$_\n" foreach @authModules;
83     + $OUT .= "\}\n";
84     +
85     +}

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