mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
Developer doesn't cut it - need #define test for NSS_WRAPPER.
Hopefully this should fix the buildfarm.
Jeremy.
(This used to be commit 087489b7f2
)
This commit is contained in:
parent
e897e9c501
commit
aaf05ef410
@ -94,7 +94,7 @@ 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 !defined(DEVELOPER)
|
||||
#if !defined(NSS_WRAPPER)
|
||||
if (getuid() != 0) {
|
||||
fprintf(stderr, "smbpasswd -L can only be used by root.\n");
|
||||
exit(1);
|
||||
|
Loading…
Reference in New Issue
Block a user