summaryrefslogtreecommitdiffstats
path: root/ipapython
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2012-05-29 14:20:38 -0400
committerRob Crittenden <rcritten@redhat.com>2012-06-25 17:24:34 -0400
commitf4d2f2a65b799e200c2f98164e1a0ac4e9b07376 (patch)
tree14b725655a56f3b7180f013f2b18759df5789b30 /ipapython
parentd1fe43c56fe211db035bd6a30ac06fcfc6f61557 (diff)
downloadfreeipa.git-f4d2f2a65b799e200c2f98164e1a0ac4e9b07376.tar.gz
freeipa.git-f4d2f2a65b799e200c2f98164e1a0ac4e9b07376.tar.xz
freeipa.git-f4d2f2a65b799e200c2f98164e1a0ac4e9b07376.zip
Configure automount using autofs or sssd.
This script edits nsswitch.conf to use either ldap (autofs) or sss (sssd) to find automount maps. NFSv4 services are started so Kerberos encryption and/or integrity can be used on the maps. https://fedorahosted.org/freeipa/ticket/1233 https://fedorahosted.org/freeipa/ticket/2193
Diffstat (limited to 'ipapython')
-rw-r--r--ipapython/platform/base.py4
-rw-r--r--ipapython/platform/fedora16.py3
2 files changed, 6 insertions, 1 deletions
diff --git a/ipapython/platform/base.py b/ipapython/platform/base.py
index d177cc82..bf76b763 100644
--- a/ipapython/platform/base.py
+++ b/ipapython/platform/base.py
@@ -23,7 +23,9 @@ from ipalib.plugable import MagicDict
# through knownservices.<name> and take care of remapping internally, if needed
wellknownservices = ['certmonger', 'dirsrv', 'httpd', 'ipa', 'krb5kdc',
'messagebus', 'nslcd', 'nscd', 'ntpd', 'portmap',
- 'rpcbind', 'kadmin', 'sshd']
+ 'rpcbind', 'kadmin', 'sshd', 'autofs', 'rpcgssd',
+ 'rpcidmapd']
+
class AuthConfig(object):
"""
diff --git a/ipapython/platform/fedora16.py b/ipapython/platform/fedora16.py
index 830771d8..985d368f 100644
--- a/ipapython/platform/fedora16.py
+++ b/ipapython/platform/fedora16.py
@@ -43,6 +43,9 @@ __all__ = ['authconfig', 'service', 'knownservices', 'backup_and_replace_hostnam
# mapping will be kept in this dictionary
system_units = dict(map(lambda x: (x, "%s.service" % (x)), base.wellknownservices))
+system_units['rpcgssd'] = 'nfs-secure.service'
+system_units['rpcidmapd'] = 'nfs-idmap.service'
+
# Rewrite dirsrv and pki-cad services as they support instances via separate
# service generator. To make this working, one needs to have both foo@.servic
# and foo.target -- the latter is used when request should be coming for