Samba share issue

Anteaus

Platinum Member
Oct 28, 2010
2,448
4
81
This might not be a pure Linux issue but I'm asking it here install of Networking.

I have a server running Ubuntu 12.04 and have Samba shares. I have zero problems accessing these shares from my Windows 7 desktop; however, the Samba server won't accept my password from a new Mint install on my laptop. Everything appears to be fine. I can ping the server and see the shares, but when I try to log into them it won't accept my credentials.

All of my machines use the same username and password for both login and shares.

My /etc/samba/smb.conf is as follows:

[global]
workgroup = WORKGROUP
server string = Server
security = share
name resolve order = hosts lmhosts


[Drive 1]
path = /Server/Drive1/Drive1
read only = no


[Drive 2]
path = /Server/Drive2/Drive2
read only = no


[Drive 3]
path = /Server/Drive3/Drive3
read only = no


Yes it is very simple conf but it has worked well so far. I'm still learning so I'm assuming the answer might be simple but I'm just not figuring it out. Again, I can ping the server and see the shares from my laptop.

Any thoughts?

Edit:

I solved it on my own. It appears that security = share only works for Windows clients. I had to change it to security = user for my Linux client to work. Fortunately, that setting works for both. In addition I had to add client lanman auth = Yes.

Works fine now. Help this info might help others with similar issues.
 
Last edited: