diff options
Diffstat (limited to 'source4/dsdb')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/samldb.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/samldb.c b/source4/dsdb/samdb/ldb_modules/samldb.c index a068a29e86..8e5e0b4537 100644 --- a/source4/dsdb/samdb/ldb_modules/samldb.c +++ b/source4/dsdb/samdb/ldb_modules/samldb.c @@ -1355,19 +1355,6 @@ static int samldb_add(struct ldb_module *module, struct ldb_request *req) } if (samdb_find_attribute(ldb, ac->msg, - "objectclass", "computer") != NULL) { - - /* make sure the computer object also has the 'user' - * objectclass so it will be handled by the next call */ - ret = samdb_find_or_add_value(ldb, ac->msg, - "objectclass", "user"); - if (ret != LDB_SUCCESS) { - talloc_free(ac); - return ret; - } - } - - if (samdb_find_attribute(ldb, ac->msg, "objectclass", "user") != NULL) { ret = samldb_check_rdn(module, ac->req->op.add.message->dn); |