mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
samba-tool domain: remove duplicate check if site is set
Signed-off-by: Björn Baumbach <bb@sernet.de> Reviewed-by: Michael Adam <obnox@samba.org> Reviewed-by: Kamen Mazdrashki <kamenim@samba.org>
This commit is contained in:
parent
4ca1d69d7d
commit
fe14a3f758
@ -512,9 +512,6 @@ class cmd_domain_dcpromo(Command):
|
||||
else:
|
||||
logger.setLevel(logging.INFO)
|
||||
|
||||
if site is None:
|
||||
site = "Default-First-Site-Name"
|
||||
|
||||
netbios_name = lp.get("netbios name")
|
||||
|
||||
if not role is None:
|
||||
|
Loading…
Reference in New Issue
Block a user