dsdb-schema: make deduplication of class and schema possible (bug #8680)
commitfe85bc1fb9ab2f891a9fd46bd8e00325622d39cf
authorMatthieu Patou <mat@matws.net>
Sun, 27 Jan 2013 07:42:10 +0000 (26 23:42 -0800)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 23 May 2013 10:26:07 +0000 (23 20:26 +1000)
treea0e2d5cebb75470477e36ff356a727519809b055
parentc524be17815e92ce9fcdd0565e76b026e483cc9d
dsdb-schema: make deduplication of class and schema possible (bug #8680)

When a class or an attribute is replicated it might already exists in
the existing schema, so while replicating the new version of this object
we want to get rid of the old version of the object is the current
validating schema so that we don't end up having duplicates.

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Matthieu Patou <mat@matws.net>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/schema/schema.h
source4/dsdb/schema/schema_init.c
source4/dsdb/schema/schema_set.c