automount, ldap and gnome?

Anthony Messina amessina at messinet.com
Wed Apr 19 04:27:58 UTC 2006


i have an up-to-date fc5 system that uses automount to mount /home
directories and some other public lan shares via nfs4.  the entire
automounter config is contained in a separate openldap server.  i am
able to mount everything i need without a problem, but when i log into
gnome, my logs begin to fill with the following:

Apr 14 16:34:37 linux-ws1 automount[2273]: lookup(ldap): got answer, but
no first entry for (&(objectclass=nisObject)(cn=floppy*))
Apr 14 16:34:37 linux-ws1 automount[2273]: lookup(ldap): got answer, but
no first entry for (&(objectclass=automount)(cn=floppy*))
Apr 14 16:34:37 linux-ws1 automount[2273]: lookup(ldap): got answer, but
no first entry for (&(objectclass=automount)(automountKey=floppy*))
Apr 14 16:34:38 linux-ws1 automount[2273]: lookup(ldap): got answer, but
no first entry for (&(objectclass=nisObject)(cn=/))
Apr 14 16:34:38 linux-ws1 automount[2273]: lookup(ldap): got answer, but
no first entry for (&(objectclass=automount)(cn=/))
Apr 14 16:34:38 linux-ws1 automount[2273]: lookup(ldap): got answer, but
no first entry for (&(objectclass=automount)(automountKey=/))
Apr 14 16:34:38 linux-ws1 automount[2273]: failed to mount /mnt/floppy*
Apr 14 16:34:38 linux-ws1 automount[2274]: lookup(ldap): got answer, but
no first entry for (&(objectclass=nisObject)(cn=cdrom*))
Apr 14 16:34:38 linux-ws1 automount[2274]: lookup(ldap): got answer, but
no first entry for (&(objectclass=automount)(cn=cdrom*))
Apr 14 16:34:38 linux-ws1 automount[2274]: lookup(ldap): got answer, but
no first entry for (&(objectclass=automount)(automountKey=cdrom*))
Apr 14 16:34:38 linux-ws1 automount[2274]: lookup(ldap): got answer, but
no first entry for (&(objectclass=nisObject)(cn=/))
Apr 14 16:34:38 linux-ws1 automount[2274]: lookup(ldap): got answer, but
no first entry for (&(objectclass=automount)(cn=/))
Apr 14 16:34:38 linux-ws1 automount[2274]: lookup(ldap): got answer, but
no first entry for (&(objectclass=automount)(automountKey=/))
Apr 14 16:34:38 linux-ws1 automount[2274]: failed to mount /mnt/cdrom*
Apr 14 16:34:38 linux-ws1 automount[2275]: lookup(ldap): got answer, but
no first entry for (&(objectclass=nisObject)(cn=jaz*))
Apr 14 16:34:38 linux-ws1 automount[2275]: lookup(ldap): got answer, but
no first entry for (&(objectclass=automount)(cn=jaz*))
Apr 14 16:34:38 linux-ws1 automount[2275]: lookup(ldap): got answer, but
no first entry for (&(objectclass=automount)(automountKey=jaz*))
Apr 14 16:34:39 linux-ws1 automount[2275]: lookup(ldap): got answer, but
no first entry for (&(objectclass=nisObject)(cn=/))
Apr 14 16:34:39 linux-ws1 automount[2275]: lookup(ldap): got answer, but
no first entry for (&(objectclass=automount)(cn=/))
Apr 14 16:34:39 linux-ws1 automount[2275]: lookup(ldap): got answer, but
no first entry for (&(objectclass=automount)(automountKey=/))
Apr 14 16:34:39 linux-ws1 automount[2275]: failed to mount /mnt/jaz*
Apr 14 16:34:39 linux-ws1 automount[2276]: lookup(ldap): got answer, but
no first entry for (&(objectclass=nisObject)(cn=pocketzip*))
Apr 14 16:34:39 linux-ws1 automount[2276]: lookup(ldap): got answer, but
no first entry for (&(objectclass=automount)(cn=pocketzip*))
Apr 14 16:34:39 linux-ws1 automount[2276]: lookup(ldap): got answer, but
no first entry for (&(objectclass=automount)(automountKey=pocketzip*))
Apr 14 16:34:39 linux-ws1 automount[2276]: lookup(ldap): got answer, but
no first entry for (&(objectclass=nisObject)(cn=/))
Apr 14 16:34:39 linux-ws1 automount[2276]: lookup(ldap): got answer, but
no first entry for (&(objectclass=automount)(cn=/))
Apr 14 16:34:39 linux-ws1 automount[2276]: lookup(ldap): got answer, but
no first entry for (&(objectclass=automount)(automountKey=/))
Apr 14 16:34:39 linux-ws1 automount[2276]: failed to mount /mnt/pocketzip*
Apr 14 16:34:39 linux-ws1 automount[2277]: lookup(ldap): got answer, but
no first entry for (&(objectclass=nisObject)(cn=zip*))
Apr 14 16:34:39 linux-ws1 automount[2277]: lookup(ldap): got answer, but
no first entry for (&(objectclass=automount)(cn=zip*))
Apr 14 16:34:39 linux-ws1 automount[2277]: lookup(ldap): got answer, but
no first entry for (&(objectclass=automount)(automountKey=zip*))
Apr 14 16:34:39 linux-ws1 automount[2277]: lookup(ldap): got answer, but
no first entry for (&(objectclass=nisObject)(cn=/))
Apr 14 16:34:40 linux-ws1 automount[2277]: lookup(ldap): got answer, but
no first entry for (&(objectclass=automount)(cn=/))
Apr 14 16:34:40 linux-ws1 automount[2277]: lookup(ldap): got answer, but
no first entry for (&(objectclass=automount)(automountKey=/))
Apr 14 16:34:40 linux-ws1 automount[2277]: failed to mount /mnt/zip*
Apr 14 16:34:40 linux-ws1 automount[2278]: lookup(ldap): got answer, but
no first entry for (&(objectclass=nisObject)(cn=ls120*))
Apr 14 16:34:40 linux-ws1 automount[2278]: lookup(ldap): got answer, but
no first entry for (&(objectclass=automount)(cn=ls120*))
Apr 14 16:34:40 linux-ws1 automount[2278]: lookup(ldap): got answer, but
no first entry for (&(objectclass=automount)(automountKey=ls120*))
Apr 14 16:34:40 linux-ws1 automount[2278]: lookup(ldap): got answer, but
no first entry for (&(objectclass=nisObject)(cn=/))
Apr 14 16:34:40 linux-ws1 automount[2278]: lookup(ldap): got answer, but
no first entry for (&(objectclass=automount)(cn=/))
Apr 14 16:34:40 linux-ws1 automount[2278]: lookup(ldap): got answer, but
no first entry for (&(objectclass=automount)(automountKey=/))
Apr 14 16:34:40 linux-ws1 automount[2278]: failed to mount /mnt/ls120*
Apr 14 16:34:40 linux-ws1 automount[2279]: lookup(ldap): got answer, but
no first entry for (&(objectclass=nisObject)(cn=camera*))
Apr 14 16:34:40 linux-ws1 automount[2279]: lookup(ldap): got answer, but
no first entry for (&(objectclass=automount)(cn=camera*))
Apr 14 16:34:40 linux-ws1 automount[2279]: lookup(ldap): got answer, but
no first entry for (&(objectclass=automount)(automountKey=camera*))
Apr 14 16:34:40 linux-ws1 automount[2279]: lookup(ldap): got answer, but
no first entry for (&(objectclass=nisObject)(cn=/))
Apr 14 16:34:40 linux-ws1 automount[2279]: lookup(ldap): got answer, but
no first entry for (&(objectclass=automount)(cn=/))
Apr 14 16:34:40 linux-ws1 automount[2279]: lookup(ldap): got answer, but
no first entry for (&(objectclass=automount)(automountKey=/))
Apr 14 16:34:40 linux-ws1 automount[2279]: failed to mount /mnt/camera*
Apr 14 16:34:41 linux-ws1 automount[2280]: lookup(ldap): got answer, but
no first entry for (&(objectclass=nisObject)(cn=memstick*))
Apr 14 16:34:41 linux-ws1 automount[2280]: lookup(ldap): got answer, but
no first entry for (&(objectclass=automount)(cn=memstick*))
Apr 14 16:34:41 linux-ws1 automount[2280]: lookup(ldap): got answer, but
no first entry for (&(objectclass=automount)(automountKey=memstick*))
Apr 14 16:34:41 linux-ws1 automount[2280]: lookup(ldap): got answer, but
no first entry for (&(objectclass=nisObject)(cn=/))
Apr 14 16:34:41 linux-ws1 automount[2280]: lookup(ldap): got answer, but
no first entry for (&(objectclass=automount)(cn=/))
Apr 14 16:34:41 linux-ws1 automount[2280]: lookup(ldap): got answer, but
no first entry for (&(objectclass=automount)(automountKey=/))
Apr 14 16:34:41 linux-ws1 automount[2280]: failed to mount /mnt/memstick*
Apr 14 16:34:41 linux-ws1 automount[2281]: lookup(ldap): got answer, but
no first entry for (&(objectclass=nisObject)(cn=flash*))
Apr 14 16:34:41 linux-ws1 automount[2281]: lookup(ldap): got answer, but
no first entry for (&(objectclass=automount)(cn=flash*))
Apr 14 16:34:41 linux-ws1 automount[2281]: lookup(ldap): got answer, but
no first entry for (&(objectclass=automount)(automountKey=flash*))
Apr 14 16:34:41 linux-ws1 automount[2281]: lookup(ldap): got answer, but
no first entry for (&(objectclass=nisObject)(cn=/))
Apr 14 16:34:41 linux-ws1 automount[2281]: lookup(ldap): got answer, but
no first entry for (&(objectclass=automount)(cn=/))
Apr 14 16:34:41 linux-ws1 automount[2281]: lookup(ldap): got answer, but
no first entry for (&(objectclass=automount)(automountKey=/))
Apr 14 16:34:41 linux-ws1 automount[2281]: failed to mount /mnt/flash*
Apr 14 16:34:41 linux-ws1 automount[2282]: lookup(ldap): got answer, but
no first entry for (&(objectclass=nisObject)(cn=diskonkey*))
Apr 14 16:34:42 linux-ws1 automount[2282]: lookup(ldap): got answer, but
no first entry for (&(objectclass=automount)(cn=diskonkey*))
Apr 14 16:34:42 linux-ws1 automount[2282]: lookup(ldap): got answer, but
no first entry for (&(objectclass=automount)(automountKey=diskonkey*))
Apr 14 16:34:42 linux-ws1 automount[2282]: lookup(ldap): got answer, but
no first entry for (&(objectclass=nisObject)(cn=/))
Apr 14 16:34:42 linux-ws1 automount[2282]: lookup(ldap): got answer, but
no first entry for (&(objectclass=automount)(cn=/))
Apr 14 16:34:42 linux-ws1 automount[2282]: lookup(ldap): got answer, but
no first entry for (&(objectclass=automount)(automountKey=/))
Apr 14 16:34:42 linux-ws1 automount[2282]: failed to mount /mnt/diskonkey*
Apr 14 16:34:42 linux-ws1 automount[2283]: lookup(ldap): got answer, but
no first entry for (&(objectclass=nisObject)(cn=microdrive*))
Apr 14 16:34:42 linux-ws1 automount[2283]: lookup(ldap): got answer, but
no first entry for (&(objectclass=automount)(cn=microdrive*))
Apr 14 16:34:42 linux-ws1 automount[2283]: lookup(ldap): got answer, but
no first entry for (&(objectclass=automount)(automountKey=microdrive*))
Apr 14 16:34:42 linux-ws1 automount[2283]: lookup(ldap): got answer, but
no first entry for (&(objectclass=nisObject)(cn=/))
Apr 14 16:34:42 linux-ws1 automount[2283]: lookup(ldap): got answer, but
no first entry for (&(objectclass=automount)(cn=/))
Apr 14 16:34:42 linux-ws1 automount[2283]: lookup(ldap): got answer, but
no first entry for (&(objectclass=automount)(automountKey=/))
Apr 14 16:34:42 linux-ws1 automount[2283]: failed to mount /mnt/microdrive*

