summaryrefslogtreecommitdiff
path: root/source4/setup
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-11-29 08:52:41 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:46:50 -0500
commit4ccadc164e144085de4ace0dc5f3f40719fdc527 (patch)
tree9ee2e2db1e4cdb67d3f8ee93b9365482e434b196 /source4/setup
parent400f03b9eaeaaf067d4362d9720f114c02752ec8 (diff)
downloadsamba-4ccadc164e144085de4ace0dc5f3f40719fdc527.tar.gz
samba-4ccadc164e144085de4ace0dc5f3f40719fdc527.tar.bz2
samba-4ccadc164e144085de4ace0dc5f3f40719fdc527.zip
r11954: add the static rootdse content to the sam ldb,and enable the rootdse
module in @MODULES (This used to be commit cfab88fcc2c740a6d3fd456a009fbb60061b3a53)
Diffstat (limited to 'source4/setup')
-rw-r--r--source4/setup/provision_init.ldif22
1 files changed, 21 insertions, 1 deletions
diff --git a/source4/setup/provision_init.ldif b/source4/setup/provision_init.ldif
index a0cbb6ad7a..fa9b234631 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