]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - crypto/kerberosIV/acconfig.h
This commit was generated by cvs2svn to compensate for changes in r53910,
[FreeBSD/FreeBSD.git] / crypto / kerberosIV / acconfig.h
1 /* $Id: acconfig.h,v 1.103.2.1 1999/07/22 03:12:42 assar Exp $ */
2
3 @BOTTOM@
4
5 #undef HAVE_INT8_T
6 #undef HAVE_INT16_T
7 #undef HAVE_INT32_T
8 #undef HAVE_INT64_T
9 #undef HAVE_U_INT8_T
10 #undef HAVE_U_INT16_T
11 #undef HAVE_U_INT32_T
12 #undef HAVE_U_INT64_T
13
14 /* This for compat with heimdal (or something) */
15 #define KRB_PUT_INT(f, t, l, s) krb_put_int((f), (t), (l), (s))
16
17 #define HAVE_KRB_ENABLE_DEBUG 1
18
19 #define HAVE_KRB_DISABLE_DEBUG 1
20
21 #define RCSID(msg) \
22 static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
23
24 /*
25  * Set ORGANIZATION to be the desired organization string printed
26  * by the 'kinit' program.  It may have spaces.
27  */
28 #define ORGANIZATION "eBones International"
29
30 #if 0
31 #undef BINDIR 
32 #undef LIBDIR
33 #undef LIBEXECDIR
34 #undef SBINDIR
35 #endif
36
37 #if 0
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"
41
42 #define KEYFILE         "/etc/srvtab"
43
44 #define KRBDIR          "/var/kerberos"
45 #define DBM_FILE        KRBDIR "/principal"
46 #define DEFAULT_ACL_DIR KRBDIR
47
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"
52 #endif
53
54 /* Maximum values on all known systems */
55 #define MaxHostNameLen (64+4)
56 #define MaxPathLen (1024+4)
57
58 /* ftp stuff -------------------------------------------------- */
59
60 #define KERBEROS
61
62 /* telnet stuff ----------------------------------------------- */
63
64 /* define this for OTP support */
65 #undef OTP
66
67 /* define this if you have kerberos 4 */
68 #undef KRB4
69
70 /* define this if you want encryption */
71 #undef ENCRYPTION
72
73 /* define this if you want authentication */
74 #undef AUTHENTICATION
75
76 #if defined(ENCRYPTION) && !defined(AUTHENTICATION)
77 #define AUTHENTICATION 1
78 #endif
79
80 /* Set this if you want des encryption */
81 #undef DES_ENCRYPTION
82
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
86  */
87 #undef USE_IM
88
89 /* define this if you want diagnostics in telnetd */
90 #undef DIAGNOSTICS
91
92 /* define this if you want support for broken ENV_{VALUE,VAR} systems  */
93 #undef ENV_HACK
94
95 /*  */
96 #undef OLD_ENVIRON
97
98 /* Used with login -p */
99 #undef LOGIN_ARGS
100
101 /* set this to a sensible login */
102 #ifndef LOGIN_PATH
103 #define LOGIN_PATH BINDIR "/login"
104 #endif
105
106
107 /* ------------------------------------------------------------ */
108
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))
112 #endif
113
114 #ifdef VOID_RETSIGTYPE
115 #define SIGRETURN(x) return
116 #else
117 #define SIGRETURN(x) return (RETSIGTYPE)(x)
118 #endif
119
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
124
125 /*
126  * All these are system-specific defines that I would rather not have at all.
127  */
128
129 /*
130  * AIX braindamage!
131  */
132 #if _AIX
133 #define _ALL_SOURCE
134 /* XXX this is gross, but kills about a gazillion warnings */
135 struct ether_addr;
136 struct sockaddr;
137 struct sockaddr_dl;
138 struct sockaddr_in;
139 #endif
140
141 #if defined(__sgi) || defined(sgi)
142 #if defined(__SYSTYPE_SVR4) || defined(_SYSTYPE_SVR4)
143 #define IRIX 5
144 #else
145 #define IRIX 4
146 #endif
147 #endif
148
149 /* IRIX 4 braindamage */
150 #if IRIX == 4 && !defined(__STDC__)
151 #define __STDC__ 0
152 #endif
153
154 /*
155  * Defining this enables lots of useful (and used) extensions on
156  * glibc-based systems such as Linux
157  */
158
159 #define _GNU_SOURCE
160
161 /* some strange OS/2 stuff.  From <d96-mst@nada.kth.se> */
162
163 #ifdef __EMX__
164 #define _EMX_TCPIP
165 #define MAIL_USE_SYSTEM_LOCK
166 #endif
167
168 #ifdef ROKEN_RENAME
169 #include "roken_rename.h"
170 #endif