SMB/Samba not working with CIFS.
I have a SMB server using Samba running on a Slackware 11.0 x86 computer, every other computer on the network (six different computers) can mount the network resource with the trivial command:
Code:
smbmount //10.0.0.180/smb_shared /mnt/mount_point Code:
mount error 13 = Permission denied I have tried to search on internet search engines for an answer -- I found many others with similar issues, however with no proper answer, I also tried to study the man-page, the configuration file, I tried different commands, to no avail, how can I mount this resource? Why doesn't it work? |
SMB is now depreciated, new Samba installations are supposed to be using CIFS. While I can't say for sure (I don't have a Slackware 11 machine to test on), my first thought would be that the Slackware 11 package for Samba is not configured for CIFS, or at least, it just isn't enabled. Not necessarily something that is Slackware-specific, but just something that was handled different in the older Samba releases.
My first step would be to try manually mounting the share as SMB rather than CIFS with a command like: Code:
mount -t smbfs //10.0.0.180/smb_shared /mnt/mount_point |
Quote:
|
Can't speak for slackware as I haven't used slackware in a few years. But on my CentOS 5.1 servers I have the following samba software installed
samba-common-3.0.28-0.el5.8 samba-3.0.28-0.el5.8 samba-swat-3.0.28-0.el5.8 samba-client-3.0.28-0.el5.8 the samba-client package provides /sbin/mount.cifs I have a samba mount to a windows machine using a credentials file. You can also do it via command line either way mount.cifs //location/to/windows/share/ /mnt/foldername -o user=username,password=password username and password would be an account on the domain or the windows machine I also use it this way with the credentials file mount -t cifs -o credentials=/path/to/credentialsfile //location/to/windows/share/ /mnt/foldername Or the 3rd way would be to add it to /etc/fstab //windows-server/mount /mnt/folder cifs credentials=/path/to/credentialsfile 0 0 credentials file would be: username password again, not sure if this will work on slackware but its how I mount cifs mounts on a CentOS box. |
All times are GMT -5. The time now is 07:00 AM. |