1 /* $Id: acconfig.h,v 1.103.2.1 1999/07/22 03:12:42 assar 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
22 static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
25 * Set ORGANIZATION to be the desired organization string printed
26 * by the 'kinit' program. It may have spaces.
28 #define ORGANIZATION "eBones International"
38 #define KRB_CNF_FILES { "/etc/krb.conf", "/etc/kerberosIV/krb.conf", 0}
39 #define KRB_RLM_FILES { "/etc/krb.realms", "/etc/kerberosIV/krb.realms", 0}
40 #define KRB_EQUIV "/etc/krb.equiv"
42 #define KEYFILE "/etc/srvtab"
44 #define KRBDIR "/var/kerberos"
45 #define DBM_FILE KRBDIR "/principal"
46 #define DEFAULT_ACL_DIR KRBDIR
48 #define KRBLOG "/var/log/kerberos.log" /* master server */
49 #define KRBSLAVELOG "/var/log/kerberos_slave.log" /* slave server */
50 #define KADM_SYSLOG "/var/log/admin_server.syslog"
51 #define K_LOGFIL "/var/log/kpropd.log"
54 /* Maximum values on all known systems */
55 #define MaxHostNameLen (64+4)
56 #define MaxPathLen (1024+4)
58 /* ftp stuff -------------------------------------------------- */
62 /* telnet stuff ----------------------------------------------- */
64 /* define this for OTP support */
67 /* define this if you have kerberos 4 */
70 /* define this if you want encryption */
73 /* define this if you want authentication */
76 #if defined(ENCRYPTION) && !defined(AUTHENTICATION)
77 #define AUTHENTICATION 1
80 /* Set this if you want des encryption */
83 /* Set this to the default system lead string for telnetd
84 * can contain %-escapes: %s=sysname, %m=machine, %r=os-release
85 * %v=os-version, %t=tty, %h=hostname, %d=date and time
89 /* define this if you want diagnostics in telnetd */
92 /* define this if you want support for broken ENV_{VALUE,VAR} systems */
98 /* Used with login -p */
101 /* set this to a sensible login */
103 #define LOGIN_PATH BINDIR "/login"
107 /* ------------------------------------------------------------ */
109 #ifdef BROKEN_REALLOC
110 #define realloc(X, Y) isoc_realloc((X), (Y))
111 #define isoc_realloc(X, Y) ((X) ? realloc((X), (Y)) : malloc(Y))
114 #ifdef VOID_RETSIGTYPE
115 #define SIGRETURN(x) return
117 #define SIGRETURN(x) return (RETSIGTYPE)(x)
120 /* Temporary fixes for krb_{rd,mk}_safe */
121 #define DES_QUAD_GUESS 0
122 #define DES_QUAD_NEW 1
123 #define DES_QUAD_OLD 2
126 * All these are system-specific defines that I would rather not have at all.
134 /* XXX this is gross, but kills about a gazillion warnings */
141 #if defined(__sgi) || defined(sgi)
142 #if defined(__SYSTYPE_SVR4) || defined(_SYSTYPE_SVR4)
149 /* IRIX 4 braindamage */
150 #if IRIX == 4 && !defined(__STDC__)
155 * Defining this enables lots of useful (and used) extensions on
156 * glibc-based systems such as Linux
161 /* some strange OS/2 stuff. From <d96-mst@nada.kth.se> */
165 #define MAIL_USE_SYSTEM_LOCK
169 #include "roken_rename.h"