This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
Re: [PATCH]: cygwin_internal
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin-patches at cygwin dot com
- Date: Fri, 1 Jul 2005 10:42:11 +0200
- Subject: Re: [PATCH]: cygwin_internal
- References: <3.0.5.32.20050701005237.00b69b68@incoming.verizon.net>
- Reply-to: cygwin-patches at cygwin dot com
On Jul 1 00:52, Pierre A. Humblet wrote:
>
> The patch below uses cygpsid::get_id to implement CW_GET_UID_FROM_SID
> and CW_GET_GID_FROM_SID in cygwin_internal. Thus the sid is first
> compared to the user (or primary group) sid, before looking up
> the passwd (or group) file.
>
> This can make a difference when a sid appears multiple times in the
> passwd or group file, e.g. when one has both 544 and 0.
> This difference can cause exim (and perhaps others) to fail (it did
> happen to me).
Can you please describe the exact situation? I think I see it, but I
want to be really sure. I'm not keen on accidentally breaking Cygserver's
authentication routine.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader mailto:cygwin@cygwin.com
Red Hat, Inc.