From 5ebeab379430104c615fd401abe9a8c7dc3339b8 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 9 Apr 2010 19:07:12 +1000 Subject: s4:dsdb Don't return operational attributes on special DNs --- source4/dsdb/samdb/ldb_modules/operational.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source4/dsdb/samdb') diff --git a/source4/dsdb/samdb/ldb_modules/operational.c b/source4/dsdb/samdb/ldb_modules/operational.c index 9fc0d1aeae..94fe411157 100644 --- a/source4/dsdb/samdb/ldb_modules/operational.c +++ b/source4/dsdb/samdb/ldb_modules/operational.c @@ -497,6 +497,11 @@ static int operational_search(struct ldb_module *module, struct ldb_request *req unsigned int i, a; int ret; + /* There are no operational attributes on special DNs */ + if (ldb_dn_is_special(req->op.search.base)) { + return ldb_next_request(module, req); + } + ldb = ldb_module_get_ctx(module); ac = talloc(req, struct operational_context); -- cgit