summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2022-03-08 15:14:09 +0100
committerJule Anger <janger@samba.org>2022-03-16 14:27:11 +0000
commitf0891c0a8916dbddc422deb629557c51716d9064 (patch)
tree531e5d215ca3a462f260f93b44aef7e2be7e7693
parent2472d44f9c93ab03bc0919bebc61b6874348001e (diff)
downloadsamba-f0891c0a8916dbddc422deb629557c51716d9064.tar.gz
s3:auth: let make_user_info_netlogon_interactive() set USER_INFO_INTERACTIVE_LOGON
This is not really relevant for now, as USER_INFO_INTERACTIVE_LOGON is not evaluated in the source3/auth stack. But better add it to be consistent. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15001 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> (cherry picked from commit 012bd9f5b780f7a90cf3bd918f044ea67fae7017)
-rw-r--r--source3/auth/auth_util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c
index 7a97dd45f11..9d9f2234f21 100644
--- a/source3/auth/auth_util.c
+++ b/source3/auth/auth_util.c
@@ -264,6 +264,7 @@ bool make_user_info_netlogon_interactive(TALLOC_CTX *mem_ctx,
if (NT_STATUS_IS_OK(nt_status)) {
(*user_info)->logon_parameters = logon_parameters;
+ (*user_info)->flags |= USER_INFO_INTERACTIVE_LOGON;
}
ret = NT_STATUS_IS_OK(nt_status) ? true : false;