[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
uw-imapd gssapi support and heimdal
Hi,
I'm trying to compile the U Washington imapd with gssapi support using the
version of heimdal that is included in NetBSD-current.
After changing the
#include <gssapi/gssapi_generic.h>
#include <gssapi/gssapi_krb5.h>
to
#include <gssapi/gssapi.h>
It is down to complaining:
auth_gss.c: In function `auth_gssapi_valid':
In file included from auths.c:1,
from env_unix.c:42,
from osdep.c:56:
auth_gss.c:85: `gss_mech_krb5' undeclared (first use in this function)
auth_gss.c:85: (Each undeclared identifier is reported only once
auth_gss.c:85: for each function it appears in.)
auth_gss.c:86: `gss_mech_set_krb5' undeclared (first use in this function)
auth_gss.c:88: `gss_nt_service_name' undeclared (first use in this function)
auth_gss.c: In function `auth_gssapi_client':
auth_gss.c:126: `gss_nt_service_name' undeclared (first use in this function)
auth_gss.c: In function `auth_gssapi_server':
auth_gss.c:265: `gss_nt_service_name' undeclared (first use in this function)
auth_gss.c:277: `gss_mech_krb5' undeclared (first use in this function)
where gss_mech_krb5 is used as follows
85: memcpy (&auth_gss_mech,&gss_mech_krb5,sizeof (gss_OID));
277: if (memcmp (mech->elements,gss_mech_krb5->elements,mech->length))
and gss_nt_service_name is used:
88: if (gss_import_name (&min,&buf,gss_nt_service_name,&name) != GSS_S_COMPLETE)
126: if (gss_import_name(&min,&buf,gss_nt_service_name,&crname)!=GSS_S_COMPLETE)
265: if ((gss_import_name (&min,&buf,gss_nt_service_name,&crname)) ==
So what are these and what needs to be done to get this to build with heimdal?
cheers
mark