1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-11 16:58:40 +03:00

r3683: BUG 2017: fix testparm reporting for the passwd program string

(This used to be commit 23422aeec04dfb72a0ad5b0a67622cec69ca502d)
This commit is contained in:
Gerald Carter 2004-11-11 18:11:40 +00:00 committed by Gerald (Jerry) Carter
parent a4fab4d51a
commit e8bf2f7060

View File

@ -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;
}