subtree_rename: Correct comments
authorAndrew Bartlett <abartlet@samba.org>
Sun, 27 May 2018 23:17:34 +0000 (11:17 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 30 May 2018 02:23:27 +0000 (04:23 +0200)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
source4/dsdb/samdb/ldb_modules/subtree_rename.c

index 57020e100bfccd0488c920c79f213c4ca4589f5b..be02e92cb6dc47c4b1a54761f1d6616609536271 100644 (file)
@@ -154,14 +154,13 @@ static int subtree_rename(struct ldb_module *module, struct ldb_request *req)
 
        ldb = ldb_module_get_ctx(module);
 
-       /* This gets complex:  We need to:
-          - 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
-          - Wait for each modify result
-          - Regain our sanity
-       */
+       /*
+        * This gets complex:  We need to:
+        *  - Do a search for all entries under this entry
+        *  - Wait for these results to appear
+        *  - Do our own rename (in first callback)
+        *  - In the callback for each result, issue a dsdb_module_rename()
+        */
 
        ac = subren_ctx_init(module, req);
        if (!ac) {