git.samba.org
/
gd
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e897e9c
)
Developer doesn't cut it - need #define test for NSS_WRAPPER.
author
Jeremy Allison
<jra@samba.org>
Thu, 13 Dec 2007 02:38:52 +0000
(18:38 -0800)
committer
Jeremy 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
patch
|
blob
|
history
diff --git
a/source3/utils/smbpasswd.c
b/source3/utils/smbpasswd.c
index a60d605902ed98db617f547450b34bb4a370be9d..493a249bea88af7a6bb9d4292bfcf8900d3b741b 100644
(file)
--- 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(
DEVELO
PER)
+#if !defined(
NSS_WRAP
PER)
if (getuid() != 0) {
fprintf(stderr, "smbpasswd -L can only be used by root.\n");
exit(1);