mirror of
https://github.com/samba-team/samba.git
synced 2025-08-07 09:49:30 +03:00
dsdb-drs: when replicating schema object checks ask for removal of previous version if exists (bug #8680)
Signed-off-by: Matthieu Patou <mat@matws.net> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
committed by
Andrew Bartlett
parent
c7d4b87512
commit
640c2ff575
@ -133,9 +133,10 @@ WERROR dsdb_repl_make_working_schema(struct ldb_context *ldb,
|
||||
* (OIDs as OID strings) into schema, using
|
||||
* the remote prefixMap
|
||||
*/
|
||||
werr = dsdb_schema_set_el_from_ldb_msg(ldb,
|
||||
working_schema,
|
||||
object.msg);
|
||||
werr = dsdb_schema_set_el_from_ldb_msg_dups(ldb,
|
||||
working_schema,
|
||||
object.msg,
|
||||
true);
|
||||
if (!W_ERROR_IS_OK(werr)) {
|
||||
DEBUG(4,("debug: failed to convert object %s into a schema element, will try during next loop: %s\n",
|
||||
ldb_dn_get_linearized(object.msg->dn),
|
||||
|
Reference in New Issue
Block a user