show the samba share but can't mount the share
well I can see the share from another Linux machine which is connected with my machine getting ip via dhcp
and running on Linux Enterprise.
It shows the share by the following command,
smbclient -L 172.16.0.1
But when I entre the following command,
mount -t smbfs -o username=test,password=123 //172.16.0.1/badal /mnt
It shows nothing and I don't find anything in /mnt directory.
My samba share in smb.conf like this
comment = Class stuff
path = /usr/sambashare
; valid users = mary fred
public = yes
writable = yes
printable = yes
broweable = yes
create mask = 0765
What are the permissions of the /usr/sambashare directory? Does the user whose username was in the mount command have permission to read files in that directory?
Are there files in that directory? Does the same user have permissions to read those files?
From your message it sounds like there were no errors listed after issuing the mount command.
I've changed the ownership of that dir and file to the usre test.
Now it giving the following error,
3128: session setup failed: ERRDOS - ERRnoaccess (access denied)
SMB connection failed.
You didn't show the full permissions.
ls -ld /usr/sambashare
Also make sure that the Linux user is entered as a samba user with smbpasswd.
Also check your firewall settings on both hosts.
On my system, I have cifs instead of smbfs.
I just setup a quick share on one laptop and mounted it from another:
Is the workgroup the same on both hosts?
|All times are GMT -5. The time now is 04:29 AM.|