mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Add DNS service records for Windows
https://fedorahosted.org/freeipa/ticket/1939
This commit is contained in:
@@ -45,6 +45,9 @@ def parse_options():
|
||||
type="ip", ip_local=True, help="Master Server IP Address")
|
||||
parser.add_option("--netbios-name", dest="netbios_name",
|
||||
help="NetBIOS name of the IPA domain")
|
||||
parser.add_option("--no-msdcs", dest="no_msdcs", action="store_true",
|
||||
default=False, help="Do not create DNS service records " \
|
||||
"for Windows in managed DNS server")
|
||||
parser.add_option("-U", "--unattended", dest="unattended", action="store_true",
|
||||
default=False, help="unattended installation never prompts the user")
|
||||
|
||||
@@ -197,7 +200,7 @@ def main():
|
||||
api.Backend.ldap2.connect(ccache)
|
||||
|
||||
smb.setup(api.env.host, ip_address, api.env.realm, api.env.domain,
|
||||
netbios_name)
|
||||
netbios_name, options.no_msdcs)
|
||||
smb.create_instance()
|
||||
|
||||
print "=============================================================================="
|
||||
|
||||
Reference in New Issue
Block a user