PDA

View Full Version : Need a Samba Guru...


HaMBoNE79
2008-05-21, 09:19 AM CDT
I need help from a Samba guru. I have a Samba server that is a member of a large corporate domain. I have about 60 users that are currently using the server, but I need to create a share that only a few of my users can get access to. I do not have access to modify/add groups on the domain, so I was trying to figure out a way that I could create a local group on the server and setup permissions so that these users can get into the directory.

Here is what I have done so far:

1. I created a local group called "admin_assist" and added each user with the command "gpasswd -a domain+user admin_assist".
2. I then set the permissions of the directory so that the group "admin_assist" has read/write access.

When I try to browse to that directory as one of the users in the "admin_assist" group I am still getting a permission denied error. It is behaving like winbind is just ignoring the local group.

Anyone know how to fix this?

HaMBoNE79
2008-05-21, 10:00 AM CDT
FYI...

I can log in to the server via ssh into one of the user account (authenticated with winbind) in the "admin_assist" group and browse to the directory without issues, but I still can not access the share from windows.

Karmaflute
2008-05-22, 10:09 PM CDT
I'm not sure if this is the same thing but I solved my problem connecting to my Samba share by enabling samba_enable_home_dirs in SELinux Administration under Boolean.

I'm having a problem now where I can't see my computer on the network or even from the same computer! I have a Samba share but the computer does not appear when I list computers on the network in Nautilus. It's also not visible from my Windows box.

savage
2008-05-23, 02:06 AM CDT
You could try using 'force group = admin_assist' in the share definition for samba, also if it's only a few users, you could also try 'valid users = user1 user2' etc etc.