From e8bf2f7060910ac8deae0dba005f79f1f972ea14 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Thu, 11 Nov 2004 18:11:40 +0000 Subject: r3683: BUG 2017: fix testparm reporting for the passwd program string (This used to be commit 23422aeec04dfb72a0ad5b0a67622cec69ca502d) --- source3/utils/testparm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/utils/testparm.c b/source3/utils/testparm.c index d4dc22ec91..e131407831 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; } -- cgit