summaryrefslogtreecommitdiff
path: root/source4/auth/auth_sam_reply.c
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2009-08-01 14:02:58 +0400
committerAndrew Bartlett <abartlet@samba.org>2009-08-03 14:08:15 +1000
commitc50dff4ccea48de81815e0b92066b89b2bf3ddec (patch)
tree9cce5deae410f6b9fd843e742a1537d17716701e /source4/auth/auth_sam_reply.c
parente21519403318acea3424516afc12730fe9e9d432 (diff)
downloadsamba-c50dff4ccea48de81815e0b92066b89b2bf3ddec.tar.gz
samba-c50dff4ccea48de81815e0b92066b89b2bf3ddec.tar.bz2
samba-c50dff4ccea48de81815e0b92066b89b2bf3ddec.zip
Return infinite time for last last logoff when last logoff = 0
Diffstat (limited to 'source4/auth/auth_sam_reply.c')
-rw-r--r--source4/auth/auth_sam_reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/auth_sam_reply.c b/source4/auth/auth_sam_reply.c
index dfa76234b4..88eb857eb3 100644
--- a/source4/auth/auth_sam_reply.c
+++ b/source4/auth/auth_sam_reply.c
@@ -38,7 +38,7 @@ NTSTATUS auth_convert_server_info_sambaseinfo(TALLOC_CTX *mem_ctx,
sam->domain_sid->num_auths--;
sam->last_logon = server_info->last_logon;
- sam->last_logoff = server_info->last_logoff;
+ sam->last_logoff = server_info->last_logoff;
sam->acct_expiry = server_info->acct_expiry;
sam->last_password_change = server_info->last_password_change;
sam->allow_password_change = server_info->allow_password_change;