[SSSD-users] autofs will not find auto.master in LDAP

Brendan Kearney bpk678 at gmail.com
Thu Aug 13 01:48:38 UTC 2015


i have a fedora 20 install on a desktop that is working and autofs will 
read the auto.master from ldap and i can mount the shares specified in 
auto.shares listed.

i have a fedora 20 install on a laptop that will not work and cannot 
read the auto.master from ldap.

i have done everything i can think of to make the 2 as "apples to 
apples" identical as i can, but still cannot get autofs to read the 
auto.master from ldap.

[root at laptop ~]# automount -fd -vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
Starting automounter version 5.0.7-42.fc20, master map auto.master
using kernel protocol version 5.02
lookup_nss_read_master: reading master sss auto.master
parse_init: parse(sun): init gathered global options: (null)
spawn_mount: mtab link detected, passing -n to mount
spawn_umount: mtab link detected, passing -n to mount
setautomntent: lookup(sss): setautomntent: No such file or directory
lookup_nss_read_master: auto.master not found, replacing '.' with '_'
parse_init: parse(sun): init gathered global options: (null)
spawn_mount: mtab link detected, passing -n to mount
spawn_umount: mtab link detected, passing -n to mount
setautomntent: lookup(sss): setautomntent: No such file or directory
no mounts in table
^Cautofs stopped

i believe i am hung up by the setautomntent: no such file or directory 
line.  the configs are pretty much copied from the working desktop.  any 
help is appreciated.

*sssd.conf**:*
[sssd]
domains = bpk2.com
services = nss, pam, sudo, autofs
config_file_version = 2
#debug_level = 4

[nss]
filter_groups = root
filter_users = root

[pam]

[sudo]

[autofs]

[domain/bpk2.com]
#debug_level = 4
id_provider = ldap
ldap_schema = rfc2307bis
ldap_uri = _srv_,ldap://ldap1.bpk2.com,ldap://ldap2.bpk2.com
ldap_search_base = dc=bpk2,dc=com
ldap_sasl_mech = GSSAPI
ldap_sasl_authid = host/laptop.bpk2.com
ldap_sasl_realm = BPK2.COM

auth_provider = krb5
krb5_server = _srv_,kerberos.bpk2.com
krb5_realm = BPK2.COM
krb5_renewable_lifetime = 7d
krb5_lifetime = 24h
krb5_renew_interval = 1h
krb5_store_password_if_offline = true
cache_credentials = true

sudo_provider = ldap
ldap_sudo_search_base = ou=SUDO Groups,ou=Roles,dc=bpk2,dc=com

autofs_provider = ldap
ldap_autofs_search_base = cn=autofs,ou=Daemons,dc=bpk2,dc=com
ldap_autofs_map_object_class = automountMap
ldap_autofs_entry_object_class = automount
ldap_autofs_map_name = automountMapName
ldap_autofs_entry_key = automountKey
ldap_autofs_entry_value = automountInformation

#min_id = 1000
#max_id = 2000
enumerate = false

*autofs_ldap_auth.conf**:*
<?xml version="1.0" ?>
<!--
This files contains a single entry with multiple attributes tied to it.
See autofs_ldap_auth.conf(5) for more information.
-->

<autofs_ldap_sasl_conf
     usetls="no"
     tlsrequired="no"
     authrequired="yes"
     authtype="GSSAPI"
     clientprinc="host/laptop.bpk2.com at BPK2.COM"
/>

*/etc/sysconfig/autofs |grep -v \^\#**:*
TIMEOUT=300
BROWSE_MODE="no"
MOUNT_NFS_DEFAULT_PROTOCOL=4
LDAP_URI="ldap:///dc=bpk2,dc=com"
SEARCH_BASE="cn=autofs,ou=Daemons,dc=bpk2,dc=com"
MAP_OBJECT_CLASS="automountMap"
ENTRY_OBJECT_CLASS="automount"
MAP_ATTRIBUTE="automountMapName"
ENTRY_ATTRIBUTE="automountKey"
VALUE_ATTRIBUTE="automountInformation"
AUTH_CONF_FILE="/etc/autofs_ldap_auth.conf"
USE_MISC_DEVICE="yes"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fedorahosted.org/pipermail/sssd-users/attachments/20150812/5fbfd7c2/attachment.html>


More information about the sssd-users mailing list