struct krb_principal lossage

John Hawkinson jhawk at MIT.EDU
Mon Mar 2 20:04:39 CET 1998


| > Fun, that. Your stds.h patch didn't include definitions of ANAME_SZ
| > nothing else was included to define them. So:
| 
| Shouldn't they live in krb.h ? Or have I found another kth-krb specially ?

Oops, no, they're in krb.h (well, kerberos.h included by krb.h) stds.h is included
in places where krb.h isn't. E.g.:

/usr/gcc/bin/gcc -c  -DHAVE_CONFIG_H -I/afs/sipb/project/arla/src/arla/rxdef -I. -I/afs/sipb/project/arla/src/arla/rxdef/../lwp  -I/afs/sipb/project/arla/src/arla/rxdef/../rx   -I../include  -I/afs/sipb/project/arla/src/arla/rxdef/../include  -I/afs/sipb/project/arla/src/arla/rxdef/..  -g -I../include -I/usr/athena/include -g -Wall -DKERBEROS volumeserver.cs.c
In file included from volumeserver.h:9,
                 from volumeserver.cs.c:2:
/afs/sipb/project/arla/src/arla/rxdef/../include/stds.h:62: `ANAME_SZ' undeclared here (not in a function)
/afs/sipb/project/arla/src/arla/rxdef/../include/stds.h:63: `INST_SZ' undeclared here (not in a function)
/afs/sipb/project/arla/src/arla/rxdef/../include/stds.h:64: `REALM_SZ' undeclared here (not in a function)

I'm not sure it's appropriate for RX stuff to include krb.h.

--jhawk





More information about the Arla-drinkers mailing list