Bug 1465073 - authconfig does not configure autofs/automount to use sssd
Summary: authconfig does not configure autofs/automount to use sssd
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: authconfig
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomas Mraz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-26 14:58 UTC by W. Michael Petullo
Modified: 2017-10-30 10:58 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-10-30 10:58:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.