r26298: Use metze's schema loading code to pre-initialise the schema into the
authorAndrew Bartlett <abartlet@samba.org>
Tue, 4 Dec 2007 23:40:48 +0000 (00:40 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 21 Dec 2007 04:48:15 +0000 (05:48 +0100)
commitf5860b5a853c40c9e48f5bb0a87c086d268c53bd
treecdfe5c94af464f22950118c85952fdf49371ae15
parent6d2f6f1aae2fd20dec9ed37019de26c7b33b7d2c
r26298: Use metze's schema loading code to pre-initialise the schema into the

samdb before we start writing entries into it.

In doing so, I realised we still used 'dnsDomain', which is not part
of the standard schema (now removed).

We also set the 'wrong' side of the linked attributes for the
masteredBy on each partition - this is now set in provision_self_join
and backlinks via the linked attributes code.

When we have the schema loaded, we must also have a valid domain SID
loaded, so that the objectclass module works.  This required some ejs
glue.

Andrew Bartlett
(This used to be commit b0de08916e8cb59ce6a2ea94bbc9ac0679830ac1)
source4/dsdb/samdb/samdb.c
source4/rpc_server/netlogon/dcerpc_netlogon.c
source4/scripting/ejs/smbcalls_ldb.c
source4/scripting/libjs/provision.js
source4/setup/provision_basedn_modify.ldif
source4/setup/provision_configuration_basedn_modify.ldif
source4/setup/provision_schema_basedn_modify.ldif
source4/setup/provision_self_join.ldif
source4/setup/schema_samba4.ldif