1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-18 17:57:55 +03:00

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

This commit is contained in:
Gerald Carter 2004-11-11 18:11:40 +00:00 committed by Gerald (Jerry) Carter
parent c52e663c4a
commit 23422aeec0

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