CentOS5 automount and Fedora Directory Server 1.0.3

Installing, Configuring, Troubleshooting server daemons such as Web and Mail
Post Reply
ChathamDaleJ
Posts: 6
Joined: 2005/11/21 22:18:33

CentOS5 automount and Fedora Directory Server 1.0.3

Post by ChathamDaleJ » 2007/05/11 13:55:29

Can someone tell me what I'm doing wrong, please?

TIA,

Dale


Fedora Directory Server from fedora-ds-1.0.4-1.FC6.x86_64.opt.rpm

Followed instructions at http://directory.fedoraproject.org/wiki/Howto:Automount

Used ypcat -k auto.xxx > auto.xxx to get automount flat files.

used migrate_automount.pl to read files from above into Directory Server. No errors.

When I reload automounter, I get:


[root@dchatham ~]# service autofs reload
Checking for changes to /etc/auto.master ....
Usage: /usr/sbin/automount [options] path map_type [args...]
Usage: /usr/sbin/automount [options] path map_type [args...]
Start /usr/sbin/automount --timeout=60 --ghost /net program /etc/auto.net
/net: mount failed!
Start /usr/sbin/automount --timeout=60 --ghost /home file /etc/auto.home
/home: mount failed!

From /var/log/messages:

May 11 08:53:16 dchatham automount: nsswitch: couldn't find map auto.master
May 11 08:53:16 dchatham automount: nsswitch: couldn't find map auto.solaris
May 11 08:53:16 dchatham nsswitch: nsswitch: couldn't find map auto.solaris
May 11 08:53:16 dchatham automount: nsswitch: couldn't find map auto.master
May 11 08:53:16 dchatham automount: nsswitch: couldn't find map auto.solaris
May 11 08:53:16 dchatham nsswitch: nsswitch: couldn't find map auto.solaris
May 11 08:53:16 dchatham nsswitch: nsswitch: couldn't find map auto.users
May 11 08:53:16 dchatham nsswitch: nsswitch: couldn't find map auto.proj
May 11 08:53:17 dchatham nsswitch: nsswitch: couldn't find map auto.apps
May 11 08:53:17 dchatham automount[32655]: mount_autofs: already mounted
May 11 08:53:17 dchatham automount[32655]: /net: mount failed!
May 11 08:53:17 dchatham automount[32660]: mount_autofs: already mounted
May 11 08:53:17 dchatham automount[32660]: /home: mount failed!

[root@enigma MigrationTools-47]# cat /opt/fedora-ds/slapd-enigma/config/schema/75autofs.ldif
#
################################################################################
#
dn: cn=schema
#
################################################################################
#
attributeTypes: (
1.3.6.1.1.1.1.31
NAME
EQUALITY caseExactIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
SINGLE-VALUE
)
#
################################################################################
#
attributeTypes: (
1.3.6.1.1.1.1.32
NAME
EQUALITY caseExactIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
SINGLE-VALUE
)
#
################################################################################
#
attributeTypes: (
1.3.6.1.1.1.1.33
NAME
EQUALITY caseExactIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
SINGLE-VALUE
)
#
################################################################################
#
objectClasses: (
1.3.6.1.1.1.2.16
NAME
SUP top
STRUCTURAL
MUST automountMapName
MAY description
)
#
################################################################################
#
objectClasses: (
1.3.6.1.1.1.2.17
NAME
SUP top
STRUCTURAL
MUST ( automountKey $ automountInformation )
MAY description
)
#
################################################################################
#

[root@enigma MigrationTools-47]# cat /etc/sysconfig/autofs
#
# 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"
#
# 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=""
#
UNDERSCORETODOT=0
DAEMONOPTIONS="--ghost --timeout=60"

ChathamDaleJ
Posts: 6
Joined: 2005/11/21 22:18:33

Re: CentOS5 automount and Fedora Directory Server 1.0.3

Post by ChathamDaleJ » 2007/05/11 13:57:21

Ooops, sorry, below is uncommented:

#
# System default
#
DEFAULT_MAP_OBJECT_CLASS="nisMap"
DEFAULT_ENTRY_OBJECT_CLASS="nisObject"
DEFAULT_MAP_ATTRIBUTE="nismapname"
DEFAULT_ENTRY_ATTRIBUTE="cn"
DEFAULT_VALUE_ATTRIBUTE="nisMapEntry"
#

Post Reply