From: Gerald Carter Date: Thu, 11 Nov 2004 18:11:40 +0000 (+0000) Subject: r3683: BUG 2017: fix testparm reporting for the passwd program string X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~5611 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=23422aeec04dfb72a0ad5b0a67622cec69ca502d;p=thirdparty%2Fsamba.git r3683: BUG 2017: fix testparm reporting for the passwd program string --- 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; }