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: Reorganizing internal_getlogin() patch is in


On Wed, Jun 19, 2002 at 09:18:14AM +0200, cygpatch wrote:
> I'm going to test your small testapp as soon as I can.

Ok, I could test it now.  You're right.  I've logged in
using a domain account.  The machine has no local account
with the same name.  Your application showed the brutal truth:

Server: ret 0           <- NetUserGetInfo(server, ...) call ok
herbert                 <- usri3_name
Herbert Mayer           <- usri3_full_name
\\M31FGO\homes\herbert  <- usri3_home_dir
NULL: ret 2221          <- NetUserGetInfo(NULL, ...) returned with err
                           2221: "The user name could not be found."

This means, we can actually trash the NULL call.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                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]