git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19c871b
)
auth: Clear EXTRA_SIDS flag if no Extra SIDs are present
author
Joseph Sutton
<josephsutton@catalyst.net.nz>
Mon, 27 Feb 2023 02:56:40 +0000
(15:56 +1300)
committer
Andrew Bartlett
<abartlet@samba.org>
Mon, 20 Mar 2023 00:22:32 +0000
(
00:22
+0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
auth/auth_sam_reply.c
patch
|
blob
|
history
diff --git
a/auth/auth_sam_reply.c
b/auth/auth_sam_reply.c
index 2a35723e3552eced706319cfb38fe3dae9818150..8e0089eb8d138bb4247185c3677d8634b695c1d6 100644
(file)
--- a/
auth/auth_sam_reply.c
+++ b/
auth/auth_sam_reply.c
@@
-399,6
+399,7
@@
NTSTATUS auth_convert_user_info_dc_saminfo6(TALLOC_CTX *mem_ctx,
if (sam6->sidcount) {
sam6->base.user_flags |= NETLOGON_EXTRA_SIDS;
} else {
+ sam6->base.user_flags &= ~NETLOGON_EXTRA_SIDS;
TALLOC_FREE(sam6->sids);
}