problems setting HAVE_KRB_PRINCIPAL
Assar Westerlund
assar at sics.se
Sun Mar 22 16:34:36 CET 1998
"Per Boussard, ERA/T/ED" <per at era-t.ericsson.se> writes:
> It seems older versions of kth-krb don't have the struct krb_principal
> typedeffed in krb.h, which makes the test in configure.in (annotated as a
> 'Gross hack..') not set HAVE_KRB_PRINCIPAL.
But isn't this the way it's supposed to be? If there's is no
krb_principal then we have to define it.
> The problems that follow complain about ANAME_SZ, INST_SZ and
> REALM_SZ not being defined (compiling koerror.o), so it's not
> trivial (wasn't for me anyway) to understand the root of the
> problem.
Should this be enough to solve that problem?
/assar
Index: lib/ko/koerror.c
===================================================================
RCS file: /usr/local/cvsroot/arla/lib/ko/koerror.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -w -r1.4 -r1.5
--- koerror.c 1998/03/17 04:45:37 1.4
+++ koerror.c 1998/03/17 04:48:01 1.5
@@ -41,6 +41,7 @@
#include <vldb.h>
#include <volumeserver.h>
#ifdef KERBEROS
+#include <krb.h>
#include <des.h>
#include <rxkad.h>
#endif
More information about the Arla-drinkers
mailing list