summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/auth/auth_util.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/auth/auth_util.c b/source4/auth/auth_util.c
index 8d5a95cee8..8c5bd4f057 100644
--- a/source4/auth/auth_util.c
+++ b/source4/auth/auth_util.c
@@ -79,6 +79,9 @@ NTSTATUS make_user_info(TALLOC_CTX *mem_ctx,
user_info->workstation_name = talloc_strdup(user_info, workstation_name);
NT_STATUS_HAVE_NO_MEMORY(user_info->workstation_name);
+ user_info->remote_host = talloc_strdup(user_info, remote_host);
+ NT_STATUS_HAVE_NO_MEMORY(user_info->remote_host);
+
DEBUG(5,("making blobs for %s's user_info struct\n", account_name));
if (lm_password) {