Add DNS service records for Windows

https://fedorahosted.org/freeipa/ticket/1939
This commit is contained in:
Sumit Bose
2011-10-13 12:01:57 +02:00
committed by Martin Kosek
parent e727dc50cc
commit 2ac9d4816a
3 changed files with 64 additions and 3 deletions

View File

@@ -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 "=============================================================================="

View File

@@ -39,6 +39,9 @@ The IP address of the IPA server. If not provided then this is determined based
\fB\-\-netbios\-name\fR=\fINETBIOS_NAME\fR
The NetBIOS name for the IPA domain. If not provided then this is determined based on the leading component of the DNS domain name.
.TP
\fB\-\-no\-msdcs\fR
Do not create DNS service records for Windows in managed DNS server
.TP
\fB\-U\fR, \fB\-\-unattended\fR
An unattended installation that will never prompt for user input
.SH "EXIT STATUS"