summaryrefslogtreecommitdiff
path: root/source4/scripting/python
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-12-12 12:44:33 +0100
committerStefan Metzmacher <metze@samba.org>2011-12-12 19:16:13 +0100
commit162975a6f3369566dd36c28b5b6328f07b5aa605 (patch)
treeaecea5dc00eae32fa8a3b5e2d4d08932951374c5 /source4/scripting/python
parentcf57fd44d7b800f09dac1485812b98d881ee48d6 (diff)
downloadsamba-162975a6f3369566dd36c28b5b6328f07b5aa605.tar.gz
samba-162975a6f3369566dd36c28b5b6328f07b5aa605.tar.bz2
samba-162975a6f3369566dd36c28b5b6328f07b5aa605.zip
s4:python/samba/join: set msDS-Behavior-Version to '4' 2008_R2 on the nTDSA object
This matches the values we set in provision. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Dec 12 19:16:13 CET 2011 on sn-devel-104
Diffstat (limited to 'source4/scripting/python')
-rw-r--r--source4/scripting/python/samba/join.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/join.py b/source4/scripting/python/samba/join.py
index b46b4d8f06..3e3d2178c3 100644
--- a/source4/scripting/python/samba/join.py
+++ b/source4/scripting/python/samba/join.py
@@ -396,7 +396,7 @@ class dc_join(object):
nc_list = [ ctx.base_dn, ctx.config_dn, ctx.schema_dn ]
if ctx.behavior_version >= samba.dsdb.DS_DOMAIN_FUNCTION_2003:
- rec["msDS-Behavior-Version"] = str(ctx.behavior_version)
+ rec["msDS-Behavior-Version"] = str(samba.dsdb.DS_DOMAIN_FUNCTION_2008_R2)
if ctx.behavior_version >= samba.dsdb.DS_DOMAIN_FUNCTION_2003:
rec["msDS-HasDomainNCs"] = ctx.base_dn