dsdb: Ensure replication of renames works in schema partition
authorAndrew Bartlett <abartlet@samba.org>
Wed, 14 Jun 2017 01:12:32 +0000 (13:12 +1200)
committerGarming Sam <garming@samba.org>
Wed, 14 Jun 2017 23:24:25 +0000 (01:24 +0200)
commit438496220f62dfd2375c71f93b21c09553af6961
treed256ccde7763abb3fd29ba62f6d9baef17082519
parentcf99f2c92391fb1652bbef93089d60b11f1b8229
dsdb: Ensure replication of renames works in schema partition

This caused failures against vampire_dc (on large-dc), likely due to
more frequent replication propagating the record before it was renamed.
The DC ran out of RIDs and RID allocation causes schema replication,
which failed.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12841
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
source4/dsdb/common/util.c
source4/dsdb/samdb/ldb_modules/repl_meta_data.c
source4/dsdb/samdb/ldb_modules/util.h
source4/torture/drs/python/repl_schema.py