diff options
author | Darren Tucker <dtucker@zip.com.au> | 2003-08-26 11:58:16 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2003-08-26 11:58:16 +1000 |
commit | 49aaf4ad522c6b599ec13f75f8a6b7eab6942143 (patch) | |
tree | ccf3984a52b32d59e3900ae8518a796df2860b58 /ssh-gss.h | |
parent | 0efd155c3c184f0eaa2e1eb244eaaf066e6906e0 (diff) |
- (dtucker) [Makefile.in acconfig.h auth-krb5.c auth-pam.c auth-pam.h
configure.ac defines.h gss-serv-krb5.c session.c ssh-gss.h sshconnect1.c
sshconnect2.c] Add Portable GSSAPI support, patch by Simon Wilkinson.
Diffstat (limited to 'ssh-gss.h')
-rw-r--r-- | ssh-gss.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -31,6 +31,18 @@ | |||
31 | 31 | ||
32 | #include <gssapi.h> | 32 | #include <gssapi.h> |
33 | 33 | ||
34 | #ifdef KRB5 | ||
35 | #ifndef HEIMDAL | ||
36 | #include <gssapi_generic.h> | ||
37 | |||
38 | /* MIT Kerberos doesn't seem to define GSS_NT_HOSTBASED_SERVICE */ | ||
39 | |||
40 | #ifndef GSS_C_NT_HOSTBASED_SERVICE | ||
41 | #define GSS_C_NT_HOSTBASED_SERVICE gss_nt_service_name | ||
42 | #endif /* GSS_C_NT_... */ | ||
43 | #endif /* !HEIMDAL */ | ||
44 | #endif /* KRB5 */ | ||
45 | |||
34 | /* draft-ietf-secsh-gsskeyex-06 */ | 46 | /* draft-ietf-secsh-gsskeyex-06 */ |
35 | #define SSH2_MSG_USERAUTH_GSSAPI_RESPONSE 60 | 47 | #define SSH2_MSG_USERAUTH_GSSAPI_RESPONSE 60 |
36 | #define SSH2_MSG_USERAUTH_GSSAPI_TOKEN 61 | 48 | #define SSH2_MSG_USERAUTH_GSSAPI_TOKEN 61 |