mirror of
https://github.com/samba-team/samba.git
synced 2025-03-01 04:58:35 +03:00
s4:descriptor LDB module - remove a "ldb_msg_sanity_check" call
This check (the structural objectclass) is performed in the objectclass LDB module.
This commit is contained in:
parent
f1a8fbfc98
commit
d58a4c55c1
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user