svn commit: samba r15399 - branches/SAMBA_3_0/source/nsswitch trunk/source/nsswitch

gd at samba.org gd at samba.org
Tue May 2 20:03:30 GMT 2006


Author: gd
Date: 2006-05-02 20:03:30 +0000 (Tue, 02 May 2006)
New Revision: 15399

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15399

Log:
Fix the build, sorry, Jerry :)

Guenther

Modified:
   branches/SAMBA_3_0/source/nsswitch/pam_winbind.c
   trunk/source/nsswitch/pam_winbind.c


Changeset:
Modified: branches/SAMBA_3_0/source/nsswitch/pam_winbind.c
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/pam_winbind.c	2006-05-02 19:22:39 UTC (rev 15398)
+++ branches/SAMBA_3_0/source/nsswitch/pam_winbind.c	2006-05-02 20:03:30 UTC (rev 15399)
@@ -554,8 +554,8 @@
 			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;

Modified: trunk/source/nsswitch/pam_winbind.c
===================================================================
--- trunk/source/nsswitch/pam_winbind.c	2006-05-02 19:22:39 UTC (rev 15398)
+++ trunk/source/nsswitch/pam_winbind.c	2006-05-02 20:03:30 UTC (rev 15399)
@@ -554,8 +554,8 @@
 			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;



More information about the samba-cvs mailing list