summaryrefslogtreecommitdiffstats
path: root/install/tools
diff options
context:
space:
mode:
authorMartin Basti <mbasti@redhat.com>2016-06-21 18:17:55 +0200
committerMartin Basti <mbasti@redhat.com>2016-06-27 13:35:00 +0200
commit218734ba5ac3326daaf1097ef98217f6c86f526c (patch)
tree3fe8c47ea112f21e6ff2ba8e7f07cebf2e2a2880 /install/tools
parente42f662b78d9a9d9c0ca786e69d7c203e6863462 (diff)
downloadfreeipa-218734ba5ac3326daaf1097ef98217f6c86f526c.tar.gz
freeipa-218734ba5ac3326daaf1097ef98217f6c86f526c.tar.xz
freeipa-218734ba5ac3326daaf1097ef98217f6c86f526c.zip
DNS Locations: hide option --no-msdcs in adtrust-install
Since DNS location mechanism is active, this option has no effect, because records are generate dynamically. https://fedorahosted.org/freeipa/ticket/2008 Reviewed-By: Petr Spacek <pspacek@redhat.com>
Diffstat (limited to 'install/tools')
-rwxr-xr-xinstall/tools/ipa-adtrust-install10
1 files changed, 7 insertions, 3 deletions
diff --git a/install/tools/ipa-adtrust-install b/install/tools/ipa-adtrust-install
index 5babcdb7c..5ba72a65d 100755
--- a/install/tools/ipa-adtrust-install
+++ b/install/tools/ipa-adtrust-install
@@ -29,6 +29,8 @@ import ldap
import six
+from optparse import SUPPRESS_HELP
+
from ipaserver.install import adtrustinstance
from ipaserver.install.installutils import (
read_password,
@@ -54,9 +56,11 @@ def parse_options():
default=False, help="print debugging information")
parser.add_option("--netbios-name", dest="netbios_name",
help="NetBIOS name of the IPA domain")
+
+ # no-msdcs has not effect, option is here just for backward compatibility
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")
+ default=False, help=SUPPRESS_HELP)
+
parser.add_option("--rid-base", dest="rid_base", type=int, default=1000,
help="Start value for mapping UIDs and GIDs to RIDs")
parser.add_option("--secondary-rid-base", dest="secondary_rid_base",
@@ -390,7 +394,7 @@ def main():
smb.setup(api.env.host, api.env.realm,
netbios_name, reset_netbios_name,
options.rid_base, options.secondary_rid_base,
- options.no_msdcs, options.add_sids,
+ options.add_sids,
enable_compat = options.enable_compat)
smb.find_local_id_range()
smb.create_instance()