git.samba.org
/
tprouty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c52e663
)
r3683: BUG 2017: fix testparm reporting for the passwd program string
author
Gerald Carter
<jerry@samba.org>
Thu, 11 Nov 2004 18:11:40 +0000
(18:11 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 15:53:14 +0000
(10:53 -0500)
source/utils/testparm.c
patch
|
blob
|
history
diff --git
a/source/utils/testparm.c
b/source/utils/testparm.c
index d4dc22ec915651c3c8ea12aaf7cfd335edf6c49f..e13140783111e2aeac59e8e47cc82318d4d0b922 100644
(file)
--- a/
source/utils/testparm.c
+++ b/
source/utils/testparm.c
@@
-145,7
+145,7
@@
parameter.\n");
ret = 1;
} else
/* check if there's a %u parameter present */
- if(strstr_m(lp_passwd_
chat
(), "%u") == NULL) {
+ if(strstr_m(lp_passwd_
program
(), "%u") == NULL) {
fprintf(stderr, "ERROR: the 'passwd program' (%s) requires a '%%u' parameter.\n", lp_passwd_program());
ret = 1;
}