On Fri, 2008-03-21 at 09:30 -0500, Barry Brimer wrote:
/etc/fstab:
//machine_name/SAN /mnt/SAN cifs defaults 0 0
[root@machine_name SAN]# mount -a Password: mount error 13 = Permission denied
Problem is there is no password to the smb server. Why am I getting a password prompt when the share has full RW access and all access is granted on the share? Note, though the share is fully visable and accessable and writeable by just browsing the network.
Try replacing "defaults" with "guest"
Will not work: mount -a mount error 13 = Permission denied
Ok, now next up is automount. The Samba share will not auto mount on client either.
/etc/auto.master
/mnt/SAN /etc/auto.SAN
/etc/auto.SAN
machine_name -fstype=cifs,rw ://machine_name/SAN/
Anyone see anything wrong with the configuration? I also read the How To on the Wiki and no luck on doing the auto.smb.top and auto.smb.sub configuration? Any ideas what maybe going on? Thanks in advance for any help on this.
Also this is posted in the Networking and Harware Forum on the centos.org Forums and No answer. -- ~/john
I suspect you need to pass the guest option to autofs as well.
Barry
[root@machine_name ~]# tail /var/log/messages Mar 21 10:01:22 ethan automount[30730]: rmdir_path: lstat of /mnt/SAN/.hidden failed. Mar 21 10:01:25 ethan automount[30874]: lookup_read_master: lookup(nisplus): couldn't locat nis+ table auto.master Mar 21 10:01:33 ethan automount[30874]: open_mount: (mount):cannot open mount module cifs (/usr/lib/autofs/mount_cifs.so: cannot open shared object file: No such file or directory) Mar 21 10:10:24 ethan automount[30874]: open_mount: (mount):cannot open mount module cifs (/usr/lib/autofs/mount_cifs.so: cannot open shared object file: No such file or directory) Mar 21 10:12:52 ethan automount[30874]: lookup_read_master: lookup(nisplus): couldn't locat nis+ table auto.master Mar 21 10:12:52 ethan automount[30874]: rmdir_path: lstat of /mnt/SAN/.hidden failed. Mar 21 10:12:55 ethan automount[31106]: lookup_read_master: lookup(nisplus): couldn't locat nis+ table auto.master Mar 21 10:12:57 ethan automount[31106]: lookup_read_master: lookup(nisplus): couldn't locat nis+ table auto.master
Bu the way, there is no "module_cifs.so" in /usr/lib/autofs and package autofs does not have it any more?? Why is it looking for it? I suspect that's why AutoMount want mount the file system from the server??
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos