s4:partition LDB module - fill in parent requests for inheriting the flags
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Sat, 5 Mar 2011 17:45:08 +0000 (18:45 +0100)
committerMatthias Dieter Wallnöfer <mdw@samba.org>
Thu, 10 Mar 2011 10:12:04 +0000 (11:12 +0100)
Probably it doesn't matter in this cases but just for consistency.

source4/dsdb/samdb/ldb_modules/partition.c

index c54fe4ff974ec904724a7321c64d1597f25a5af9..6cf670937e60c5207d83becf01be7a2ecd1c154b 100644 (file)
@@ -976,7 +976,7 @@ static int partition_sequence_number(struct ldb_module *module, struct ldb_reque
                                                     NULL,
                                                     res,
                                                     ldb_extended_default_callback,
                                                     NULL,
                                                     res,
                                                     ldb_extended_default_callback,
-                                                    NULL);
+                                                    req);
                        LDB_REQ_SET_LOCATION(treq);
                        if (ret != LDB_SUCCESS) {
                                talloc_free(res);
                        LDB_REQ_SET_LOCATION(treq);
                        if (ret != LDB_SUCCESS) {
                                talloc_free(res);
@@ -1034,7 +1034,7 @@ static int partition_sequence_number(struct ldb_module *module, struct ldb_reque
                                             NULL,
                                             res,
                                             ldb_extended_default_callback,
                                             NULL,
                                             res,
                                             ldb_extended_default_callback,
-                                            NULL);
+                                            req);
                LDB_REQ_SET_LOCATION(treq);
                if (ret != LDB_SUCCESS) {
                        talloc_free(res);
                LDB_REQ_SET_LOCATION(treq);
                if (ret != LDB_SUCCESS) {
                        talloc_free(res);
@@ -1079,7 +1079,7 @@ static int partition_sequence_number(struct ldb_module *module, struct ldb_reque
                                                     NULL,
                                                     res,
                                                     ldb_extended_default_callback,
                                                     NULL,
                                                     res,
                                                     ldb_extended_default_callback,
-                                                    NULL);
+                                                    req);
                        LDB_REQ_SET_LOCATION(treq);
                        if (ret != LDB_SUCCESS) {
                                talloc_free(res);
                        LDB_REQ_SET_LOCATION(treq);
                        if (ret != LDB_SUCCESS) {
                                talloc_free(res);