This is the mail archive of the cygwin-patches mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH]: cygwin_internal


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]