> Basically Samba ignores the separate GID field in RFC2307bis, so one
> imagines the options for changing the LDAP attributes are none
> existent.
mmuserauth now has an option to use either the gid from the actual primary
group or the gid defined for the user. See:
--unixmap-domains unixDomainMap
[...]
win: Specifies the system to read the primary group set as Windows primary group of a user on the Active Directory.
unix: Specifies the system to read the primary group as set in "UNIX attributes" of a user on the Active Directory.
For example,
--unixmap-domains "MYDOMAIN1(20000-50000:unix);MYDOMAIN2(100000-200000:win)"
This gets mapped to 'idmap config ... : unix_primary_group' in the
internal config.