[PATCH]: cygwin_internal

Corinna Vinschen corinna-cygwin@cygwin.com
Fri Jul 1 08:42:00 GMT 2005

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 Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.

More information about the Cygwin-patches mailing list