Problems with autofs and .hidden files



Hello!

We are using autofs in order to mount the user's home drive via NFS after a
successfull login authenticated by ldap.

/etc/auto.master looks like this:

# AUOTOFS-MAPPING
/home/schueler  /etc/auto.schueler
/home/lehrer    /etc/auto.lehrer
/home/maerkte   /etc/auto.maerkte

/etc/auto.schueler has the following content (the same also applies for the
other files):

*       -fstype=nfs,rw,hard,intr,nodev,nosuid,exec,acl        
server.domain.de:/home/schueler/&

Generally speaking this setup works like a charm but from time to time we
encounter the following messages in syslog:

Sep 24 16:46:57 server mountd[8818]: authenticated mount request from
client.domain.de:559 for /home/schueler/.directory (/home/schueler)
Sep 24 16:46:57 server mountd[8818]: can't stat exported
dir /home/schueler/.directory: No such file or directory

Our investigations show that these messages are probably to be created
whenever a user tries to access /home/schueler by using Konqueror or
Nautilus. The file .directory doesn't exist, however, and that's why these
messages appaer. Normalley, this wouldn't be a severe problem but the
entire is completely slowed down so that another kind of error occurs:

Sep 24 16:47:00 server mountd[8818]: refused mount request from
client.domain.de for /home/schueler/.directory (/home/schueler): illegal
port 48337

Does anybody know this issue and could provide any hints how to solve it?

Cheers,
Fabian
.



Relevant Pages

  • Re: [SLE] Remote X login
    ... > OK - NFS sounds like a Good Thing. ... I've heard that NIS isn't. ... > Should I perhaps look at LDAP instead? ... want to share a single user, sure, it's fine to just mount /home/userx. ...
    (SuSE)
  • Re: Linux On-Demand Network Access (LODNA)
    ... >>differs from NFS. ... >mount an NFS partition other than listing it in the ... >then changing fstab still requires root access. ... >3) No need for root privileges when choosing what to ...
    (Linux-Kernel)
  • nfs warning: mount version older than kernel ?
    ... I use nfs mount it in Debian sarge ... # Common options for cpio and tar ... # Bourne Shell Options ...
    (Ubuntu)
  • Using r/o root with amd(8)-mounted file systems
    ... and a 3rd slice to contain "everything else" (that is ... Avoid "hard" NFS mounts. ... Mount /usr read-only. ... I had tried mounting the root file system read-only; ...
    (freebsd-stable)
  • Re: Any hope of KDE 3.5 in F10? I want it too !
    ... FWIW...I found that this behavior stopped when I went to autofs ... Do you mean change 'nfs' to 'autofs'? ... after years of doing smb mounts I've only just learned how to do nfs ... I can change the mounts simply by changing LDAP and ...
    (Fedora)