Bug 874809 - authconfig does not add autofs to services
Summary: authconfig does not add autofs to services
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: authconfig
Version: 18
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Tomas Mraz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-08 21:03 UTC by Orion Poplawski
Modified: 2013-03-26 20:38 UTC (History)
1 user (show)

Fixed In Version: authconfig-6.2.5-1.fc18.2
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-26 20:38:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Orion Poplawski 2012-11-08 21:03:55 UTC
Description of problem:

F18 install with:

authconfig --enablemd5 --enableshadow --enableldap --ldapserver=ldap.cora.nwra.com,ldap2.cora.nwra.com --ldapbasedn=dc=nwra,dc=com --enableldaptls --ldaploadcacert=http://www.cora.nwra.com/cgi-bin/getca.pl --enablekrb5 --krb5kdc=kerberos.cora.nwra.com,kerberos2.cora.nwra.com --krb5adminserver=kerberos.cora.nwra.com --krb5realm=CORA.NWRA.COM

It configures sss for automount in nsswitch.conf and adds an [autofs] section to sssd.conf, but does not add "autofs" to the list of services:

[sssd]
services = nss, pam

Version-Release number of selected component (if applicable):
authconfig-6.2.4-2.fc18.x86_64

Comment 1 Orion Poplawski 2012-11-08 21:17:15 UTC
I'm not sure this is appropriate for authconfig, but we will need to configure sssd.conf to set:

ldap_autofs_search_base = dc=cora,dc=nwra,dc=com

in the [domain/default] section as well.  It would be convenient to be able to set that with authconfig like we set the overall ldap_search_base with --ldapbasedn.

Comment 2 Tomas Mraz 2012-12-05 16:01:58 UTC
Is it a common requirement to set the ldap_autofs_search_base differently from the ldap_search_base? And does SSSD default to use the ldap_search_base if ldap_autofs_search_base is not set?

Comment 3 Orion Poplawski 2012-12-05 16:11:50 UTC
I really can't speak to how common it is.  In our company's case we have multiple locations sharing common user area in "dc=nwra,dc=com", but each office has it's own automount maps for the local network configuration.

My understanding is that it defaults to ldap_search_base if ldap_autofs_search_base is not set.

Comment 4 Tomas Mraz 2013-03-26 20:38:51 UTC
Fixed, however we don't set the ldap_autofs_search_base for now.


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