From 4ccadc164e144085de4ace0dc5f3f40719fdc527 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 29 Nov 2005 08:52:41 +0000 Subject: [PATCH] r11954: add the static rootdse content to the sam ldb,and enable the rootdse module in @MODULES (This used to be commit cfab88fcc2c740a6d3fd456a009fbb60061b3a53) --- source4/setup/provision_init.ldif | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/source4/setup/provision_init.ldif b/source4/setup/provision_init.ldif index a0cbb6ad7ad..fa9b234631e 100644 --- a/source4/setup/provision_init.ldif +++ b/source4/setup/provision_init.ldif @@ -45,8 +45,28 @@ user: computer template: userTemplate template: groupTemplate +# the rootDSE module looks in this record for its base data +dn: cn=ROOTDSE +subschemaSubentry: CN=Aggregate,CN=Schema,CN=Configuration,${BASEDN} +dsServiceName: CN=NTDS Settings,CN=${NETBIOSNAME},CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,${BASEDN} +namingContexts: ${BASEDN} +namingContexts: CN=Configuration,${BASEDN} +namingContexts: CN=Schema,CN=Configuration,${BASEDN} +defaultNamingContext: ${BASEDN} +rootDomainNamingContext: ${BASEDN} +configurationNamingContext: CN=Configuration,${BASEDN} +schemaNamingContext: CN=Schema,CN=Configuration,${BASEDN} +supportedLDAPVersion: 3 +supportedSASLMechanisms: GSS-SPNEGO +dnsHostName: ${DNSNAME} +ldapServiceName: ${DNSDOMAIN}:${NETBIOSNAME}$@${REALM} +serverName: CN=${NETBIOSNAME},CN=Servers,CN=Default-First-Site,CN=Sites,CN=Configuration,${BASEDN} +domainFunctionality: 0 +forestFunctionality: 0 +domainControllerFunctionality: 2 + #Add modules to the list to activate them by default #beware often order is important dn: @MODULES -@LIST: samldb,operational,objectguid,rdn_name +@LIST: rootdse,samldb,operational,objectguid,rdn_name