s4-dsdb/schema: Implement multi-pass working schema creation function
authorKamen Mazdrashki <kamenim@samba.org>
Mon, 29 Nov 2010 12:00:42 +0000 (14:00 +0200)
committerKamen Mazdrashki <kamenim@samba.org>
Wed, 1 Dec 2010 11:01:17 +0000 (13:01 +0200)
commita42e267105544e63ae28a3c40d96c0ff36b2d070
treec4d276b0db5d9f63babdd9fca2644137932d8b4b
parentfcc26c5d59b1f7519a9a813fd70d1139c9f6976c
s4-dsdb/schema: Implement multi-pass working schema creation function

It is heavily based on implementation in libnet_vampire_cb_apply_schema()
function, except that it actually creates a new copy of the supplied
initial_schema + resolving all incoming objects and add them to
supplied initial_schema.

We are going to need this 'working_schema' later so we are able
to fully resolve all objects we receive on wire during DRS replication.

Working schema created is to be used only as an index to search in.
It is not supposed to be set to an ldb_context as it doesn't
contain all information for classSchema and attributeSchema objects.
source4/dsdb/repl/replicated_objects.c