[30262] in Kerberos
bug reports: gss-server.exe not using WSAStartup()
daemon@ATHENA.MIT.EDU (Moshe Valenci)
Thu Sep 4 11:40:51 2008
Message-ID: <10a541410809040501i5eb0e090wd077a2325028c8e3@mail.gmail.com>
Date: Thu, 4 Sep 2008 15:01:22 +0300
From: "Moshe Valenci" <moshe.valenci@gmail.com>
To: kerberos@mit.edu
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu
Hello,
I tried testing KFW gss-server.exe for quite a while with no success.
The app just exited with the message "creating socket: No error".
I gabbed the sources and tried debugging the issue and i think i found a
bug.
WSAStartup and WSACleanup are being called whenever GSS is called.
In the caller context, no one calls WSAStartup so 'create_socket' always
fail.
Adding WSAStartup() right after main() and WSACleanup() before exiting
resolved the issue.
can you please confirm this bug?
please check if this this happen for gss-client.exe as well, this looks like
a swift problem.
Regards,
Moshe
________________________________________________
Kerberos mailing list Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos