[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 23.0.60; uid problems on w32
From: |
Eli Zaretskii |
Subject: |
Re: 23.0.60; uid problems on w32 |
Date: |
Sun, 30 Mar 2008 21:39:04 +0300 |
> Date: Sun, 30 Mar 2008 17:27:59 +0200
> From: "Lennart Borgman (gmail)" <address@hidden>
> CC: Eli Zaretskii <address@hidden>,
> Stefan Monnier <address@hidden>,
> address@hidden
>
> Jason Rumney wrote:
> > Eli Zaretskii wrote:
> >> I'm still clueless about why Cygwin shows 60830, while we show 50830.
> >> Ideas, anyone?
> >>
> >
> > Cygwin adds 10000 to domain uid and gids to avoid clashes with local ids.
> >
> > http://cygwin.com/ml/cygwin-developers/2001-04/msg00048.html
> > http://cygwin.com/ml/cygwin-patches/2001-q2/msg00043.html
>
> But that does not happen in my case where id is 1003 both in
> server-ensure-safe-dir and cygwin id.
That's because your uid is of a local user, not of a domain user.
Domain users are defined by a prefix in the SID that is different from
the prefix of the local machine. The way we (and Cygwin) map SIDs to
a uid is by throwing away the prefix and keeping only the last part --
the so-called RID, the relative ID -- which is okay as long as the
prefix is identical for all users. But once users defined in the
domain server come into play, you could have 2 different users -- one
local, the other domain user -- with the same RID. That is what
Cygwin is trying to avoid.
- Re: 23.0.60; uid problems on w32, (continued)
- Re: 23.0.60; uid problems on w32, Stefan Monnier, 2008/03/30
- Re: 23.0.60; uid problems on w32, Eli Zaretskii, 2008/03/30
- Re: 23.0.60; uid problems on w32, Jason Rumney, 2008/03/30
- Re: 23.0.60; uid problems on w32, Eli Zaretskii, 2008/03/30
- Re: 23.0.60; uid problems on w32, Jason Rumney, 2008/03/31
- Re: 23.0.60; uid problems on w32, Eli Zaretskii, 2008/03/31
- Re: 23.0.60; uid problems on w32, Jason Rumney, 2008/03/30
- Re: 23.0.60; uid problems on w32, Eli Zaretskii, 2008/03/30
- Re: 23.0.60; uid problems on w32, Lennart Borgman (gmail), 2008/03/30
- Re: 23.0.60; uid problems on w32,
Eli Zaretskii <=
- Re: 23.0.60; uid problems on w32, Lennart Borgman (gmail), 2008/03/30
- Re: 23.0.60; uid problems on w32, Eli Zaretskii, 2008/03/30
- Re: 23.0.60; uid problems on w32, Lennart Borgman (gmail), 2008/03/30
- Re: 23.0.60; uid problems on w32, Eli Zaretskii, 2008/03/30
- Re: 23.0.60; uid problems on w32, Jason Rumney, 2008/03/31
- Re: 23.0.60; uid problems on w32, Lennart Borgman (gmail), 2008/03/31
- Re: 23.0.60; uid problems on w32, Jason Rumney, 2008/03/31
- Re: 23.0.60; uid problems on w32, Lennart Borgman (gmail), 2008/03/31
- Re: 23.0.60; uid problems on w32, Razi Shaban, 2008/03/31
- Re: 23.0.60; uid problems on w32, Jason Rumney, 2008/03/31