<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
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.<br>
<br>
i have a fedora 20 install on a laptop that will not work and cannot
read the auto.master from ldap.<br>
<br>
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.<br>
<br>
[root@laptop ~]# automount -fd -vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv<br>
Starting automounter version 5.0.7-42.fc20, master map auto.master<br>
using kernel protocol version 5.02<br>
lookup_nss_read_master: reading master sss auto.master<br>
parse_init: parse(sun): init gathered global options: (null)<br>
spawn_mount: mtab link detected, passing -n to mount<br>
spawn_umount: mtab link detected, passing -n to mount<br>
setautomntent: lookup(sss): setautomntent: No such file or directory<br>
lookup_nss_read_master: auto.master not found, replacing '.' with
'_'<br>
parse_init: parse(sun): init gathered global options: (null)<br>
spawn_mount: mtab link detected, passing -n to mount<br>
spawn_umount: mtab link detected, passing -n to mount<br>
setautomntent: lookup(sss): setautomntent: No such file or directory<br>
no mounts in table<br>
^Cautofs stopped<br>
<br>
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.<br>
<br>
<b>sssd.conf</b><b>:</b><br>
[sssd]<br>
domains = bpk2.com<br>
services = nss, pam, sudo, autofs<br>
config_file_version = 2<br>
#debug_level = 4<br>
<br>
[nss]<br>
filter_groups = root<br>
filter_users = root<br>
<br>
[pam]<br>
<br>
[sudo]<br>
<br>
[autofs]<br>
<br>
[domain/bpk2.com]<br>
#debug_level = 4<br>
id_provider = ldap<br>
ldap_schema = rfc2307bis<br>
ldap_uri = _srv_,<a class="moz-txt-link-freetext" href="ldap://ldap1.bpk2.com,ldap://ldap2.bpk2.com">ldap://ldap1.bpk2.com,ldap://ldap2.bpk2.com</a><br>
ldap_search_base = dc=bpk2,dc=com<br>
ldap_sasl_mech = GSSAPI<br>
ldap_sasl_authid = host/laptop.bpk2.com<br>
ldap_sasl_realm = BPK2.COM<br>
<br>
auth_provider = krb5<br>
krb5_server = _srv_,kerberos.bpk2.com<br>
krb5_realm = BPK2.COM<br>
krb5_renewable_lifetime = 7d<br>
krb5_lifetime = 24h<br>
krb5_renew_interval = 1h<br>
krb5_store_password_if_offline = true<br>
cache_credentials = true<br>
<br>
sudo_provider = ldap<br>
ldap_sudo_search_base = ou=SUDO Groups,ou=Roles,dc=bpk2,dc=com<br>
<br>
autofs_provider = ldap<br>
ldap_autofs_search_base = cn=autofs,ou=Daemons,dc=bpk2,dc=com<br>
ldap_autofs_map_object_class = automountMap<br>
ldap_autofs_entry_object_class = automount<br>
ldap_autofs_map_name = automountMapName<br>
ldap_autofs_entry_key = automountKey<br>
ldap_autofs_entry_value = automountInformation<br>
<br>
#min_id = 1000<br>
#max_id = 2000<br>
enumerate = false<br>
<br>
<b>autofs_ldap_auth.conf</b><b>:</b><br>
<?xml version="1.0" ?><br>
<!--<br>
This files contains a single entry with multiple attributes tied to
it.<br>
See autofs_ldap_auth.conf(5) for more information.<br>
--><br>
<br>
<autofs_ldap_sasl_conf<br>
usetls="no"<br>
tlsrequired="no"<br>
authrequired="yes"<br>
authtype="GSSAPI"<br>
clientprinc=<a class="moz-txt-link-rfc2396E" href="mailto:host/laptop.bpk2.com@BPK2.COM">"host/laptop.bpk2.com@BPK2.COM"</a><br>
/><br>
<br>
<b>/etc/sysconfig/autofs |grep -v \^\#</b><b>:</b><br>
TIMEOUT=300<br>
BROWSE_MODE="no"<br>
MOUNT_NFS_DEFAULT_PROTOCOL=4<br>
LDAP_URI=<a class="moz-txt-link-rfc2396E" href="ldap:///dc=bpk2,dc=com">"ldap:///dc=bpk2,dc=com"</a><br>
SEARCH_BASE="cn=autofs,ou=Daemons,dc=bpk2,dc=com"<br>
MAP_OBJECT_CLASS="automountMap"<br>
ENTRY_OBJECT_CLASS="automount"<br>
MAP_ATTRIBUTE="automountMapName"<br>
ENTRY_ATTRIBUTE="automountKey"<br>
VALUE_ATTRIBUTE="automountInformation"<br>
AUTH_CONF_FILE="/etc/autofs_ldap_auth.conf"<br>
USE_MISC_DEVICE="yes"<br>
</body>
</html>