automount 5.0.3 with auto.smb script yields "key "<name>" not found in map"
A few days ago, I've installed (emerged) autofs 5.0.3 on my Gentoo amd64 box, and tried to set it up to mount shares on a Windows XP box. I've used a modified auto.smb script that I found somewhere on the web, that does seem to output a valid map file. However, when I try to ls the /smb/topton directory (/smb being the autofs mount point, and topton the name of the XP box that I added to /etc/hosts), it yields the following message: ls: cannot access /smb/topton: No such file or directory.
At the same time, in /var/log/messages, the following message is entered: automount: lookup_nss_mount: key "topton" not found in map.
As far as I can tell, the auto.master file is correct and the auto.smb script yields the right output.
For your reference, the auto.master file looks like this:
I've been kicking this problem in different ways for a few days now, and I can't seem to find what I am doing wrong.
Any pointers in the right direction are greatly appreciated!
Oh, a very happy 2010 to everyone! :)
|All times are GMT -5. The time now is 11:58 PM.|