i do not understand why something is trying to automount all these
things that i don't need.  also, whatever it is will continue ad
infinitum to query ldap for these values.= and slows down this system
and the ldap server.  could any of you fine folks point me in the right
direction?  your help is sincerely appreciated.

my /etc/nnswitch.conf (the default using ldap):
passwd:     files ldap
shadow:     files ldap
group:      files ldap
hosts:      files dns
bootparams: nisplus [NOTFOUND=return] files
ethers:     files
netmasks:   files
networks:   files
protocols:  files ldap
rpc:        files
services:   files ldap
netgroup:   files ldap
publickey:  nisplus
automount:  files ldap
aliases:    files nisplus

my /etc/auto.master (everything commented out):
# $Id: auto.master,v 1.4 2005/01/04 14:36:54 raven Exp $
#
# Sample auto.master file
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# For details of the format look at autofs(5).
#/misc	/etc/auto.misc --timeout=60
#/smb	/etc/auto.smb
#/net	/etc/auto.net

-- 
Anthony

Website: http://messinet.com
Gallery: http://gallery.messinet.com/main.php?g2_itemId=34

GnuPG Key / Fingerprint:
0xB0014A4E / 8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E

Registered Linux User #389089 - Get counted!: http://counter.li.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060418/50e802bb/attachment-0001.sig>


More information about the fedora-list mailing list