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:
@ -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':
|
||||
|
Reference in New Issue
Block a user