git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61277c7
)
Only add the non-root escape on !developer.
author
Jeremy Allison
<jra@samba.org>
Thu, 13 Dec 2007 02:07:02 +0000
(18:07 -0800)
committer
Jeremy Allison
<jra@samba.org>
Thu, 13 Dec 2007 02:07:02 +0000
(18:07 -0800)
Jeremy.
(This used to be commit
a50c2d159c754c6ff88649ed859f2b3f9c24f6a1
)
source3/utils/smbpasswd.c
patch
|
blob
|
history
diff --git
a/source3/utils/smbpasswd.c
b/source3/utils/smbpasswd.c
index 17eb43cb7e282a8f0c82eeee9244b69e66eadd4e..a60d605902ed98db617f547450b34bb4a370be9d 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
0
+#if
!defined(DEVELOPER)
if (getuid() != 0) {
fprintf(stderr, "smbpasswd -L can only be used by root.\n");
exit(1);