diff options
author | Jeremy Allison <jra@samba.org> | 2007-12-12 17:56:28 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2007-12-12 17:56:28 -0800 |
commit | 1bb5ce824f800d967e2a92e946dd6ce7c4580b93 (patch) | |
tree | 42aecd59185b824351349992f4d10c545546714d /source/utils/smbpasswd.c | |
parent | 0723760ba47a465d2ff5a22a680f1b5196eca7d8 (diff) | |
download | samba-1bb5ce824f800d967e2a92e946dd6ce7c4580b93.tar.gz samba-1bb5ce824f800d967e2a92e946dd6ce7c4580b93.tar.xz samba-1bb5ce824f800d967e2a92e946dd6ce7c4580b93.zip |
Fix the buildfarm until I figure out how to allow
smbpasswd -L for non-root on the buildfarm only.
Jeremy.
Diffstat (limited to 'source/utils/smbpasswd.c')
-rw-r--r-- | source/utils/smbpasswd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/utils/smbpasswd.c b/source/utils/smbpasswd.c index deed08fea32..17eb43cb7e2 100644 --- a/source/utils/smbpasswd.c +++ b/source/utils/smbpasswd.c @@ -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': |