summaryrefslogtreecommitdiff
path: root/source4/scripting/python/samba/netcmd
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-09-09 18:02:08 +1000
committerAndrew Tridgell <tridge@samba.org>2010-09-09 21:39:24 +1000
commitb9c0b59034726f1114fb8696a3be012b6fd3a622 (patch)
tree5ce984b925f51de52254eae316e2ebc9c6447a29 /source4/scripting/python/samba/netcmd
parentc95c3863dfec8e0160ff3bb217c6922666feed05 (diff)
downloadsamba-b9c0b59034726f1114fb8696a3be012b6fd3a622.tar.gz
samba-b9c0b59034726f1114fb8696a3be012b6fd3a622.tar.bz2
samba-b9c0b59034726f1114fb8696a3be012b6fd3a622.zip
s4-rodc: get the domain name from the partitions DN
don't rely on the netbios domain name being the first part of the realm Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/scripting/python/samba/netcmd')
-rw-r--r--source4/scripting/python/samba/netcmd/join.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/netcmd/join.py b/source4/scripting/python/samba/netcmd/join.py
index 34fd5dec3d..ec8cd11122 100644
--- a/source4/scripting/python/samba/netcmd/join.py
+++ b/source4/scripting/python/samba/netcmd/join.py
@@ -64,7 +64,7 @@ class cmd_join(Command):
elif role == "MEMBER":
secure_channel_type = SEC_CHAN_WKSTA
elif role == "RODC":
- join_rodc(server=server, creds=creds, lp=lp,
+ join_rodc(server=server, creds=creds, lp=lp, domain=domain,
site=site, netbios_name=netbios_name)
return
else: