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:
parent
c52e663c4a
commit
23422aeec0
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user