The Samba-Bugzilla – Attachment 8531 Details for
Bug 9625
reauth-capable client fails to access shares on windows member in trusted domain
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for v4-0-test
bug-9625.v4-0-test.patch (text/plain), 1.69 KB, created by
Michael Adam
on 2013-02-04 21:15:26 UTC
(
hide
)
Description:
patch for v4-0-test
Filename:
MIME Type:
Creator:
Michael Adam
Created:
2013-02-04 21:15:26 UTC
Size:
1.69 KB
patch
obsolete
>From 198a2156ad509d7ed29516daea3a7905eebc3384 Mon Sep 17 00:00:00 2001 >From: Stefan Metzmacher <metze@samba.org> >Date: Thu, 31 Jan 2013 13:39:42 +0100 >Subject: [PATCH] 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 <metze@samba.org> >Reviewed-by: Michael Adam <obnox@samba.org> > >Autobuild-User(master): Stefan Metzmacher <metze@samba.org> >Autobuild-Date(master): Fri Feb 1 18:42:42 CET 2013 on sn-devel-104 >(cherry picked from commit 009cf6e9ceaef91805a8a7573090d051f8f74a92) >--- > source3/auth/server_info.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/source3/auth/server_info.c b/source3/auth/server_info.c >index 3f4f708..d2b7d6e 100644 >--- a/source3/auth/server_info.c >+++ b/source3/auth/server_info.c >@@ -568,9 +568,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.logon_time = info->logon_time; >- info3->base.logoff_time = info->logoff_time; >- info3->base.kickoff_time = info->kickoff_time; >+ unix_to_nt_time(&info3->base.logon_time, info->logon_time); >+ unix_to_nt_time(&info3->base.logoff_time, info->logoff_time); >+ unix_to_nt_time(&info3->base.kickoff_time, 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); >-- >1.7.9.5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
obnox
:
review+
metze
:
review+
Actions:
View
Attachments on
bug 9625
:
8524
| 8531