The Samba-Bugzilla – Attachment 7711 Details for
Bug 9052
winbind doesn't return "Domain Local" groups from own domain
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
v3-6-test patch
0001-s3-winbind-Fix-bug-9052-resolving-our-own-Domain-Loc.patch (text/plain), 1.46 KB, created by
Andreas Schneider
on 2012-07-19 08:07:33 UTC
(
hide
)
Description:
v3-6-test patch
Filename:
MIME Type:
Creator:
Andreas Schneider
Created:
2012-07-19 08:07:33 UTC
Size:
1.46 KB
patch
obsolete
>From 170c07aea00e0afa2deb52e3469692621023f81a Mon Sep 17 00:00:00 2001 >From: Andreas Schneider <asn@samba.org> >Date: Wed, 18 Jul 2012 23:01:01 +0200 >Subject: [PATCH] s3-winbind: Fix bug #9052 resolving our own "Domain Local" > groups. > >We don't resolve our own "Domain Local" groups since bug #7843 has been >fixed. So we need to add the add resource groups to the sid list too. > >Signed-off-by: Andreas Schneider <asn@samba.org> >--- > source3/winbindd/winbindd_util.c | 12 +++++++++--- > 1 file changed, 9 insertions(+), 3 deletions(-) > >diff --git a/source3/winbindd/winbindd_util.c b/source3/winbindd/winbindd_util.c >index 63cb2d2..57511dc 100644 >--- a/source3/winbindd/winbindd_util.c >+++ b/source3/winbindd/winbindd_util.c >@@ -1033,12 +1033,18 @@ NTSTATUS lookup_usergroups_cached(struct winbindd_domain *domain, > return NT_STATUS_UNSUCCESSFUL; > } > >- /* Skip Domain local groups outside our domain. >- We'll get these from the getsidaliases() RPC call. */ >+ /* >+ * Before bug #7843 the "Domain Local" groups where added with a >+ * lookupuseraliases call, but this isn't done anymore for our domain >+ * so we need to resolve resource groups here. >+ * >+ * When to use Resource Groups: >+ * http://technet.microsoft.com/en-us/library/cc753670%28v=WS.10%29.aspx >+ */ > status = sid_array_from_info3(mem_ctx, info3, > user_sids, > &num_groups, >- false, true); >+ false, false); > > if (!NT_STATUS_IS_OK(status)) { > TALLOC_FREE(info3); >-- >1.7.10.4 >
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 9052
:
7711
|
7715