git.samba.org
/
mat
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s3-winbindd: add support for idmap type WBC_ID_TYPE_BOTH
[mat/samba.git]
/
source3
/
auth
/
auth_util.c
diff --git
a/source3/auth/auth_util.c
b/source3/auth/auth_util.c
index f41809d58d10a5ed898a1effa0de8ac52555d77b..11b220eec6b9035d17b7f686283a522bbb6ac0d7 100644
(file)
--- a/
source3/auth/auth_util.c
+++ b/
source3/auth/auth_util.c
@@
-608,7
+608,8
@@
NTSTATUS create_local_token(TALLOC_CTX *mem_ctx,
for (i=1; i<t->num_sids; i++) {
- if (ids[i].type != WBC_ID_TYPE_GID) {
+ if (ids[i].type != WBC_ID_TYPE_GID &&
+ ids[i].type != WBC_ID_TYPE_BOTH) {
DEBUG(10, ("Could not convert SID %s to gid, "
"ignoring it\n",
sid_string_dbg(&t->sids[i])));