/[smeserver]/rpms/e-smith-lib/sme7/e-smith-lib-1.18.0-re_enable_locked_user.patch
ViewVC logotype

Contents of /rpms/e-smith-lib/sme7/e-smith-lib-1.18.0-re_enable_locked_user.patch

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


Revision 1.1 - (show annotations) (download)
Mon Jan 21 17:54:06 2008 UTC (16 years, 4 months ago) by bytegw
Branch: MAIN
CVS Tags: e-smith-lib-1_18_0-23_el4_sme, e-smith-lib-1_18_0-24_el4_sme, e-smith-lib-1_18_0-28_el4_sme, e-smith-lib-1_18_0-22_el4_sme, e-smith-lib-1_18_0-27_el4_sme, e-smith-lib-1_18_0-21_el4_sme, e-smith-lib-1_18_0-26_el4_sme, e-smith-lib-1_18_0-20_el4_sme, e-smith-lib-1_18_0-25_el4_sme
Updates

1 diff -Nur -x '*.orig' -x '*.rej' e-smith-lib-1.18.0/root/usr/lib/perl5/site_perl/esmith/util.pm mezzanine_patched_e-smith-lib-1.18.0/root/usr/lib/perl5/site_perl/esmith/util.pm
2 --- e-smith-lib-1.18.0/root/usr/lib/perl5/site_perl/esmith/util.pm 2008-01-20 22:46:34.000000000 +0000
3 +++ mezzanine_patched_e-smith-lib-1.18.0/root/usr/lib/perl5/site_perl/esmith/util.pm 2008-01-20 22:44:06.000000000 +0000
4 @@ -741,8 +741,8 @@
5 && die "Failed to set Samba password for account $username.\n";
6 exit 0;
7 }
8 -
9 - return 1; # success
10 + # Now we enable the account
11 + return system("$smbPasswdProg -e $username >/dev/null") ? 0 : 1;
12 }
13
14 =pod

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