[Samba] Grant only one AD group to samba share ?

steve steve at steve-ss.com
Tue May 22 02:59:03 MDT 2012

On 21/05/12 23:36, Dale Schroeder wrote:
> On 05/21/2012 3:42 PM, Newman, John W wrote:

>> Thanks for the suggestion, but .. that doesn't work ...
>> chgrp My\ Group /media/share
>> chgrp: invalid group: `My Group'
>> "My Group" is a windows AD group, not a local linux group. The machine
>> is "joined" to the windows domain through "net ads join", but I don't
>> think the security is that tightly integrated. I don't have windows
>> groups mapped to linux groups I've created or anything like that.
>> chgrp is expecting a linux group. Right?
>> Probably I am missing something, or you guys need more information.
>> Any thoughts?

Sorry. I forgot about winbind (we use nss-pam-ldapd). With winbind 
running that should read:

chgrp MYDAOMAIN\\My\ Group /media/share


More information about the samba mailing list