diff options
Diffstat (limited to 'source3/nsswitch')
-rw-r--r-- | source3/nsswitch/pam_winbind.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/nsswitch/pam_winbind.c b/source3/nsswitch/pam_winbind.c index b340b8c6a7..96fd4d1089 100644 --- a/source3/nsswitch/pam_winbind.c +++ b/source3/nsswitch/pam_winbind.c @@ -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; |