summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-12-12 18:38:52 -0800
committerJeremy Allison <jra@samba.org>2007-12-12 18:38:52 -0800
commitaaf05ef410425a9d70d679fb2e0aa013f5c117a0 (patch)
tree0d5a0f7d35729d99e53fd5c65cba5a0b0a2294c5 /source3
parente897e9c501001cc8f5346fc9f778a38852ddfae8 (diff)
downloadsamba-aaf05ef410425a9d70d679fb2e0aa013f5c117a0.tar.gz
samba-aaf05ef410425a9d70d679fb2e0aa013f5c117a0.tar.bz2
samba-aaf05ef410425a9d70d679fb2e0aa013f5c117a0.zip
Developer doesn't cut it - need #define test for NSS_WRAPPER.
Hopefully this should fix the buildfarm. Jeremy. (This used to be commit 087489b7f2a8cd5868b54dbed3f3eed5d0709ba7)
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/smbpasswd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/smbpasswd.c b/source3/utils/smbpasswd.c
index a60d605902..493a249bea 100644
--- a/source3/utils/smbpasswd.c
+++ b/source3/utils/smbpasswd.c
@@ -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);