diff options
author | Volker Lendecke <vl@samba.org> | 2010-12-18 16:02:09 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2011-01-13 17:58:54 +0100 |
commit | b73822f35f15d296239db6b5bb2ed12075fb7606 (patch) | |
tree | f71b110f7b0cb4cff63def24eacc07e8f1a03d95 | |
parent | 8096bb259e62e5a6cba48ae1dd8c40c7b8757c0c (diff) | |
download | samba-b73822f35f15d296239db6b5bb2ed12075fb7606.tar.gz samba-b73822f35f15d296239db6b5bb2ed12075fb7606.tar.xz samba-b73822f35f15d296239db6b5bb2ed12075fb7606.zip |
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
(cherry picked from commit 993923880e213136de89b5b8d59f6f32a51b94b7)
(cherry picked from commit 15075858886ee208f800f9bfdcfaf6a56d8653de)
-rw-r--r-- | 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 89aa4a3c38f..aafb6f22529 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; |