Cygwin: getgrent: fix local SAM enumeration on domain member machines
commit15e82eef3a40b8a74a5ee8aa85dc7214f0237557
authorCorinna Vinschen <corinna@vinschen.de>
Tue, 20 Feb 2024 22:51:33 +0000 (20 23:51 +0100)
committerCorinna Vinschen <corinna@vinschen.de>
Tue, 20 Feb 2024 22:51:33 +0000 (20 23:51 +0100)
treed3e4d9a181d8ba3dec77690d17daee87a3e5274a
parent5cc69969878d1a251021a4f62907aeea05cad01f
Cygwin: getgrent: fix local SAM enumeration on domain member machines

Don't skip output of local SAM groups on domain member machines.
They can have valid, user-defined groups in their SAM.  Just
skip builtin groups if we're enumerating AD as well.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
winsup/cygwin/grp.cc
winsup/cygwin/passwd.cc