[Samba] Users groups are not synchronized with Samba

Raymond Holguin raymond.holguin at ucr.edu
Sat Mar 8 01:01:37 GMT 2008


Currently I am using Samba with ACL control.  My problem is that if I 
add or remove users from a group, those changes are not reflected for 
samba access until I restart the samba server.

Example of what I mean.
GroupA and GroupB....USER is part of no group.
Unix: I give GroupA full access to FOLDER
Windows: as USER I try and access FOLDER I get permission denied.
Unix: I add USER to GroupA
Windows: as USER I try and access FOLDER I get permission denied!!!!!
Unix: I restart Samba server
Windows: as USER I try and access FOLDER I get full access.

This is definitely not going to work for me.  I created an web 
application that gives me full control over samba and unix users so I 
can manage user/group permissions for all files and directories in my 
fileserver.  If i have to restart the samba server every time I change 
somebodies group this is going to be chaos where I work.  Adding users 
to files/folders works fine, its just when I add users to groups that 
Samba doesn't recognize that users new group until I restart.

anyone have any idea how I can solve this issue?  is this a Samba 
parameter that I need to make sure Samba konws when users move around to 
different groups?

Thanks
-Ray

-- 
------------------------------------------------------------------------
Raymond Holguin
Programmer Analyst
College of Humanities, Arts, and Social Sciences
Tel: (951) 827-6212
Email: rholguin at ucr.edu



More information about the samba mailing list