summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-06-13 14:39:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:17:23 -0500
commit395aa679f05516449f41715b0003089ae420652f (patch)
treeeeb177b3a6e761b0904ad00cd9572bef980907fa
parent1628d33ba0bb8b6cf7f5253c99b6aebcb304695f (diff)
downloadsamba-395aa679f05516449f41715b0003089ae420652f.tar.gz
samba-395aa679f05516449f41715b0003089ae420652f.tar.bz2
samba-395aa679f05516449f41715b0003089ae420652f.zip
r16192: Fix timeformats in the winbind response struct.
(pam_winbind users were forced to change a password inappropriately) Guenther (This used to be commit 65643d31725a4e3fe157d66e9ecad03a65a484e2)
-rw-r--r--source3/nsswitch/winbindd_nss.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/source3/nsswitch/winbindd_nss.h b/source3/nsswitch/winbindd_nss.h
index 34e0d09721..2afefcc12c 100644
--- a/source3/nsswitch/winbindd_nss.h
+++ b/source3/nsswitch/winbindd_nss.h
@@ -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;