[Samba] Group Mapping: All Users from a Domain group should be able to write to a local group

Bingo Tuk tukbingo at gmail.com
Thu Apr 16 02:57:33 MDT 2015

Hello Mailinglist,

I have created a local user "localuser" who is in the local group

$ id
uid=1001(localuser) gid=1001(localgroup) groups=1001(localgroup)

My machine authenticates against Active Directory - works

The AD-User "aduser" belongs to a domain group "adgroup"
$ id
uid=6161(aduser) gid=5513(domänen-benutzer)

I have mapped the local group and the adgroup with the command
net groupmap add ntgroup="adgroup" unixgroup=localgroup rid=10656 type=d

That works also
# net groupmap list
adgroup (S-1-5-21-000098831-0000488756-4286701815-10656) -> localgroup

Anyway, the user "aduser" can't write a file with the group "localgroup"

What am I missing? Any hints?

Thank you very much

More information about the samba mailing list