/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. ------------------------------------------------------------------------------------------------------------------------------------------------ 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.
/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"
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
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
On Fri, Mar 21, 2008 at 7:52 AM, John jses27@gmail.com wrote:
On Fri, 2008-03-21 at 09:30 -0500, Barry Brimer wrote:
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.
Is the wiki howto you are referring to is this?
http://wiki.centos.org/TipsAndTricks/WindowsShares
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)
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??
Did you really read the above wiki and follow the instructions precisely as they are written? For example, the error you mentioned here is touched upon in the wiki:
"[Note: Upon automounting, you may see an error mount_cifs.so: cannot open shared object file in /var/log/messages. This is harmless and can be safely ignored.]"
Akemi
On Fri, 2008-03-21 at 08:02 -0700, Akemi Yagi wrote:
On Fri, Mar 21, 2008 at 7:52 AM, John jses27@gmail.com wrote:
On Fri, 2008-03-21 at 09:30 -0500, Barry Brimer wrote:
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.
Is the wiki howto you are referring to is this?
Correct
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)
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??
Did you really read the above wiki and follow the instructions precisely as they are written? For example, the error you mentioned here is touched upon in the wiki:
"[Note: Upon automounting, you may see an error mount_cifs.so: cannot open shared object file in /var/log/messages. This is harmless and can be safely ignored.]"
Yes I read about it, (the error). Any other pointers you can give on it? Auto mount that is. I searched various How Tos on the net and every config I use will not work. Also server and client can be accesed by physical name and ip address.
One other thought; would Samba Server producing a "Err can't stat directory as a file" have anything to do with it.
Server Version is: samba-3.0.25b-1.el5_1.4 on Server Client Version is: samba-client-3.0.23c-2.el5.2.0.2 on Client Client Autofs is: autofs-5.0.1-0.rc2.55.el5.3 on Client
Akemi _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Fri, Mar 21, 2008 at 8:19 AM, John jses27@gmail.com wrote:
On Fri, 2008-03-21 at 08:02 -0700, Akemi Yagi wrote:
Yes I read about it, (the error). Any other pointers you can give on it? Auto mount that is. I searched various How Tos on the net and every config I use will not work. Also server and client can be accesed by physical name and ip address.
Just replied to your forum post with my first query.
http://www.centos.org/modules/newbb/viewtopic.php?viewmode=flat&topic_id...
Akemi
On Fri, 2008-03-21 at 08:43 -0700, Akemi Yagi wrote:
On Fri, Mar 21, 2008 at 8:19 AM, John jses27@gmail.com wrote:
On Fri, 2008-03-21 at 08:02 -0700, Akemi Yagi wrote:
Yes I read about it, (the error). Any other pointers you can give on it? Auto mount that is. I searched various How Tos on the net and every config I use will not work. Also server and client can be accesed by physical name and ip address.
Just replied to your forum post with my first query.
http://www.centos.org/modules/newbb/viewtopic.php?viewmode=flat&topic_id...
Replied there...
Akemi _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
John wrote:
On Fri, 2008-03-21 at 08:02 -0700, Akemi Yagi wrote:
On Fri, Mar 21, 2008 at 7:52 AM, John jses27@gmail.com wrote:
On Fri, 2008-03-21 at 09:30 -0500, Barry Brimer wrote:
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.
Is the wiki howto you are referring to is this?
Correct
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)
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??
Did you really read the above wiki and follow the instructions precisely as they are written? For example, the error you mentioned here is touched upon in the wiki:
"[Note: Upon automounting, you may see an error mount_cifs.so: cannot open shared object file in /var/log/messages. This is harmless and can be safely ignored.]"
Yes I read about it, (the error). Any other pointers you can give on it? Auto mount that is. I searched various How Tos on the net and every config I use will not work. Also server and client can be accesed by physical name and ip address.
One other thought; would Samba Server producing a "Err can't stat directory as a file" have anything to do with it.
Server Version is: samba-3.0.25b-1.el5_1.4 on Server Client Version is: samba-client-3.0.23c-2.el5.2.0.2 on Client Client Autofs is: autofs-5.0.1-0.rc2.55.el5.3 on Client
why are you using Samba, an implementation of the Microsoft Windows native file sharing, on a Unix to Unix connection, instead of the Unix native NFS ?
On Fri, 2008-03-21 at 08:45 -0700, John R Pierce wrote:
John wrote:
On Fri, 2008-03-21 at 08:02 -0700, Akemi Yagi wrote:
On Fri, Mar 21, 2008 at 7:52 AM, John jses27@gmail.com wrote:
On Fri, 2008-03-21 at 09:30 -0500, Barry Brimer wrote:
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.
Is the wiki howto you are referring to is this?
Correct
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)
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??
Did you really read the above wiki and follow the instructions precisely as they are written? For example, the error you mentioned here is touched upon in the wiki:
"[Note: Upon automounting, you may see an error mount_cifs.so: cannot open shared object file in /var/log/messages. This is harmless and can be safely ignored.]"
Yes I read about it, (the error). Any other pointers you can give on it? Auto mount that is. I searched various How Tos on the net and every config I use will not work. Also server and client can be accesed by physical name and ip address.
One other thought; would Samba Server producing a "Err can't stat directory as a file" have anything to do with it.
Server Version is: samba-3.0.25b-1.el5_1.4 on Server Client Version is: samba-client-3.0.23c-2.el5.2.0.2 on Client Client Autofs is: autofs-5.0.1-0.rc2.55.el5.3 on Client
why are you using Samba, an implementation of the Microsoft Windows native file sharing, on a Unix to Unix connection, instead of the Unix native NFS ?
Because it can be used as the Poor Mans DFS (distribute file system system) direct from the Samba How To Guide and Provide High Clustering Style Availability with out the need for piling on Hearbeat and GFS on top. Allso Scales easy over 1500 Users. And when the said client can't get updates to there Active Directory Domain Controler then Samba is there to pick up the job as DC. Yes, I am aware of bind and ldap also.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
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
Any chance that the other machines that are "just browsing" to it and it is working are passing their domain credentials which is validating access to this share?
Barry