[OpenAFS] Password transition to krb5 - your methods?

rader@ginseng.hep.wisc.edu rader@ginseng.hep.wisc.edu
Fri, 26 Oct 2007 07:11:14 -0500


Did you try this??

 - build krb5 1.3.x
 - apply the enclosed patch
 - build afs-krb5 2.0 via
     ./configure --with-krb5-src=/path/to/your/krb5-1.3.x/src
     make

steve
--

 > ---- Original Message ----
 > From: Jeff Blaine <jblaine@kickflop.net>
 > FWIW re: building afs2k5db with old Kerberos dist...
 > 
 > MIT Kerberos 1.2 : Has no krb5-config = no good
 > 
 > MIT Kerberos 1.3 : Fails to build:
 > 
 >                     /blah/krb5-1.3/src/include/k5-int.h:1783:
 >                     error: parse error before "krb5_donot_replay"
 > 
 > MIT Kebreros 1.4.4 : Fails (without mods) to build:
 > 
 >                       #error krb5.h included before k5-int.h
 > 
 >                       Moved "#include <k5-int.h>" before the
 >                       include for krb5.h in afs2k5db.c
 > 
 >                       Had to do the same thing in k5dbsubs.c
 > 
 >                       Built

--- k5-int.h.orig       2004-01-05 16:49:32.000000000 -0600
+++ k5-int.h    2007-09-14 20:36:11.000000000 -0500
@@ -1801,6 +1801,7 @@
     krb5_pointer data;
 };
 
+#if 0
 struct _krb5_rc_ops {
     krb5_magic magic;
     char *type;
@@ -1823,6 +1824,7 @@
     krb5_error_code (KRB5_CALLCONV *resolve)
        (krb5_context, krb5_rcache, char *);
 };
+#endif
 
 typedef struct _krb5_rc_ops krb5_rc_ops;