diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-07-04 10:41:17 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-07-04 22:05:18 +0200 |
commit | 343e9320ba4446635a50a0fa3849888f3b265e23 (patch) | |
tree | 0e96166a397ffb2e1cd263546a559f5e533f6d0a | |
parent | 7d483cdc04d0e58ea171d5d94f53013fb2c2cc0e (diff) | |
download | samba-343e9320ba4446635a50a0fa3849888f3b265e23.tar.gz samba-343e9320ba4446635a50a0fa3849888f3b265e23.tar.bz2 samba-343e9320ba4446635a50a0fa3849888f3b265e23.zip |
s4:subtree_rename LDB module - Cosmetic fixes
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/subtree_rename.c | 7 |
1 files changed, 4 insertions, 3 deletions
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 }; |