From 87d806c7c89cb650d4c4b62dd3ed18152dfed3a4 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 18 Dec 2010 16:02:09 +0100 Subject: [PATCH] s3: Fix bug 7066 -- wbcAuthenticateEx gives unix times We might eventually want to change this, but right now we get unix times out of the winbind pipe struct --- source3/auth/auth_util.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c index 89aa4a3..aafb6f2 100644 --- a/source3/auth/auth_util.c +++ b/source3/auth/auth_util.c @@ -2018,7 +2018,7 @@ NTSTATUS make_server_info_wbcAuthUserInfo(TALLOC_CTX *mem_ctx, if (!pdb_set_pass_last_set_time( sam_account, - nt_time_to_unix(info->pass_last_set_time), + info->pass_last_set_time, PDB_CHANGED)) { TALLOC_FREE(result); return NT_STATUS_NO_MEMORY; @@ -2026,7 +2026,7 @@ NTSTATUS make_server_info_wbcAuthUserInfo(TALLOC_CTX *mem_ctx, if (!pdb_set_pass_can_change_time( sam_account, - nt_time_to_unix(info->pass_can_change_time), + info->pass_can_change_time, PDB_CHANGED)) { TALLOC_FREE(result); return NT_STATUS_NO_MEMORY; @@ -2034,7 +2034,7 @@ NTSTATUS make_server_info_wbcAuthUserInfo(TALLOC_CTX *mem_ctx, if (!pdb_set_pass_must_change_time( sam_account, - nt_time_to_unix(info->pass_must_change_time), + info->pass_must_change_time, PDB_CHANGED)) { TALLOC_FREE(result); return NT_STATUS_NO_MEMORY; -- 1.7.3.2