mirror of
https://github.com/samba-team/samba.git
synced 2025-07-27 07:42:04 +03:00
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>
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user