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 |