> I'll be happy to look at your patch for inclusion in Panda IMAP.

noting that this makes it compile and run on freebsd with its built in
heimdal, and might also work fine on mit systems since it depends on the
behaviour described by the GSSAPI RFC, but contains no logic at all for
autoconfig or even manual selection -- integration and testing required!

diff -r -u imap-2007e/src/osdep/unix/Makefile.gss 
imap-2007e-mol/src/osdep/unix/Makefile.gss
--- imap-2007e/src/osdep/unix/Makefile.gss      2008-06-04 18:18:34.000000000 
+0000
+++ imap-2007e-mol/src/osdep/unix/Makefile.gss  2009-08-30 17:08:40.000000000 
+0000
@@ -29,7 +29,7 @@
 GSSDIR=/usr/local
 GSSINCLUDE=$(GSSDIR)/include
 GSSLIB=$(GSSDIR)/lib
-GSSCFLAGS= -I$(GSSINCLUDE) -DGSS_C_NT_HOSTBASED_SERVICE=gss_nt_service_name 
-DKRB5_DEPRECATED=1
+GSSCFLAGS= -I$(GSSINCLUDE) -DKRB5_DEPRECATED=1
 GSSOLDLDFLAGS= -L$(GSSLIB) -lgssapi_krb5 -lkrb5 -lcrypto -lcom_err
 GSSNEWLDFLAGS= -L$(GSSLIB) -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err
 
diff -r -u imap-2007e/src/osdep/unix/kerb_mit.c 
imap-2007e-mol/src/osdep/unix/kerb_mit.c
--- imap-2007e/src/osdep/unix/kerb_mit.c        2008-06-04 18:18:34.000000000 
+0000
+++ imap-2007e-mol/src/osdep/unix/kerb_mit.c    2009-08-30 17:09:23.000000000 
+0000
@@ -27,8 +27,8 @@
  */
 
 #define PROTOTYPE(x) x
-#include <gssapi/gssapi_generic.h>
-#include <gssapi/gssapi_krb5.h>
+#include <gssapi/gssapi.h>
+#include <krb5.h>
 
 
 long kerberos_server_valid (void);
Only in imap-2007e-mol: tmail
_______________________________________________
Imap-uw mailing list
[email protected]
http://mailman2.u.washington.edu/mailman/listinfo/imap-uw

Reply via email to