This is the mail archive of the 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]

MIT Kfw SDK w/ Cygwin? Trying to build OpenSSH w/ GSS-API on Cygwin...

I'm trying to build OpenSSH (2.9p2, for now) with Simon Wilkinson's
patches that implement the external-keyx / GSS-API extensions.

Specifically I wish to use Kerberos V as the GSS mechanism.

That means picking Heimdal or MIT krb5 as the Kerberos V implementation.

I started with MIT krb5, specifically Kfw (Kerberos for Windows).

Kfw is compiled with MSVC++ (all C).

*FAQ check: it is supposedly ok to mix Cygwin with MSVC++ built (C only) DLLs*

After writing the necessary autoconf checks for Kfw (library names
differ) and dealing with making sure that _WIN32 is defined where the
Kfw headers are included, I've gotten as far as getting a successful
link of ssh.exe. But it crashes with SIGSEGV and I'm still trying to
get a stack trace.

Looking at the dependencies of the Kfw DLLs I see that there is a
dependency on MSVCRT.DLL.

*FAQ check: MSVCRT.DLL and cygwin1.dll are mutually exclusive*

But the dependency on MSVCRT.DLL by the MIT Kfw DLLs is indirect.

QUESTION: Does the MSVCRT.DLL/cygwin1.dll mutual exclusivity apply in
          this case?

If so, then I'll give up on Kfw now and try Heimdal - unfortunately that
probably means giving up on Leash32.

QUESTION: Does the MIT krb5 stuff build on Cygwin? Kerbnet appears to
          have died some time ago...


-DISCLAIMER: an automatically appended disclaimer may follow. By posting-
-to a public e-mail mailing list I hereby grant permission to distribute-
-and copy this message.-

Visit our website at

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.

Unsubscribe info:
Bug reporting:

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