git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f52d8ca
)
s4-partition: allow creation of uninstantiated partitions
author
Andrew Tridgell
<tridge@samba.org>
Tue, 27 Sep 2011 23:30:02 +0000
(09:30 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Tue, 4 Oct 2011 04:08:56 +0000
(15:08 +1100)
this is needed for a subdomain join by a new NC. The NC is initially
uninstantiated
source4/dsdb/samdb/ldb_modules/new_partition.c
patch
|
blob
|
history
diff --git
a/source4/dsdb/samdb/ldb_modules/new_partition.c
b/source4/dsdb/samdb/ldb_modules/new_partition.c
index 3d94bbed816ae74102bd0a1008747a31bc257d56..87983f41c8ce7b8f3031ac8792f5b885f902b15e 100644
(file)
--- 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)));