diff options
Diffstat (limited to 'source4/auth/auth_sam.c')
-rw-r--r-- | source4/auth/auth_sam.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/auth/auth_sam.c b/source4/auth/auth_sam.c index 9fd011ea303..72fed82ea97 100644 --- a/source4/auth/auth_sam.c +++ b/source4/auth/auth_sam.c @@ -484,6 +484,9 @@ static NTSTATUS authsam_make_server_info(TALLOC_CTX *mem_ctx, struct ldb_context server_info->home_drive = talloc_strdup(server_info, str); NT_STATUS_HAVE_NO_MEMORY(server_info->home_drive); + server_info->logon_server = talloc_strdup(server_info, lp_netbios_name()); + NT_STATUS_HAVE_NO_MEMORY(server_info->logon_server); + server_info->last_logon = samdb_result_nttime(msgs[0], "lastLogon", 0); server_info->last_logoff = samdb_result_nttime(msgs[0], "lastLogoff", 0); server_info->acct_expiry = samdb_result_nttime(msgs[0], "accountExpires", 0); |