Developer doesn't cut it - need #define test for NSS_WRAPPER.
authorJeremy Allison <jra@samba.org>
Thu, 13 Dec 2007 02:38:52 +0000 (18:38 -0800)
committerJeremy Allison <jra@samba.org>
Thu, 13 Dec 2007 02:38:52 +0000 (18:38 -0800)
Hopefully this should fix the buildfarm.
Jeremy.
(This used to be commit 087489b7f2a8cd5868b54dbed3f3eed5d0709ba7)

source3/utils/smbpasswd.c

index a60d605902ed98db617f547450b34bb4a370be9d..493a249bea88af7a6bb9d4292bfcf8900d3b741b 100644 (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);