mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
auth: Clear EXTRA_SIDS flag if no Extra SIDs are present
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
19c871bf6e
commit
eb74be91bb
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user