mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
s3:auth_util: add the uid with WBC_ID_TYPE_BOTH also to the group array
This will help with having "sidHistory" support in future. metze
This commit is contained in:
parent
9068a3080b
commit
94fbe2e4bd
@ -604,9 +604,11 @@ NTSTATUS create_local_token(TALLOC_CTX *mem_ctx,
|
||||
return NT_STATUS_NO_MEMORY;
|
||||
}
|
||||
|
||||
/* Start at index 1, where the groups start. */
|
||||
for (i=0; i<t->num_sids; i++) {
|
||||
|
||||
for (i=1; i<t->num_sids; i++) {
|
||||
if (i == 0 && ids[i].type != WBC_ID_TYPE_BOTH) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (ids[i].type != WBC_ID_TYPE_GID &&
|
||||
ids[i].type != WBC_ID_TYPE_BOTH) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user