summaryrefslogtreecommitdiffstats
path: root/ipapython
diff options
context:
space:
mode:
authorTomas Babej <tbabej@redhat.com>2013-09-25 13:45:45 +0200
committerAlexander Bokovoy <abokovoy@redhat.com>2014-05-09 13:57:04 +0300
commitd90eb46cce788595edf50f4658e97a7dd8c3e9b8 (patch)
tree9f84429af988476800c7c54e4755711bac2624b0 /ipapython
parent23302645aa70613dd1ecc6eb45b6c2ad07588270 (diff)
downloadfreeipa-d90eb46cce788595edf50f4658e97a7dd8c3e9b8.tar.gz
freeipa-d90eb46cce788595edf50f4658e97a7dd8c3e9b8.tar.xz
freeipa-d90eb46cce788595edf50f4658e97a7dd8c3e9b8.zip
ipa-client: Set NIS domain name in the installer
Provides two new options for the ipa-client-install: --nisdomain: specifies the NIS domain name --no_nisdomain: flag to aviod setting the NIS domain name In case no --nisdomain is specified and --no_nisdomain flag was not set, the IPA domain is used. Manual pages updated. http://fedorahosted.org/freeipa/ticket/3202 Reviewed-By: Jakub Hrozek <jhrozek@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
Diffstat (limited to 'ipapython')
-rw-r--r--ipapython/platform/base/__init__.py3
-rw-r--r--ipapython/platform/fedora16/service.py2
2 files changed, 4 insertions, 1 deletions
diff --git a/ipapython/platform/base/__init__.py b/ipapython/platform/base/__init__.py
index c1b076b2c..f988c7127 100644
--- a/ipapython/platform/base/__init__.py
+++ b/ipapython/platform/base/__init__.py
@@ -27,7 +27,8 @@ import os
wellknownservices = ['certmonger', 'dirsrv', 'httpd', 'ipa', 'krb5kdc',
'messagebus', 'nslcd', 'nscd', 'ntpd', 'portmap',
'rpcbind', 'kadmin', 'sshd', 'autofs', 'rpcgssd',
- 'rpcidmapd', 'pki_tomcatd', 'pki_cad', 'chronyd']
+ 'rpcidmapd', 'pki_tomcatd', 'pki_cad', 'chronyd',
+ 'domainname']
# System may support more time&date services. FreeIPA supports ntpd only, other
# services will be disabled during IPA installation
diff --git a/ipapython/platform/fedora16/service.py b/ipapython/platform/fedora16/service.py
index edf2d7ff8..41c241ae5 100644
--- a/ipapython/platform/fedora16/service.py
+++ b/ipapython/platform/fedora16/service.py
@@ -54,6 +54,8 @@ system_units['pki_cad'] = system_units['pki-cad']
system_units['pki-tomcatd'] = 'pki-tomcatd@pki-tomcat.service'
system_units['pki_tomcatd'] = system_units['pki-tomcatd']
system_units['ipa-otpd'] = 'ipa-otpd.socket'
+# Service that sets domainname on Fedora is called fedora-domainname.service
+system_units['domainname'] = 'fedora-domainname.service'
class Fedora16Service(systemd.SystemdService):
def __init__(self, service_name):