mirror of
https://github.com/samba-team/samba.git
synced 2025-03-10 12:58:35 +03:00
r15399: Fix the build, sorry, Jerry :)
Guenther (This used to be commit cc800ced60e5e6bbd923a3a0b7d58650c6e14121)
This commit is contained in:
parent
af3490061b
commit
1ef64a46df
@ -554,8 +554,8 @@ static int winbind_chauthtok_request(pam_handle_t * pamh,
|
||||
case -1:
|
||||
break;
|
||||
case REJECT_REASON_OTHER:
|
||||
if ((response.data.auth.policy.min_passwordage > 0)) &&
|
||||
(pwd_last_set + response.data.auth.policy.min_passwordage > time(NULL)) {
|
||||
if ((response.data.auth.policy.min_passwordage > 0) &&
|
||||
(pwd_last_set + response.data.auth.policy.min_passwordage > time(NULL))) {
|
||||
PAM_WB_REMARK_DIRECT(pamh, "NT_STATUS_PWD_TOO_RECENT");
|
||||
}
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user