[1192] in Athena Bugs
Re: (RT/PC) Version 6.0C: inconsistent #defines
daemon@ATHENA.MIT.EDU (John T Kohl)
Tue Oct 18 15:49:25 1988
Date: Tue, 18 Oct 88 15:49:09 EDT
From: John T Kohl <jtkohl@ATHENA.MIT.EDU>
To: eichin@ATHENA.MIT.EDU, bugs@ATHENA.MIT.EDU
In-Reply-To: bugs:[1191]
/usr/include/krb.h: 73: #define REALM_SZ 40
/usr/include/zephyr/zephyr_conf.h: 28: #define REALM_SZ MAXHOSTNAMELEN
This is a 'gotcha' which results from lack of proper documentation. If
you examine /usr/include/zephyr/zephyr_conf.h carefully, you note:
#ifndef KERBEROS
#define REALM_SZ MAXHOSTNAMELEN
#endif /* !KERBEROS */
You really need to #define KERBEROS for the Zephyr include file to "do
the right thing" when linking with our Zephyr libraries. I will make
this change to the programmer's manual.
John