[SCM] Samba Shared Repository - branch v3-5-test updated

Karolin Seeger kseeger at samba.org
Fri Dec 31 12:11:43 MST 2010


The branch, v3-5-test has been updated
       via  9939238 s3: Fix bug 7066 -- wbcAuthenticateEx gives unix times
      from  9b1d0d4 s3: Fix another aspect of bug 7262

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-5-test


- Log -----------------------------------------------------------------
commit 993923880e213136de89b5b8d59f6f32a51b94b7
Author: Volker Lendecke <vl at samba.org>
Date:   Sat Dec 18 16:02:09 2010 +0100

    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

-----------------------------------------------------------------------

Summary of changes:
 source3/auth/auth_util.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c
index 4a7160a..69d5c65 100644
--- a/source3/auth/auth_util.c
+++ b/source3/auth/auth_util.c
@@ -2023,7 +2023,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;
@@ -2031,7 +2031,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;
@@ -2039,7 +2039,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;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list