mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
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
This commit is contained in:
parent
92e138f920
commit
c6b5136f02
@ -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 =
|
||||
|
Loading…
Reference in New Issue
Block a user