This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: Windows username in get_group_sidlist
On Mon, Jun 24, 2002 at 10:04:23AM -0400, Pierre A. Humblet wrote:
> 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 from the passwd file, and
> if that fails, use LookupAccountSid [currently it tries
> LookupAccountSid first, getting the sid from passwd].
>
> What do you think?
Actually it sounds good. Do you have a patch?
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.