I add this line in auto.smb to fix this behaviour. I have installed smbfs and it worked just after this line in the script.
echo $key | grep -q '/' && exit 0 The script exit if the key has slash like hostname/share. After that I start to mount automatically with ls /smb/hostname/. I tried to do a ls */* in /smb/hostname with 99 shares avaiable before that change. The autofs started to mount recursively the same 99 shares over each share again, and again. My /smb and the mounting system got really a mess. The strange thing is nautilus works without any problem. -- auto.smb acts weird when smbfs is not installed https://bugs.launchpad.net/bugs/158816 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to autofs in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs