summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-09-28 09:30:02 +1000
committerAndrew Tridgell <tridge@samba.org>2011-10-04 15:08:56 +1100
commitd12309dc1ace834e6b49a275e6b52ed0e864a651 (patch)
tree9a99d45f1bb51327565407492eee67a70f726491
parentf52d8ca0238ee5fef643bbc0b3c249b0397a61b5 (diff)
downloadsamba-d12309dc1ace834e6b49a275e6b52ed0e864a651.tar.gz
samba-d12309dc1ace834e6b49a275e6b52ed0e864a651.tar.bz2
samba-d12309dc1ace834e6b49a275e6b52ed0e864a651.zip
s4-partition: allow creation of uninstantiated partitions
this is needed for a subdomain join by a new NC. The NC is initially uninstantiated
-rw-r--r--source4/dsdb/samdb/ldb_modules/new_partition.c6
1 files changed, 0 insertions, 6 deletions
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)));