This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: SSHd configuration problems (System error 1376)
- From: "Houder" <houder at xs4all dot nl>
- To: cygwin at cygwin dot com
- Date: Thu, 8 Jan 2015 02:38:05 +0100
- Subject: Re: SSHd configuration problems (System error 1376)
- Authentication-results: sourceware.org; auth=none
- References: <1418434328946-113637 dot post at n5 dot nabble dot com> <548C3162 dot 6040500 at cornell dot edu> <5499711C dot 6060500 at nokia dot com> <54998980 dot 4080801 at cornell dot edu> <54A10DBF dot 6010507 at nokia dot com> <54A1517B dot 4080802 at cornell dot edu> <54A1600F dot 7060700 at nokia dot com> <54A1819B dot 9090204 at cornell dot edu> <20150107172531 dot GA4190 at calimero dot vinschen dot de>
Corinna wrote:
> The aforementioned message is a result of a change in how the function
> underlying `id' works.
[snip]
> The old getgroups iterated through the groups from /etc/groups, and then
> checked for each group if its SID is available in the user's token.
>
> This behaviour only makes sense if there is a self-contained list of
> groups in memory. But the new code doesn't read all of /etc/group, or,
> worse, all groups from the Windows account DB. So the new, more logical
> behaviour is to iterate over the groups in the user's token and then
> checking for (or generating) a group entry for the SID. So, in contrast
> to the old code, the new code only generates a single group entry per
> SID.
... to iterate over the groups in the user's token ...
But, by design, groups NOT present in the group file will NOT be reported
by id, in case the nsswitch.conf file specififies:
# only show me the gid's I am interested in (i.e. those in the group file)
group: files
Correct?
Henri
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple