/[smecontribs]/rpms/smeserver-lazy_admin_tools/contribs8/smeserver-lazy_admin_tools-1.0-patch4.patch
ViewVC logotype

Contents of /rpms/smeserver-lazy_admin_tools/contribs8/smeserver-lazy_admin_tools-1.0-patch4.patch

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


Revision 1.3 - (show annotations) (download)
Mon Jul 28 19:19:20 2014 UTC (9 years, 10 months ago) by unnilennium
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +0 -0 lines
FILE REMOVED
* Mon Jul 28 2014 JP PIALASSE tests@pialasse.com  1.1.-2.sme
- fix user not being deleted [SME: 8500]
- fix shadow activating user with blank password [SME: 7731]
- NFR added pseudonyms with @ [SME: 7706]
- note: lat-restore now do lat-pseudonyms later after lat-domains for pseudonyms with @ verification.

1 diff -up smeserver-lazy_admin_tools-1.0/root/usr/sbin/lat-pptp.patch4 smeserver-lazy_admin_tools-1.0/root/usr/sbin/lat-pptp
2 --- smeserver-lazy_admin_tools-1.0/root/usr/sbin/lat-pptp.patch4 2012-05-26 19:04:35.000000000 -0400
3 +++ smeserver-lazy_admin_tools-1.0/root/usr/sbin/lat-pptp 2013-06-24 20:25:45.000000000 -0400
4 @@ -84,6 +84,19 @@ foreach my $record (@records)
5 or die ("An error occurred while updating account '$username'.\n");
6 last SWITCH;
7 };
8 + ($MVer=="8") && do {
9 + db_set_prop(\%accounts, $username, 'VPNClientAccess', "no");
10 + system("/sbin/e-smith/signal-event", "remoteaccess-update", $username) == 0
11 + or die ("An error occurred while updating account '$username'.\n");
12 + last SWITCH;
13 + };
14 + ($MVer=="9") && do {
15 + db_set_prop(\%accounts, $username, 'VPNClientAccess', "no");
16 + system("/sbin/e-smith/signal-event", "remoteaccess-update", $username) == 0
17 + or die ("An error occurred while updating account '$username'.\n");
18 + last SWITCH;
19 + };
20 +
21 }
22 }
23 # Activate PPTP
24 @@ -108,6 +121,19 @@ foreach my $record (@records)
25 or die ("An error occurred while updating account '$username'.\n");
26 last SWITCH;
27 };
28 + ($MVer=="8") && do {
29 + db_set_prop(\%accounts, $username, 'VPNClientAccess', "yes");
30 + system("/sbin/e-smith/signal-event", "remoteaccess-update", $username) == 0
31 + or die ("An error occurred while updating account '$username'.\n");
32 + last SWITCH;
33 + };
34 + ($MVer=="9") && do {
35 + db_set_prop(\%accounts, $username, 'VPNClientAccess', "yes");
36 + system("/sbin/e-smith/signal-event", "remoteaccess-update", $username) == 0
37 + or die ("An error occurred while updating account '$username'.\n");
38 + last SWITCH;
39 + };
40 +
41 }
42 }
43 else { print "Unknown argument '$fields[1]' for user $username"; }

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