HI! I managed to add a samaba to a AD. Now I want as a share to be accesible only to marketing guys. I made added the following lines in smb.conf and restarted. [MarketingFiles] path = /var/www/mywebsite/ read only = no create mask = 0777 directory mask = 0777 valid users=@marketing writable = yes public=yes browseable=yes I checked using my user which is part of administrators group, and administrators group is part of marketing group. Theoretically should work , but it seems I made a mistake. Can you help me ? Thank you:) Gabi
here is what I use for a share: [finance] path = /samba/finance force directory mode = 0777 browseable = Yes create mask = 0777 force create mode = 0777 directory mask = 0777 writeable = Yes force group = @ADMIN\finance inherit permissions = yes valid users = @finance write list = @ADMIN\finance csc policy = disable nt acl support = no force security mode = 777 msdfs root = yes Gabriel Petrescu wrote:> HI! > > I managed to add a samaba to a AD. > > Now I want as a share to be accesible only to marketing guys. > > I made added the following lines in smb.conf and restarted. > > [MarketingFiles] > path = /var/www/mywebsite/ > read only = no > create mask = 0777 > directory mask = 0777 > valid users=@marketing > writable = yes > public=yes > browseable=yes > > > I checked using my user which is part of administrators group, and > administrators group is part of marketing group. > > Theoretically should work , but it seems I made a mistake. > > Can you help me ? > > Thank you:) > > Gabi >
On Wed, Jul 1, 2009 at 11:32 AM, Gabriel Petrescu<gabrielescu@gmail.com> wrote:> I checked using my user which is part of administrators group, and > administrators group is part of marketing group.Oh. Nested groups.> Theoretically should work , but it seems I made a mistake.Do you use nss winbind ? Do you get back your members with "getent group marketing"?