From: Günther Deschner Date: Tue, 2 May 2006 20:03:30 +0000 (+0000) Subject: r15399: Fix the build, sorry, Jerry :) X-Git-Tag: samba-4.0.0alpha6~801^2~8521 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ef64a46df473bdd4e57f4a487ed2c0f77186cee;p=thirdparty%2Fsamba.git r15399: Fix the build, sorry, Jerry :) Guenther (This used to be commit cc800ced60e5e6bbd923a3a0b7d58650c6e14121) --- diff --git a/source3/nsswitch/pam_winbind.c b/source3/nsswitch/pam_winbind.c index b340b8c6a76..96fd4d1089c 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;