Re: Bug in id command (when using the descr schema - Ch3 UG) ?

"J.H. vd Water via Cygwin" <[email protected]>
Newsgroups gmane.os.cygwin
Message-ID <[email protected]>
On 12/15/25 22:33, Corinna Vinschen via Cygwin wrote:
> On Dec 15 16:53, J.H. vd Water via Cygwin wrote:
>> After restarting Cygwin ...
>>
>>  - id would show 'Users' as the primary group ...
>>    id -g would show: 545
>>    id -gn would show: Users
>>  - getent passwd | grep Henri would show: Henri:*:<...>:545:U-...
>>  - mkpasswd -l | grep Henri would show: well, see previous line
>>
>> This also applies to W11, except for the id command ...
>>
>> The id command is still showing None as the primary group ... Huh?
>>
>> What did I miss? (why has not anyone else been complaining about this?)
> 
> This has been broken since 2022-12-02, but apparently not many people
> are actually using this feature.
> 
> I have a patchset in the loop which is awaiting review:
> https://sourceware.org/pipermail/cygwin-patches/2025q4/014386.html
> 
> If it's ok, it will land in the next Cygwin version.

 - https://cygwin.com/pipermail/cygwin-patches/2025q4/014485.html

> v2: Try to improve commit messages, add patch fixing primary group
>     override for local accounts on domain member machines to the
>     patchset.

YES! (v1 gave me a headache)

(I verified the patchset against 3.7)

Regards,

Henri

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.