What's the issue with this Samba setup?
Posted
by
Dan Nestor
on Server Fault
See other posts from Server Fault
or by Dan Nestor
Published on 2013-11-10T18:28:09Z
Indexed on
2013/11/10
22:01 UTC
Read the original article
Hit count: 300
I asked this on superuser, but I realized that may be the wrong place. I am duplicating the question here, I hope this is allowed.
I am trying to share a directory through samba. In smb.conf I have the following:
[global]
workgroup = WORKGROUP
security = user
passdb backend = tdbsam
netbios name = <hostname>
[share_name]
path = </path/to/share>
writable = yes
valid users = <username>
<username>
, the user in question, is the owner of directory /path/to/share
. Permissions on the directory are 755. If I try to connect from another computer, the connection attempt is unsuccessful (I assume it's an authentication error, because it re-prompts me for the password). The client requires a domain name for authentication, I tried both WORKGROUP
and the hostname/netbios name of the samba server.
Samba logs on the server have no mention of the failed connection attempt. Firewall on the server is down.
What am I doing wrong?
Update: have since run smbpasswd -a <username>
and now I am getting a clear error message, "not enough permissions to view contents of share".
© Server Fault or respective owner