The Samba-Bugzilla – Attachment 5810 Details for
Bug 7530
Provisioning fails with fedora-ds backend
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-s4-dsdb-Fixed-partition_search-not-to-pass-special-D.patch
0001-s4-dsdb-Fixed-partition_search-not-to-pass-special-D.patch (text/plain), 1.24 KB, created by
Endi Sukma Dewata
on 2010-06-28 11:26:37 UTC
(
hide
)
Description:
0001-s4-dsdb-Fixed-partition_search-not-to-pass-special-D.patch
Filename:
MIME Type:
Creator:
Endi Sukma Dewata
Created:
2010-06-28 11:26:37 UTC
Size:
1.24 KB
patch
obsolete
>From 95b0ace9771ccefa8c47d9e03d64cae11a2bd0dd Mon Sep 17 00:00:00 2001 >From: Endi S. Dewata <edewata@redhat.com> >Date: Mon, 28 Jun 2010 10:54:37 -0500 >Subject: [PATCH] s4/dsdb: Fixed partition_search() not to pass special DN's to LDAP backend. > >--- > source4/dsdb/samdb/ldb_modules/partition.c | 14 ++++++++------ > 1 files changed, 8 insertions(+), 6 deletions(-) > >diff --git a/source4/dsdb/samdb/ldb_modules/partition.c b/source4/dsdb/samdb/ldb_modules/partition.c >index 6c0d9cd..49f275a 100644 >--- a/source4/dsdb/samdb/ldb_modules/partition.c >+++ b/source4/dsdb/samdb/ldb_modules/partition.c >@@ -470,12 +470,14 @@ static int partition_search(struct ldb_module *module, struct ldb_request *req) > return ret; > } > >- p = find_partition(data, NULL, req); >- if (p != NULL) { >- /* the caller specified what partition they want the >- * search - just pass it on >- */ >- return ldb_next_request(p->module, req); >+ if (!ldb_dn_is_special(req->op.search.base)) { >+ p = find_partition(data, NULL, req); >+ if (p != NULL) { >+ /* the caller specified what partition they want the >+ * search - just pass it on >+ */ >+ return ldb_next_request(p->module, req); >+ } > } > > /* Get back the search options from the search control, and mark it as >-- >1.6.6.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 7530
:
5804
|
5809
| 5810 |
5811
|
5812