The Samba-Bugzilla – Attachment 7401 Details for
Bug 8646
invalid group (-1) using idmap backend nss panics sys_setgroups on solaris
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to avoid sys_setgroups panic
0001-Do-not-use-GID-1-for-local-token.patch (text/plain), 820 bytes, created by
SATOH Fumiyasu
on 2012-03-24 13:30:47 UTC
(
hide
)
Description:
patch to avoid sys_setgroups panic
Filename:
MIME Type:
Creator:
SATOH Fumiyasu
Created:
2012-03-24 13:30:47 UTC
Size:
820 bytes
patch
obsolete
>From b912f410f97d9c05813dfb30c40fc481e53ea9a2 Mon Sep 17 00:00:00 2001 >From: SATOH Fumiyasu <fumiyas@osstech.co.jp> >Date: Sat, 24 Mar 2012 20:47:26 +0900 >Subject: [PATCH] Do not use GID -1 for local token > >--- > source3/auth/auth_util.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c >index a904da4..0101e59 100644 >--- a/source3/auth/auth_util.c >+++ b/source3/auth/auth_util.c >@@ -499,7 +499,7 @@ NTSTATUS create_local_token(struct auth_serversupplied_info *server_info) > > 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].id.gid == -1) { > DEBUG(10, ("Could not convert SID %s to gid, " > "ignoring it\n", > sid_string_dbg(&t->sids[i]))); >-- >1.7.9.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 8646
:
7159
| 7401 |
7550