On Sun, Jun 23, 2002 at 11:51:17PM -0400, Pierre A. Humblet wrote:
Corinna,
get_group_sidlist currently uses the Windows username when
getting the supplementary group list. Here is a fix.
It may be paranoid in checking pw-pw_name is not NULL
(it's not always done in Cygwin, because it
On Mon, Jun 24, 2002 at 12:05:06PM +0200, Corinna Vinschen wrote:
On Sun, Jun 23, 2002 at 11:51:17PM -0400, Pierre A. Humblet wrote:
It may be paranoid in checking pw-pw_name is not NULL (it's not always
done in Cygwin, because it can't happen currently), delete that if you
wish.
Your patch
On Mon, Jun 24, 2002 at 09:02:26AM -0400, Chris Faylor wrote:
patch -l seemed to get most of the way there.
That's exactly the option I constantly forget. I even called `man patch'
and overlooked it. Sigh.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
On Mon, Jun 24, 2002 at 03:14:50PM +0200, Corinna Vinschen wrote:
On Mon, Jun 24, 2002 at 09:02:26AM -0400, Chris Faylor wrote:
patch -l seemed to get most of the way there.
That's exactly the option I constantly forget. I even called `man patch'
and overlooked it. Sigh.
What we really need
Corinna
Now that get_group_sidlist () knows pw, it would be easy to
lookup the domain from passwd, instead of using LookupAccountSid.
This avoids over-the-network lookups for domain users.
I would actually read passwd by calling extract_nt_dom_user (),
modifying it to first read the domain
Looks like I had introduced a bug. A child had the wrong
uid/gid (but the right token), following setEuid(). This fixes it.
Sorry about that.
Pierre
2002-06-24 Pierre Humblet [EMAIL PROTECTED]
* uinfo.cc (internal_getlogin): Save uid gid in myself, not in user.