Hi,
I'm a bit rusty on configuring AutoFS - I basically want to mount any Windows share from a system on my RHEL 5.4 system.
I got a bit stuck and checked my logic against:
http://www.howtoforge.com/accessing_...s_using_autofs
I'm now using their auto.cifs file instead of the supplied auto.smb. Everything seems set ok, but when I do a listing of:
/mountpoint/windowsserver
I get a ": No such file or directory" error. I've enabled debug on AutoFS and I think it is a name resolution issue as the error I have is:
Sep 24 18:25:06 linuxbox automount[7657]: attempting to mount entry /mnt/windowsserver
Sep 24 18:25:06 linuxbox automount[7657]: lookup_mount: lookup(program): looking up windowsserver
Sep 24 18:25:29 linuxbox automount[7657]: lookup(program): lookup for windowsserver failed
Sep 24 18:25:29 linuxbox automount[7657]: dev_ioctl_send_fail: token = 15
Sep 24 18:25:29 linuxbox automount[7657]: failed to mount /mnt/windowsserver
The system does not have access to DNS or NIS; the windowsserver is configured in /etc/hosts. I checked nsswitch.conf and I have:
automount: files nisplus
So I'm not sure why it is still struggling to resolve the Windows server (ping works fine to the hostname) - any ideas or suggestions?
Thanks