X-Git-Url: http://git.samba.org/?a=blobdiff_plain;f=source3%2Fauth%2Fauth_util.c;h=11b220eec6b9035d17b7f686283a522bbb6ac0d7;hb=f236c539ad39932ee3c9a5df0276147a45dd1a42;hp=f41809d58d10a5ed898a1effa0de8ac52555d77b;hpb=dbbb69e5722075e6c791d350484add378079b1ff;p=mat%2Fsamba.git diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c index f41809d58d..11b220eec6 100644 --- 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; inum_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])));