From 343e9320ba4446635a50a0fa3849888f3b265e23 Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Sun, 4 Jul 2010 10:41:17 +0200 Subject: s4:subtree_rename LDB module - Cosmetic fixes --- source4/dsdb/samdb/ldb_modules/subtree_rename.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'source4/dsdb/samdb/ldb_modules') diff --git a/source4/dsdb/samdb/ldb_modules/subtree_rename.c b/source4/dsdb/samdb/ldb_modules/subtree_rename.c index 350496a175..ed2b024754 100644 --- a/source4/dsdb/samdb/ldb_modules/subtree_rename.c +++ b/source4/dsdb/samdb/ldb_modules/subtree_rename.c @@ -223,6 +223,7 @@ static int subtree_rename(struct ldb_module *module, struct ldb_request *req) struct ldb_request *search_req; struct subtree_rename_context *ac; int ret; + if (ldb_dn_is_special(req->op.rename.olddn)) { /* do not manipulate our control entries */ return ldb_next_request(module, req); } @@ -233,9 +234,9 @@ static int subtree_rename(struct ldb_module *module, struct ldb_request *req) - Do a search for all entires under this entry - Wait for these results to appear - In the callback for each result, issue a modify request - - That will include this rename, we hope + - That will include this rename, we hope - Wait for each modify result - - Regain our sainity + - Regain our sanity */ ac = subren_ctx_init(module, req); @@ -270,5 +271,5 @@ static int subtree_rename(struct ldb_module *module, struct ldb_request *req) _PUBLIC_ const struct ldb_module_ops ldb_subtree_rename_module_ops = { .name = "subtree_rename", - .rename = subtree_rename, + .rename = subtree_rename }; -- cgit