1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

Fix the buildfarm until I figure out how to allow

smbpasswd -L for non-root on the buildfarm only.
Jeremy.
(This used to be commit 1bb5ce824f)
This commit is contained in:
Jeremy Allison
2007-12-12 17:56:28 -08:00
parent 9373e1ea90
commit 61277c718e

View File

@ -94,10 +94,12 @@ static int process_options(int argc, char **argv, int local_flags)
while ((ch = getopt(argc, argv, "c:axdehminjr:sw:R:D:U:LW")) != EOF) {
switch(ch) {
case 'L':
#if 0
if (getuid() != 0) {
fprintf(stderr, "smbpasswd -L can only be used by root.\n");
exit(1);
}
#endif
local_flags |= LOCAL_AM_ROOT;
break;
case 'c':