1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

Developer doesn't cut it - need #define test for NSS_WRAPPER.

Hopefully this should fix the buildfarm.
Jeremy.
This commit is contained in:
Jeremy Allison 2007-12-12 18:38:52 -08:00
parent a50c2d159c
commit 087489b7f2

View File

@ -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);