diff options
author | Gerald Carter <jerry@samba.org> | 2004-11-11 18:11:40 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:53:14 -0500 |
commit | e8bf2f7060910ac8deae0dba005f79f1f972ea14 (patch) | |
tree | 00d9508c25e96065c1609d84f2389aed6b48f986 /source3 | |
parent | a4fab4d51a1c201810414a5b21b9d7bec4442646 (diff) | |
download | samba-e8bf2f7060910ac8deae0dba005f79f1f972ea14.tar.gz |
r3683: BUG 2017: fix testparm reporting for the passwd program string
(This used to be commit 23422aeec04dfb72a0ad5b0a67622cec69ca502d)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/utils/testparm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/testparm.c b/source3/utils/testparm.c index d4dc22ec915..e1314078311 100644 --- a/source3/utils/testparm.c +++ b/source3/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; } |