The Samba-Bugzilla – Attachment 14147 Details for
Bug 13279
winbindd: don't split the rid for SID_NAME_DOMAIN sids in wb_lookupsids
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for v4-7-test
tmp47.diff.txt (text/plain), 1.09 KB, created by
Stefan Metzmacher
on 2018-04-17 06:16:59 UTC
(
hide
)
Description:
Patch for v4-7-test
Filename:
MIME Type:
Creator:
Stefan Metzmacher
Created:
2018-04-17 06:16:59 UTC
Size:
1.09 KB
patch
obsolete
>From 9660ea25018a7fcb4512450163cdd62df2f97cf1 Mon Sep 17 00:00:00 2001 >From: Stefan Metzmacher <metze@samba.org> >Date: Tue, 23 Jan 2018 14:34:45 +0100 >Subject: [PATCH] winbindd: don't split the rid for SID_NAME_DOMAIN sids in > wb_lookupsids > >Bug: https://bugzilla.samba.org/show_bug.cgi?id=13279 > >Signed-off-by: Stefan Metzmacher <metze@samba.org> >Reviewed-by: Ralph Boehme <slow@samba.org> >(cherry picked from commit 17c48f26dea5701feed1c24769348f332695391c) >--- > source3/winbindd/wb_lookupsids.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/source3/winbindd/wb_lookupsids.c b/source3/winbindd/wb_lookupsids.c >index f2b2768..6a4ad68 100644 >--- a/source3/winbindd/wb_lookupsids.c >+++ b/source3/winbindd/wb_lookupsids.c >@@ -545,7 +545,9 @@ static void wb_lookupsids_single_done(struct tevent_req *subreq) > */ > > sid_copy(&src_domain_sid, &state->sids[res_sid_index]); >- sid_split_rid(&src_domain_sid, &src_rid); >+ if (type != SID_NAME_DOMAIN) { >+ sid_split_rid(&src_domain_sid, &src_rid); >+ } > > src_domain.name.string = domain_name; > src_domain.sid = &src_domain_sid; >-- >1.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
Flags:
slow
:
review+
Actions:
View
Attachments on
bug 13279
:
13985
| 14147