summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-11-17 11:10:45 +1100
committerAndrew Tridgell <tridge@samba.org>2010-11-17 11:30:07 +1100
commit5524822a7280ca3356f4116d8fd4466b96d14e7f (patch)
treebbd66f56b935290c82e37d4ffacb41b7074b97ed /source4/scripting
parenta82bc073e2e7dd5eef13c64ad219fa1179df8aa7 (diff)
downloadsamba-5524822a7280ca3356f4116d8fd4466b96d14e7f.tar.gz
samba-5524822a7280ca3356f4116d8fd4466b96d14e7f.tar.bz2
samba-5524822a7280ca3356f4116d8fd4466b96d14e7f.zip
s4-join: fixed join to w2k3
w2k3 does need msDS-Behavior-Version
Diffstat (limited to 'source4/scripting')
-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 091b58c430..1ead9261d8 100644
--- a/source4/scripting/python/samba/join.py
+++ b/source4/scripting/python/samba/join.py
@@ -343,7 +343,7 @@ class dc_join:
"systemFlags" : str(samba.dsdb.SYSTEM_FLAG_DISALLOW_MOVE_ON_DELETE),
"dMDLocation" : ctx.schema_dn}
- if ctx.behavior_version >= samba.dsdb.DS_DOMAIN_FUNCTION_2008:
+ if ctx.behavior_version >= samba.dsdb.DS_DOMAIN_FUNCTION_2003:
rec["msDS-Behavior-Version"] = str(ctx.behavior_version)
if ctx.behavior_version >= samba.dsdb.DS_DOMAIN_FUNCTION_2003: