1 /* $Id: acconfig.h,v 1.105 1999/12/02 13:09:41 joda Exp $ */
14 /* This for compat with heimdal (or something) */
15 #define KRB_PUT_INT(f, t, l, s) krb_put_int((f), (t), (l), (s))
17 #define HAVE_KRB_ENABLE_DEBUG 1
19 #define HAVE_KRB_DISABLE_DEBUG 1
21 #define HAVE_KRB_GET_OUR_IP_FOR_REALM 1
24 static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
27 * Set ORGANIZATION to be the desired organization string printed
28 * by the 'kinit' program. It may have spaces.
30 #define ORGANIZATION "eBones International"
40 #define KRB_CNF_FILES { "/etc/krb.conf", "/etc/kerberosIV/krb.conf", 0}
41 #define KRB_RLM_FILES { "/etc/krb.realms", "/etc/kerberosIV/krb.realms", 0}
42 #define KRB_EQUIV "/etc/krb.equiv"
44 #define KEYFILE "/etc/srvtab"
46 #define KRBDIR "/var/kerberos"
47 #define DBM_FILE KRBDIR "/principal"
48 #define DEFAULT_ACL_DIR KRBDIR
50 #define KRBLOG "/var/log/kerberos.log" /* master server */
51 #define KRBSLAVELOG "/var/log/kerberos_slave.log" /* slave server */
52 #define KADM_SYSLOG "/var/log/admin_server.syslog"
53 #define K_LOGFIL "/var/log/kpropd.log"
56 /* Maximum values on all known systems */
57 #define MaxHostNameLen (64+4)
58 #define MaxPathLen (1024+4)
60 /* ftp stuff -------------------------------------------------- */
64 /* telnet stuff ----------------------------------------------- */
66 /* define this for OTP support */
69 /* define this if you have kerberos 4 */
72 /* define this if you want encryption */
75 /* define this if you want authentication */
78 #if defined(ENCRYPTION) && !defined(AUTHENTICATION)
79 #define AUTHENTICATION 1
82 /* Set this if you want des encryption */
85 /* Set this to the default system lead string for telnetd
86 * can contain %-escapes: %s=sysname, %m=machine, %r=os-release
87 * %v=os-version, %t=tty, %h=hostname, %d=date and time
91 /* define this if you want diagnostics in telnetd */
94 /* define this if you want support for broken ENV_{VALUE,VAR} systems */
100 /* Used with login -p */
103 /* set this to a sensible login */
105 #define LOGIN_PATH BINDIR "/login"
109 /* ------------------------------------------------------------ */
111 #ifdef BROKEN_REALLOC
112 #define realloc(X, Y) isoc_realloc((X), (Y))
113 #define isoc_realloc(X, Y) ((X) ? realloc((X), (Y)) : malloc(Y))
116 #ifdef VOID_RETSIGTYPE
117 #define SIGRETURN(x) return
119 #define SIGRETURN(x) return (RETSIGTYPE)(x)
122 /* Temporary fixes for krb_{rd,mk}_safe */
123 #define DES_QUAD_GUESS 0
124 #define DES_QUAD_NEW 1
125 #define DES_QUAD_OLD 2
128 * All these are system-specific defines that I would rather not have at all.
136 /* XXX this is gross, but kills about a gazillion warnings */
143 #if defined(__sgi) || defined(sgi)
144 #if defined(__SYSTYPE_SVR4) || defined(_SYSTYPE_SVR4)
151 /* IRIX 4 braindamage */
152 #if IRIX == 4 && !defined(__STDC__)
157 * Defining this enables lots of useful (and used) extensions on
158 * glibc-based systems such as Linux
163 /* some strange OS/2 stuff. From <d96-mst@nada.kth.se> */
167 #define MAIL_USE_SYSTEM_LOCK
171 #include "roken_rename.h"