This is the mail archive of the cygwin-patches@cygwin.com 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: Windows username in get_group_sidlist


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?

Pierre

Christopher Faylor wrote:
> What we really need is a "patch --fix-outlook-whitespace-botch".

Actually it was Eudora. Don't know what happened. I may have 
accidentally inserted a space.


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