Reorganizing internal_getlogin() patch is in

Corinna Vinschen
Wed Jun 19 05:56:00 GMT 2002

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 Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                      
Red Hat, Inc.

More information about the Cygwin-patches mailing list