diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-11-06 22:38:15 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-11-07 10:27:23 +0100 |
commit | d58a4c55c1564a1b546a79631c1cc2fa5dcba523 (patch) | |
tree | 0e63ef38c2e1af8f1bcfe2f5f4ef0db34d601289 /source4/dsdb/samdb/ldb_modules | |
parent | f1a8fbfc980d648253e96bee88676b7ce478c1de (diff) | |
download | samba-d58a4c55c1564a1b546a79631c1cc2fa5dcba523.tar.gz samba-d58a4c55c1564a1b546a79631c1cc2fa5dcba523.tar.bz2 samba-d58a4c55c1564a1b546a79631c1cc2fa5dcba523.zip |
s4:descriptor LDB module - remove a "ldb_msg_sanity_check" call
This check (the structural objectclass) is performed in the objectclass LDB
module.
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/descriptor.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/descriptor.c b/source4/dsdb/samdb/ldb_modules/descriptor.c index 71f1ddd6f6..5b74c9c656 100644 --- a/source4/dsdb/samdb/ldb_modules/descriptor.c +++ b/source4/dsdb/samdb/ldb_modules/descriptor.c @@ -752,13 +752,6 @@ static int descriptor_do_add(struct descriptor_context *ac) } talloc_free(mem_ctx); - ret = ldb_msg_sanity_check(ldb, msg); - - if (ret != LDB_SUCCESS) { - ldb_asprintf_errstring(ldb, "No last structural objectclass found on %s", - ldb_dn_get_linearized(msg->dn)); - return ret; - } ret = ldb_build_add_req(&add_req, ldb, ac, msg, |