]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:auth: let make_user_info_netlogon_interactive() set USER_INFO_INTERACTIVE_LOGON
authorStefan Metzmacher <metze@samba.org>
Tue, 8 Mar 2022 14:14:09 +0000 (15:14 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 10 Mar 2022 03:16:35 +0000 (03:16 +0000)
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>
source3/auth/auth_util.c

index 28850cd85201e0fe5a0b04c3b0e008051c87f5ba..d7b3b032572eb75ece3bd0ca52f16b9c04a8627e 100644 (file)
@@ -265,6 +265,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;