Have an auto_home entry:

 

dn:
automountKey=dyoung2,automountMapName=auto_home,o=gsb,dc=uchicago,dc=edu

automountInformation: gsbdata3:/export/home/&

automountKey: dyoung2 

objectClass: top

objectClass: automount

 

and get this when trying to mount:

 

Jun 22 05:24:34 gsbtestfilervm automount[14488]: attempting to mount
entry /home/dyoung2

Jun 22 05:24:34 gsbtestfilervm automount[14488]: failed to mount
/home/dyoung2

 

/etc/sysconfig/autofs:

 

#

# Define default options for autofs.

#

# DEFAULT_MASTER_MAP_NAME - default map name for the master map.

#

#DEFAULT_MASTER_MAP_NAME="ldap:automountMapName=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_APPEND_OPTIONS - append to global options instead of replace.

#

#DEFAULT_APPEND_OPTIONS="yes"

#

# DEFAULT_LOGGING - set default log level "none", "verbose" or "debug"

#

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=""

#

 

/etc/openldap/ldap.conf

#

# LDAP Defaults

#

 

# See ldap.conf(5) for details

# This file should be world readable but not world writable.

 

URI ldap://gsbids1.uchicago.edu

 

#SIZELIMIT      12

#TIMELIMIT      15

#DEREF          never

BASE o=gsb,dc=uchicago,dc=edu

TLS_CACERTDIR /etc/openldap/cacerts

Darren Young
Systems & Security Architect
Computing Services
Chicago GSB
5807 South Woodlawn Avenue
Chicago, IL 60637

Voice 773.702.0331 | Fax 773.702.0233

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to