summaryrefslogtreecommitdiff
path: root/ssh-gss.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2003-08-26 11:58:16 +1000
committerDarren Tucker <dtucker@zip.com.au>2003-08-26 11:58:16 +1000
commit49aaf4ad522c6b599ec13f75f8a6b7eab6942143 (patch)
treeccf3984a52b32d59e3900ae8518a796df2860b58 /ssh-gss.h
parent0efd155c3c184f0eaa2e1eb244eaaf066e6906e0 (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.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/ssh-gss.h b/ssh-gss.h
index 263e51b94..6b58adb3a 100644
--- a/ssh-gss.h
+++ b/ssh-gss.h
@@ -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