diff options
author | Günther Deschner <gd@samba.org> | 2006-05-02 20:03:30 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:16:40 -0500 |
commit | 1ef64a46df473bdd4e57f4a487ed2c0f77186cee (patch) | |
tree | ffe252ebd5f6f1fc5cc6b4207026f3b7e0ca68d5 | |
parent | af3490061b83ce83efb363bddcbcccf9f8a14d89 (diff) | |
download | samba-1ef64a46df473bdd4e57f4a487ed2c0f77186cee.tar.gz samba-1ef64a46df473bdd4e57f4a487ed2c0f77186cee.tar.bz2 samba-1ef64a46df473bdd4e57f4a487ed2c0f77186cee.zip |
r15399: Fix the build, sorry, Jerry :)
Guenther
(This used to be commit cc800ced60e5e6bbd923a3a0b7d58650c6e14121)
-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; |