Bug 1465073

Summary: authconfig does not configure autofs/automount to use sssd
Product: [Fedora] Fedora Reporter: W. Michael Petullo <mike>
Component: authconfigAssignee: Tomas Mraz <tmraz>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: jlieskov, lslebodn, tmraz
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-10-30 10:58:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description W. Michael Petullo 2017-06-26 14:58:43 UTC
Description of problem:
I use authconfig to set up nss to use sssd:

authconfig --enablesssd --updateall
authconfig --enablesssdauth --updateall

However, this does not configure automount to use sssd. I still need to manually add the following to /etc/nsswitch.conf:

automount: files sss

Version-Release number of selected component (if applicable):
authconfig-6.2.10-14.fc25.x86_64

Expected results:
It would be useful if the authconfig utility provided an option which configured autofs/automount to make use of sssd.

Comment 1 Lukas Slebodnik 2017-10-30 10:58:24 UTC
authconfig --enablesssd --updateall works for me if libsss_autofs is installed.
(beware that there is a weak dependency between sssd-common and libsss_autofs)

sh# grep sss /etc/nsswitch.conf 
passwd:     files sss
shadow:     files sss
group:      files sss
services:   files sss
netgroup:   files sss

sh# rpm -q libsss_autofs
libsss_autofs-1.15.3-5.fc25.x86_64

sh# authconfig --enablesssd --updateall

sh# grep sss /etc/nsswitch.conf 
passwd:     files sss
shadow:     files sss
group:      files sss
services:   files sss
netgroup:   files sss
automount:  files sss