Need help with Samba sharing to Windows

June 14, 2011 at 08:26:40
Specs: CentOS, AMD Athlon 64 X2
Hey everyone, I'm trying to ditch Microsoft and use Linux as my system at the office. I'm having some issues with Samba though sharing to Windows. I thought I had it working as it works for myself but not my users.

I'm trying to share /mnt/system

I have Samba Installed, and I have 3 users in Linux (CentOS) as well as 3 for Samba using the same usernames etc. I am using Webmin to make it easier.

If I go to Samba in Webmin and check my share, I have Available = Yes, Browsable = Yes. When I go to Share and Access connections I have:

Writable = Yes
Guest Access = None
Limit to possible list? = Tried yes and no
Valid users = my 3 usernames
Possible users = same 3 usernames
Read/write users = same 3 usernames.

When I view attributes on the actual files, it says they are at 777 (I think, I closed it, or 755 whichever is basically all boxes checked off). Owner and what not is root so not sure if that's the prob.

The weird thing is from Windows I can connect and use it no problem but one of my other users that's set up the same was, can only browse. If he tries to send files it says access denied. It did that for me, until I changed the permissions to 777 or whichever it was then it started working. Am I missing sometihng? Thanks!


See More: Need help with Samba sharing to Windows

Report •

#1
June 15, 2011 at 05:00:35
If you want him to be able to write to the directory & file, his permissions have to be 777 too. Groups can be created so he doesn't have write permissions to the entire drive.

How do you know when a politician is lying? His mouth is moving.


Report •

#2
June 24, 2011 at 07:24:55
Did you add and create pass for the users in samba ?
smbpasswd -a username

Report •
Related Solutions


Ask Question