summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-06-06 19:12:48 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-06-06 20:48:58 +0200
commit93db960fae43913a423fe1e35a60acf5ed0cc437 (patch)
treec2092eb29d5e3b960b63e92d75b0ecf9e219b3d9 /source4/dsdb/samdb
parentdf63b2ca0e64897b18f8b6be8c31e16d62a96a30 (diff)
downloadsamba-93db960fae43913a423fe1e35a60acf5ed0cc437.tar.gz
samba-93db960fae43913a423fe1e35a60acf5ed0cc437.tar.bz2
samba-93db960fae43913a423fe1e35a60acf5ed0cc437.zip
s4:samldb LDB module - this codepart isn't needed due to the objectclass LDB module
When a "computer" entry will be added, also the inherited "user" objectclass is going to be specified.
Diffstat (limited to 'source4/dsdb/samdb')
-rw-r--r--source4/dsdb/samdb/ldb_modules/samldb.c13
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);