s3:auth: wbcAuthenticateEx gives unix times (bug #9625)
commitfc282a3850c6e23cc4f99746bb8dd484e5aed52f
authorStefan Metzmacher <metze@samba.org>
Thu, 31 Jan 2013 12:39:42 +0000 (31 13:39 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 14 Mar 2013 09:51:41 +0000 (14 10:51 +0100)
treef63a41b6e964a259bb706c763dcc77036e93c856
parentb079b471a3e454058e65b7ca1d0f17a3e769c538
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>
(cherry picked from commit 292504a759caf811fb6201e273ffeab20522a991)
source3/auth/server_info.c