On Dec 15 22:29, Corinna Vinschen wrote: > From: Corinna Vinschen <[email protected]> > > When overriding the primary group of a local SAM account via comment > entry (e.g. '<cygwin group="some_group"/>') on a domain member machine, > we're prepending the local account domain to the group name before > fetching the group entry for that group. While this is necessary to > fetch real local groups, it disallows to fetch aliases or builtin accounts. > > If the group prepended with the local account domain doesn't fetch a > valid group, try again with the naked group name, to allow aliases or > builtin accounts as primary group. > > Fixes: cc332c9e271b ("* uinfo.cc [...] (pwdgrp::fetch_account_from_windows): > Drop outdated comment. Fix code fetching primary group gid of group setting > in SAM description field.") > Signed-off-by: Corinna Vinschen <[email protected]>
I'll add this patch to the series fixing the primary group override. On a pure theoretical base it's independent, but without fixing the other problem it only makse marginal sense... Corinna
