Hi,
After I upgraded to FC6 the automount deamon wil not start.
In /var/log/messages I get the following messages:
Nov 26 21:22:54 tiger automount[11314]: Starting automounter version 5.0.1-0.rc2.22, master map auto.master
Nov 26 21:22:54 tiger automount[11314]: using kernel protocol version 5.00
Nov 26 21:22:54 tiger automount[11314]: lookup_init: lookup(ldap): failed to get query dn
Nov 26 21:22:54 tiger automount[11314]: mount_autofs_indirect: failed to read map for /dl
Nov 26 21:22:54 tiger automount[11314]: handle_mounts: mount of /dl failed!
Nov 26 21:22:54 tiger automount[11314]: master_do_mount: failed to startup mount
Nov 26 21:22:54 tiger automount[11314]: master_read_master: no mounts in table
My OpenLdap setup for automount is as follows:
# auto.master, net.home
dn: ou=auto.master,dc=net,dc=home
ou: auto.master
objectClass: top
objectClass: automountMap
# /dl, auto.master, net.home
dn: cn=/dl,ou=auto.master,dc=net,dc=home
cn: /dl
automountInformation: ldap:ou=auto.local,dc=net,dc=home --timeout 60
objectClass: automount
# auto.local, net.home
dn: ou=auto.local,dc=net,dc=home
ou: auto.local
objectClass: top
objectClass: organizationalUnit
# software, auto.local, net.home
dn: cn=software,ou=auto.local,dc=net,dc=home
objectClass: top
objectClass: automount
cn: software
automountInformation: -rw,intr,nosuid,rsize=8192,wsize=8192 nazgul:/dl/software
My /etc/sysconfig/autofs currently looks as follows:
#
# Define default options for autofs.
#
# DEFAULT_MASTER_MAP_NAME - default map name for the master map.
#
#DEFAULT_MASTER_MAP_NAME="auto.master"
#
# DEFAULT_TIMEOUT - set the default mount timeout (default 600).
#
DEFAULT_TIMEOUT=300
#
# DEFAULT_BROWSE_MODE - maps are browsable by default.
#
DEFAULT_BROWSE_MODE="no"
#
# DEFAULT_LOGGING - set default log level "none", "verbose" or "debug"
#
#DEFAULT_LOGGING="none"
DEFAULT_LOGGING="debug"
#
# Define the default LDAP schema to use for lookups
#
# System default
#
#DEFAULT_MAP_OBJECT_CLASS="nisMap"
#DEFAULT_ENTRY_OBJECT_CLASS="nisObject"
#DEFAULT_MAP_ATTRIBUTE="nisMapName"
#DEFAULT_ENTRY_ATTRIBUTE="cn"
#DEFAULT_VALUE_ATTRIBUTE="nisMapEntry"
#
# Other common LDAP nameing
#
DEFAULT_MAP_OBJECT_CLASS="automountMap"
DEFAULT_ENTRY_OBJECT_CLASS="automount"
DEFAULT_MAP_ATTRIBUTE="ou"
DEFAULT_ENTRY_ATTRIBUTE="cn"
DEFAULT_VALUE_ATTRIBUTE="automountInformation"
#
#DEFAULT_MAP_OBJECT_CLASS="automountMap"
#DEFAULT_ENTRY_OBJECT_CLASS="automount"
#DEFAULT_MAP_ATTRIBUTE="automountMapName"
#DEFAULT_ENTRY_ATTRIBUTE="automountKey"
#DEFAULT_VALUE_ATTRIBUTE="automountInformation"
#
# DEFAULT_AUTH_CONF_FILE - set the default location for the SASL
# authentication configuration file.
#
DEFAULT_AUTH_CONF_FILE="/etc/autofs_ldap_auth.conf"
#
# General global options
#
OPTIONS="-d -v"
#
The OpenLdap server runs on a FC5 macine but stopped working on the first client I upgraded to FC6
This setup has been working for years.
Any ideas?