summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2020-02-24 16:57:35 +1300
committerAndrew Bartlett <abartlet@samba.org>2020-02-28 04:42:23 +0000
commita3fc18f679e65aadcb3f7c5f4cdb64905383ea5d (patch)
tree0eebe6c589922448ebf2182294a7a03308b39880
parentdc308d1c2937313813b628d7fb94463542a0dd81 (diff)
downloadsamba-a3fc18f679e65aadcb3f7c5f4cdb64905383ea5d.tar.gz
dsdb: Rewrite comment to remove refernece to LDAP backends
This is required despire the demise of the LDAP backend. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri Feb 28 04:42:23 UTC 2020 on sn-devel-184
-rw-r--r--source4/dsdb/samdb/ldb_modules/partition.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/partition.c b/source4/dsdb/samdb/ldb_modules/partition.c
index d44dc19320a..2544a106d13 100644
--- a/source4/dsdb/samdb/ldb_modules/partition.c
+++ b/source4/dsdb/samdb/ldb_modules/partition.c
@@ -346,9 +346,11 @@ static int partition_prep_request(struct partition_context *ac,
}
if (req->operation == LDB_SEARCH) {
- /* If the search is for 'more' than this partition,
- * then change the basedn, so a remote LDAP server
- * doesn't object */
+ /*
+ * If the search is for 'more' than this partition,
+ * then change the basedn, so the check of the BASE DN
+ * still passes in the ldb_key_value layer
+ */
if (ldb_dn_compare_base(partition->ctrl->dn,
req->op.search.base) != 0) {
req->op.search.base = partition->ctrl->dn;