1
0
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:
Björn Baumbach 2014-05-28 17:56:48 +02:00 committed by Michael Adam
parent 4ca1d69d7d
commit fe14a3f758

View File

@ -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: