r16192: Fix timeformats in the winbind response struct.
authorGünther Deschner <gd@samba.org>
Tue, 13 Jun 2006 14:39:52 +0000 (14:39 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:17:23 +0000 (11:17 -0500)
(pam_winbind users were forced to change a password inappropriately)

Guenther

source/nsswitch/winbindd_nss.h

index 34e0d09721968bc0ac5a8598f991af5fc78cc633..2afefcc12caa1f37343962c63b12f2b05ef153f2 100644 (file)
@@ -330,17 +330,17 @@ struct winbindd_response {
                                uint16 min_length_password;
                                uint16 password_history;
                                uint32 password_properties;
-                               uint32 expire;
-                               uint32 min_passwordage;
+                               time_t expire;
+                               time_t min_passwordage;
                        } policy;
                        uint32 reject_reason;
                        struct info3_text {
-                               uint32 logon_time;
-                               uint32 logoff_time;
-                               uint32 kickoff_time;
-                               uint32 pass_last_set_time;
-                               uint32 pass_can_change_time;
-                               uint32 pass_must_change_time;
+                               time_t logon_time;
+                               time_t logoff_time;
+                               time_t kickoff_time;
+                               time_t pass_last_set_time;
+                               time_t pass_can_change_time;
+                               time_t pass_must_change_time;
                                uint16 logon_count;
                                uint16 bad_pw_count;
                                uint32 user_rid;