The branch, v3-6-test has been updated via 292504a s3:auth: wbcAuthenticateEx gives unix times (bug #9625) from 2d8c6de WHATSNEW: Start release notes for Samba 3.6.13.
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test - Log ----------------------------------------------------------------- commit 292504a759caf811fb6201e273ffeab20522a991 Author: Stefan Metzmacher <me...@samba.org> Date: Thu Jan 31 13:39:42 2013 +0100 s3:auth: wbcAuthenticateEx gives unix times (bug #9625) We also need to convert last_logon, last_logoff and acct_expiry from unix time to nt time. Otherwise a windows member server will reject clients using CAP_DYNAMIC_REAUTH or smb2) with STATUS_NETWORK_SESSION_EXPIRED, if the logoff and kickoff time is expired. Signed-off-by: Stefan Metzmacher <me...@samba.org> Reviewed-by: Michael Adam <ob...@samba.org> ----------------------------------------------------------------------- Summary of changes: source3/auth/server_info.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/auth/server_info.c b/source3/auth/server_info.c index 2e94e46..90b3ed6 100644 --- a/source3/auth/server_info.c +++ b/source3/auth/server_info.c @@ -608,9 +608,9 @@ struct netr_SamInfo3 *wbcAuthUserInfo_to_netr_SamInfo3(TALLOC_CTX *mem_ctx, info3 = talloc_zero(mem_ctx, struct netr_SamInfo3); if (!info3) return NULL; - info3->base.last_logon = info->logon_time; - info3->base.last_logoff = info->logoff_time; - info3->base.acct_expiry = info->kickoff_time; + unix_to_nt_time(&info3->base.last_logon, info->logon_time); + unix_to_nt_time(&info3->base.last_logoff, info->logoff_time); + unix_to_nt_time(&info3->base.acct_expiry, info->kickoff_time); unix_to_nt_time(&info3->base.last_password_change, info->pass_last_set_time); unix_to_nt_time(&info3->base.allow_password_change, info->pass_can_change_time); -- Samba Shared Repository