summaryrefslogtreecommitdiffstats
path: root/source3/auth
diff options
context:
space:
mode:
Diffstat (limited to 'source3/auth')
-rw-r--r--source3/auth/auth_util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c
index 59850bb20e6..5553300ad1f 100644
--- a/source3/auth/auth_util.c
+++ b/source3/auth/auth_util.c
@@ -1340,6 +1340,8 @@ NTSTATUS make_server_info_info3(TALLOC_CTX *mem_ctx,
result->nss_token |= username_was_mapped;
+ result->guest = (info3->base.user_flags & NETLOGON_GUEST);
+
*server_info = result;
return NT_STATUS_OK;