From b9c0b59034726f1114fb8696a3be012b6fd3a622 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 9 Sep 2010 18:02:08 +1000 Subject: 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 --- source4/scripting/python/samba/netcmd/join.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/scripting/python/samba/netcmd') 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: -- cgit