From 0d081cdbeb2859763229ba7cffc3fbfe9bb5b4eb Mon Sep 17 00:00:00 2001 From: dtucker Date: Tue, 26 Aug 2003 01:58:16 +0000 Subject: - (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. --- ssh-gss.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'ssh-gss.h') diff --git a/ssh-gss.h b/ssh-gss.h index 263e51b9..6b58adb3 100644 --- a/ssh-gss.h +++ b/ssh-gss.h @@ -31,6 +31,18 @@ #include +#ifdef KRB5 +#ifndef HEIMDAL +#include + +/* MIT Kerberos doesn't seem to define GSS_NT_HOSTBASED_SERVICE */ + +#ifndef GSS_C_NT_HOSTBASED_SERVICE +#define GSS_C_NT_HOSTBASED_SERVICE gss_nt_service_name +#endif /* GSS_C_NT_... */ +#endif /* !HEIMDAL */ +#endif /* KRB5 */ + /* draft-ietf-secsh-gsskeyex-06 */ #define SSH2_MSG_USERAUTH_GSSAPI_RESPONSE 60 #define SSH2_MSG_USERAUTH_GSSAPI_TOKEN 61 -- cgit v1.2.1