Re: [Samba] group access to a share

2009-07-07 Thread Adam Williams

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 use...@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
  


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] group access to a share

2009-07-07 Thread Norberto Bensa
On Wed, Jul 1, 2009 at 11:32 AM, Gabriel Petrescugabriele...@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?
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] group access to a share

2009-07-01 Thread Gabriel Petrescu
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 use...@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
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba