I have unix users authenticating to an PDC (via winbind) and want to have the primary group of those users a local unix group (e.g. www-data).
users have the group "domain users" with gid 10006 (as the gid winbind mapping)
idmap uid = 10000-20000 idmap gid = 10000-20000 winbind enum groups = yes winbind enum users = yes winbind use default domain = yes winbind nested groups = yes
but want that the primary group is 33 for all users (www-data)
how to achieve that?