summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-05-13 15:11:29 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-05-13 15:14:06 +0200
commit38e9a7f5778eeff9c87cbb3812c8b0261b018b69 (patch)
tree0b8c243b708c0aeebaadac41c5b71e7b01c49648
parent92aa194145d6b75316c6d544afae290957022625 (diff)
downloadsamba-38e9a7f5778eeff9c87cbb3812c8b0261b018b69.tar.gz
samba-38e9a7f5778eeff9c87cbb3812c8b0261b018b69.tar.bz2
samba-38e9a7f5778eeff9c87cbb3812c8b0261b018b69.zip
s4:domain functional level - it is also specified in the domain object under partitions
Discovered by the "ldapcmp" tool
-rw-r--r--source4/scripting/python/samba/provision.py3
-rw-r--r--source4/setup/provision_configuration.ldif1
2 files changed, 3 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/provision.py b/source4/scripting/python/samba/provision.py
index fa2dabe5d4..f7db2e7bb8 100644
--- a/source4/scripting/python/samba/provision.py
+++ b/source4/scripting/python/samba/provision.py
@@ -976,7 +976,8 @@ def setup_samdb(path, setup_path, session_info, provision_backend, lp,
"SCHEMADN": names.schemadn,
"DOMAINDN": names.domaindn,
"SERVERDN": names.serverdn,
- "FOREST_FUNCTIONALALITY": str(forestFunctionality)
+ "FOREST_FUNCTIONALALITY": str(forestFunctionality),
+ "DOMAIN_FUNCTIONALITY": str(domainFunctionality)
})
message("Setting up display specifiers")
diff --git a/source4/setup/provision_configuration.ldif b/source4/setup/provision_configuration.ldif
index e6e9b3fd50..b913eba702 100644
--- a/source4/setup/provision_configuration.ldif
+++ b/source4/setup/provision_configuration.ldif
@@ -1039,6 +1039,7 @@ dn: CN=${DOMAIN},CN=Partitions,${CONFIGDN}
objectClass: top
objectClass: crossRef
dnsRoot: ${DNSDOMAIN}
+msDS-Behavior-Version: ${DOMAIN_FUNCTIONALITY}
nCName: ${DOMAINDN}
nETBIOSName: ${DOMAIN}
nTMixedDomain: 0