From 1ef64a46df473bdd4e57f4a487ed2c0f77186cee Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 2 May 2006 20:03:30 +0000 Subject: r15399: Fix the build, sorry, Jerry :) Guenther (This used to be commit cc800ced60e5e6bbd923a3a0b7d58650c6e14121) --- source3/nsswitch/pam_winbind.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3') 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; -- cgit