From d12309dc1ace834e6b49a275e6b52ed0e864a651 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 28 Sep 2011 09:30:02 +1000 Subject: s4-partition: allow creation of uninstantiated partitions this is needed for a subdomain join by a new NC. The NC is initially uninstantiated --- source4/dsdb/samdb/ldb_modules/new_partition.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'source4/dsdb/samdb') diff --git a/source4/dsdb/samdb/ldb_modules/new_partition.c b/source4/dsdb/samdb/ldb_modules/new_partition.c index 3d94bbed81..87983f41c8 100644 --- a/source4/dsdb/samdb/ldb_modules/new_partition.c +++ b/source4/dsdb/samdb/ldb_modules/new_partition.c @@ -156,12 +156,6 @@ static int new_partition_add(struct ldb_module *module, struct ldb_request *req) return ldb_next_request(module, req); } - if (instanceType & INSTANCE_TYPE_UNINSTANT) { - DEBUG(0,(__location__ ": Skipping uninstantiated partition %s\n", - ldb_dn_get_linearized(req->op.add.message->dn))); - return ldb_next_request(module, req); - } - if (ldb_msg_find_attr_as_bool(req->op.add.message, "isDeleted", false)) { DEBUG(0,(__location__ ": Skipping deleted partition %s\n", ldb_dn_get_linearized(req->op.add.message->dn))); -- cgit