summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-11-11 18:11:40 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:53:14 -0500
commit23422aeec04dfb72a0ad5b0a67622cec69ca502d (patch)
tree04ce27a5ef13f9904546870f489b06f755805042 /source
parentc52e663c4a32b975796383834b2c04796daf8f29 (diff)
downloadsamba-23422aeec04dfb72a0ad5b0a67622cec69ca502d.tar.gz
samba-23422aeec04dfb72a0ad5b0a67622cec69ca502d.tar.xz
samba-23422aeec04dfb72a0ad5b0a67622cec69ca502d.zip
r3683: BUG 2017: fix testparm reporting for the passwd program string
Diffstat (limited to 'source')
-rw-r--r--source/utils/testparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/utils/testparm.c b/source/utils/testparm.c
index d4dc22ec915..e1314078311 100644
--- 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;
}