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

Contents of /rpms/e-smith-lib/sme8/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.2 - (show annotations) (download)
Wed Aug 20 21:25:31 2008 UTC (15 years, 9 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
New dev stream

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