The Samba-Bugzilla – Attachment 6153 Details for
Bug 7066
Users from trusted domains get "Your Password expires today" in error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for master and 3.6
7066-3.6.patch (text/plain), 1.32 KB, created by
Volker Lendecke
on 2010-12-18 15:50:56 UTC
(
hide
)
Description:
Patch for master and 3.6
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2010-12-18 15:50:56 UTC
Size:
1.32 KB
patch
obsolete
>From 2b3d4d8aa7a45cc821ca6843d9a9399f6cbf8e26 Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >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/server_info.c | 8 +++++--- > 1 files changed, 5 insertions(+), 3 deletions(-) > >diff --git a/source3/auth/server_info.c b/source3/auth/server_info.c >index d288a0c..01c7a96 100644 >--- a/source3/auth/server_info.c >+++ b/source3/auth/server_info.c >@@ -620,9 +620,11 @@ struct netr_SamInfo3 *wbcAuthUserInfo_to_netr_SamInfo3(TALLOC_CTX *mem_ctx, > info3->base.last_logon = info->logon_time; > info3->base.last_logoff = info->logoff_time; > info3->base.acct_expiry = info->kickoff_time; >- info3->base.last_password_change = info->pass_last_set_time; >- info3->base.allow_password_change = info->pass_can_change_time; >- info3->base.force_password_change = info->pass_must_change_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); >+ unix_to_nt_time(&info3->base.force_password_change, >+ info->pass_must_change_time); > > if (info->account_name) { > info3->base.account_name.string = >-- >1.7.3.2 >
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:
jra
:
review+
Actions:
View
Attachments on
bug 7066
:
6152
| 6153