/[smeserver]/rpms/e-smith-radiusd/sme10/e-smith-radiusd-2.6.0-bz11735-PAP-auth.patch
ViewVC logotype

Annotation of /rpms/e-smith-radiusd/sme10/e-smith-radiusd-2.6.0-bz11735-PAP-auth.patch

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


Revision 1.1 - (hide annotations) (download)
Sat Nov 6 19:18:04 2021 UTC (2 years, 11 months ago) by terryfage
Branch: MAIN
CVS Tags: e-smith-radiusd-2_6_0-20_el7_sme, e-smith-radiusd-2_6_0-23_el7_sme, e-smith-radiusd-2_6_0-19_el7_sme, e-smith-radiusd-2_6_0-22_el7_sme, e-smith-radiusd-2_6_0-21_el7_sme, e-smith-radiusd-2_6_0-18_el7_sme, HEAD
ut

q
quit
exit
t
:
:quit
CVt

: ----------------------------------------------------------------------

1 terryfage 1.1 diff -Nur -x '*.orig' -x '*.rej' e-smith-radiusd-2.6.0/createlinks mezzanine_patched_e-smith-radiusd-2.6.0/createlinks
2     --- e-smith-radiusd-2.6.0/createlinks 2021-10-31 23:06:13.095844765 -0500
3     +++ mezzanine_patched_e-smith-radiusd-2.6.0/createlinks 2021-10-31 22:39:23.105308462 -0500
4     @@ -5,7 +5,7 @@
5     #--------------------------------------------------
6     # general radiusd configuration
7     #--------------------------------------------------
8     -foreach (qw(raddb/radiusd.conf raddb/users))
9     +foreach (qw(raddb/radiusd.conf raddb/mods-config/files/authorize))
10     {
11     templates2events("/etc/$_", qw(
12     bootstrap-console-save
13     @@ -34,7 +34,8 @@
14     raddb/sites-available/default
15     raddb/sites-available/inner-tunnel
16     raddb/proxy.conf
17     - radiusclient-ng/servers))
18     + radiusclient-ng/servers
19     + raddb/mods-config/files/authorize))
20     {
21     templates2events("/etc/$_", qw(
22     bootstrap-console-save
23     diff -Nur -x '*.orig' -x '*.rej' e-smith-radiusd-2.6.0/root/etc/e-smith/templates/etc/raddb/mods-config/files/authorize/10noroot mezzanine_patched_e-smith-radiusd-2.6.0/root/etc/e-smith/templates/etc/raddb/mods-config/files/authorize/10noroot
24     --- e-smith-radiusd-2.6.0/root/etc/e-smith/templates/etc/raddb/mods-config/files/authorize/10noroot 1969-12-31 18:00:00.000000000 -0600
25     +++ mezzanine_patched_e-smith-radiusd-2.6.0/root/etc/e-smith/templates/etc/raddb/mods-config/files/authorize/10noroot 2005-06-11 12:29:56.000000000 -0500
26     @@ -0,0 +1,2 @@
27     +root Auth-Type := Reject
28     +
29     diff -Nur -x '*.orig' -x '*.rej' e-smith-radiusd-2.6.0/root/etc/e-smith/templates/etc/raddb/mods-config/files/authorize/20vpnusers mezzanine_patched_e-smith-radiusd-2.6.0/root/etc/e-smith/templates/etc/raddb/mods-config/files/authorize/20vpnusers
30     --- e-smith-radiusd-2.6.0/root/etc/e-smith/templates/etc/raddb/mods-config/files/authorize/20vpnusers 1969-12-31 18:00:00.000000000 -0600
31     +++ mezzanine_patched_e-smith-radiusd-2.6.0/root/etc/e-smith/templates/etc/raddb/mods-config/files/authorize/20vpnusers 2008-10-07 12:37:19.000000000 -0500
32     @@ -0,0 +1,29 @@
33     +{
34     + use esmith::AccountsDB;
35     +
36     + my $adb = esmith::AccountsDB->open_ro()
37     + or die "Couldnt' open AccountsDB\n";
38     +
39     + my @accounts = $adb->get('admin');
40     + push @accounts, $adb->users;
41     +
42     + foreach my $account (@accounts)
43     + {
44     + next unless (($account->prop('VPNClientAccess') || 'no') eq 'yes');
45     +
46     + next unless (($account->prop('PasswordSet') || 'no') eq 'yes');
47     +
48     + my $name = $account->key;
49     +
50     + $OUT .= <<HERE;
51     +$name Service-Type == Framed-User, Framed-Protocol == PPP
52     +HERE
53     +
54     + my $pptpip = $account->prop('PPTPIP');
55     + next unless ($pptpip);
56     +
57     + $OUT .= <<HER2;
58     + Framed-IP-Address = $pptpip, Framed-Netmask = 255.255.255.255
59     +HER2
60     + }
61     +}
62     diff -Nur -x '*.orig' -x '*.rej' e-smith-radiusd-2.6.0/root/etc/e-smith/templates/etc/raddb/mods-config/files/authorize/30eap mezzanine_patched_e-smith-radiusd-2.6.0/root/etc/e-smith/templates/etc/raddb/mods-config/files/authorize/30eap
63     --- e-smith-radiusd-2.6.0/root/etc/e-smith/templates/etc/raddb/mods-config/files/authorize/30eap 1969-12-31 18:00:00.000000000 -0600
64     +++ mezzanine_patched_e-smith-radiusd-2.6.0/root/etc/e-smith/templates/etc/raddb/mods-config/files/authorize/30eap 2005-06-13 11:11:29.000000000 -0500
65     @@ -0,0 +1 @@
66     +DEFAULT EAP-Message =* Something
67     diff -Nur -x '*.orig' -x '*.rej' e-smith-radiusd-2.6.0/root/etc/e-smith/templates/etc/raddb/mods-config/files/authorize/90deny mezzanine_patched_e-smith-radiusd-2.6.0/root/etc/e-smith/templates/etc/raddb/mods-config/files/authorize/90deny
68     --- e-smith-radiusd-2.6.0/root/etc/e-smith/templates/etc/raddb/mods-config/files/authorize/90deny 1969-12-31 18:00:00.000000000 -0600
69     +++ mezzanine_patched_e-smith-radiusd-2.6.0/root/etc/e-smith/templates/etc/raddb/mods-config/files/authorize/90deny 2005-06-11 12:29:29.000000000 -0500
70     @@ -0,0 +1 @@
71     +DEFAULT Auth-Type := Reject
72     diff -Nur -x '*.orig' -x '*.rej' e-smith-radiusd-2.6.0/root/etc/e-smith/templates/etc/raddb/users/10noroot mezzanine_patched_e-smith-radiusd-2.6.0/root/etc/e-smith/templates/etc/raddb/users/10noroot
73     --- e-smith-radiusd-2.6.0/root/etc/e-smith/templates/etc/raddb/users/10noroot 2005-06-11 12:29:56.000000000 -0500
74     +++ mezzanine_patched_e-smith-radiusd-2.6.0/root/etc/e-smith/templates/etc/raddb/users/10noroot 1969-12-31 18:00:00.000000000 -0600
75     @@ -1,2 +0,0 @@
76     -root Auth-Type := Reject
77     -
78     diff -Nur -x '*.orig' -x '*.rej' e-smith-radiusd-2.6.0/root/etc/e-smith/templates/etc/raddb/users/20vpnusers mezzanine_patched_e-smith-radiusd-2.6.0/root/etc/e-smith/templates/etc/raddb/users/20vpnusers
79     --- e-smith-radiusd-2.6.0/root/etc/e-smith/templates/etc/raddb/users/20vpnusers 2008-10-07 12:37:19.000000000 -0500
80     +++ mezzanine_patched_e-smith-radiusd-2.6.0/root/etc/e-smith/templates/etc/raddb/users/20vpnusers 1969-12-31 18:00:00.000000000 -0600
81     @@ -1,29 +0,0 @@
82     -{
83     - use esmith::AccountsDB;
84     -
85     - my $adb = esmith::AccountsDB->open_ro()
86     - or die "Couldnt' open AccountsDB\n";
87     -
88     - my @accounts = $adb->get('admin');
89     - push @accounts, $adb->users;
90     -
91     - foreach my $account (@accounts)
92     - {
93     - next unless (($account->prop('VPNClientAccess') || 'no') eq 'yes');
94     -
95     - next unless (($account->prop('PasswordSet') || 'no') eq 'yes');
96     -
97     - my $name = $account->key;
98     -
99     - $OUT .= <<HERE;
100     -$name Service-Type == Framed-User, Framed-Protocol == PPP
101     -HERE
102     -
103     - my $pptpip = $account->prop('PPTPIP');
104     - next unless ($pptpip);
105     -
106     - $OUT .= <<HER2;
107     - Framed-IP-Address = $pptpip, Framed-Netmask = 255.255.255.255
108     -HER2
109     - }
110     -}
111     diff -Nur -x '*.orig' -x '*.rej' e-smith-radiusd-2.6.0/root/etc/e-smith/templates/etc/raddb/users/30eap mezzanine_patched_e-smith-radiusd-2.6.0/root/etc/e-smith/templates/etc/raddb/users/30eap
112     --- e-smith-radiusd-2.6.0/root/etc/e-smith/templates/etc/raddb/users/30eap 2005-06-13 11:11:29.000000000 -0500
113     +++ mezzanine_patched_e-smith-radiusd-2.6.0/root/etc/e-smith/templates/etc/raddb/users/30eap 1969-12-31 18:00:00.000000000 -0600
114     @@ -1 +0,0 @@
115     -DEFAULT EAP-Message =* Something
116     diff -Nur -x '*.orig' -x '*.rej' e-smith-radiusd-2.6.0/root/etc/e-smith/templates/etc/raddb/users/90deny mezzanine_patched_e-smith-radiusd-2.6.0/root/etc/e-smith/templates/etc/raddb/users/90deny
117     --- e-smith-radiusd-2.6.0/root/etc/e-smith/templates/etc/raddb/users/90deny 2005-06-11 12:29:29.000000000 -0500
118     +++ mezzanine_patched_e-smith-radiusd-2.6.0/root/etc/e-smith/templates/etc/raddb/users/90deny 1969-12-31 18:00:00.000000000 -0600
119     @@ -1 +0,0 @@
120     -DEFAULT Auth-Type := Reject
121     diff -Nur -x '*.orig' -x '*.rej' e-smith-radiusd-2.6.0/root/etc/e-smith/templates.metadata/etc/raddb/mods-config/files/authorize mezzanine_patched_e-smith-radiusd-2.6.0/root/etc/e-smith/templates.metadata/etc/raddb/mods-config/files/authorize
122     --- e-smith-radiusd-2.6.0/root/etc/e-smith/templates.metadata/etc/raddb/mods-config/files/authorize 1969-12-31 18:00:00.000000000 -0600
123     +++ mezzanine_patched_e-smith-radiusd-2.6.0/root/etc/e-smith/templates.metadata/etc/raddb/mods-config/files/authorize 2013-02-13 17:00:55.000000000 -0600
124     @@ -0,0 +1,3 @@
125     +PERMS=0640
126     +UID="root"
127     +GID="radiusd"
128     diff -Nur -x '*.orig' -x '*.rej' e-smith-radiusd-2.6.0/root/etc/e-smith/templates.metadata/etc/raddb/users mezzanine_patched_e-smith-radiusd-2.6.0/root/etc/e-smith/templates.metadata/etc/raddb/users
129     --- e-smith-radiusd-2.6.0/root/etc/e-smith/templates.metadata/etc/raddb/users 2013-02-13 17:00:55.000000000 -0600
130     +++ mezzanine_patched_e-smith-radiusd-2.6.0/root/etc/e-smith/templates.metadata/etc/raddb/users 1969-12-31 18:00:00.000000000 -0600
131     @@ -1,3 +0,0 @@
132     -PERMS=0640
133     -UID="root"
134     -GID="radiusd"
135     diff -Nur -x '*.orig' -x '*.rej' e-smith-radiusd-2.6.0/root/etc/e-smith/templates/etc/raddb/sites-available/default/40authenticate25authPap mezzanine_patched_e-smith-radiusd-2.6.0/root/etc/e-smith/templates/etc/raddb/sites-available/default/40authenticate25authPap
136     --- e-smith-radiusd-2.6.0/root/etc/e-smith/templates/etc/raddb/sites-available/default/40authenticate25authPap 1969-12-31 18:00:00.000000000 -0600
137     +++ mezzanine_patched_e-smith-radiusd-2.6.0/root/etc/e-smith/templates/etc/raddb/sites-available/default/40authenticate25authPap 2021-11-01 03:21:34.645224075 -0500
138     @@ -0,0 +1,4 @@
139     +{
140     + push(@authModules, "\tpap\n");
141     + $OUT = '';
142     +}

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