1 /* $Id: acconfig.h,v 1.71 1997/06/01 22:32:24 assar Exp $ */
3 /* Define this if RETSIGTYPE == void */
6 /* Define this if struct utmp have ut_user */
9 /* Define this if struct utmp have ut_host */
12 /* Define this if struct utmp have ut_addr */
15 /* Define this if struct utmp have ut_type */
18 /* Define this if struct utmp have ut_pid */
21 /* Define this if struct utmp have ut_id */
24 /* Define this if struct utmpx have ut_syslen */
27 /* Define this if struct winsize is declared in sys/termios.h */
28 #undef HAVE_STRUCT_WINSIZE
30 /* Define this if struct winsize have ws_xpixel */
33 /* Define this if struct winsize have ws_ypixel */
36 /* Define this to be the directory where the dictionary for cracklib */
40 /* Define this if you want to use SOCKS v5 */
43 /* Define this to the path of the mail spool directory */
46 /* Define this if `struct sockaddr' includes sa_len */
47 #undef SOCKADDR_HAS_SA_LEN
49 /* Define this if `struct siaentity' includes ouid */
50 #undef SIAENTITY_HAS_OUID
52 /* Define if getlogin has POSIX flavour, as opposed to BSD */
55 /* Define if getpwnam_r has POSIX flavour */
56 #undef POSIX_GETPWNAM_R
58 /* define if getcwd() is broken (such as in SunOS) */
61 /* define if the system is missing a prototype for crypt() */
62 #undef NEED_CRYPT_PROTO
64 /* define if the system is missing a prototype for strtok_r() */
65 #undef NEED_STRTOK_R_PROTO
67 /* define if /bin/ls takes -A */
70 /* define if you have h_errno */
73 /* define if you have h_errlist but not hstrerror */
76 /* define if you have h_nerr but not hstrerror */
79 /* define if your system doesn't declare h_errlist */
80 #undef HAVE_H_ERRLIST_DECLARATION
82 /* define if your system doesn't declare h_nerr */
83 #undef HAVE_H_NERR_DECLARATION
85 /* define this if you need a declaration for h_errno */
86 #undef HAVE_H_ERRNO_DECLARATION
88 /* define if you need a declaration for optarg */
89 #undef HAVE_OPTARG_DECLARATION
91 /* define if you need a declaration for optind */
92 #undef HAVE_OPTIND_DECLARATION
94 /* define if you need a declaration for opterr */
95 #undef HAVE_OPTERR_DECLARATION
97 /* define if you need a declaration for optopt */
98 #undef HAVE_OPTOPT_DECLARATION
100 /* define if you need a declaration for __progname */
101 #undef HAVE___PROGNAME_DECLARATION
110 #undef HAVE_U_INT16_T
111 #undef HAVE_U_INT32_T
112 #undef HAVE_U_INT64_T
115 static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
118 * Set ORGANIZATION to be the desired organization string printed
119 * by the 'kinit' program. It may have spaces.
121 #define ORGANIZATION "eBones International"
131 #define KRB_CNF_FILES { "/etc/krb.conf", "/etc/kerberosIV/krb.conf", 0}
132 #define KRB_RLM_FILES { "/etc/krb.realms", "/etc/kerberosIV/krb.realms", 0}
133 #define KRB_EQUIV "/etc/krb.equiv"
135 #define KEYFILE "/etc/srvtab"
137 #define KRBDIR "/var/kerberos"
138 #define DBM_FILE KRBDIR "/principal"
139 #define DEFAULT_ACL_DIR KRBDIR
141 #define KRBLOG "/var/log/kerberos.log" /* master server */
142 #define KRBSLAVELOG "/var/log/kerberos_slave.log" /* slave server */
143 #define KADM_SYSLOG "/var/log/admin_server.syslog"
144 #define K_LOGFIL "/var/log/kpropd.log"
147 /* Maximum values on all known systems */
148 #define MaxHostNameLen (64+4)
149 #define MaxPathLen (1024+4)
152 * Define NDBM if you are using the 4.3 ndbm library (which is part of
153 * libc). If not defined, 4.2 dbm will be assumed.
155 #if defined(HAVE_DBM_FIRSTKEY)
159 /* ftp stuff -------------------------------------------------- */
163 /* telnet stuff ----------------------------------------------- */
165 /* define this if you have kerberos 4 */
168 /* define this if you want encryption */
171 /* define this if you want authentication */
172 #undef AUTHENTICATION
174 #if defined(ENCRYPTION) && !defined(AUTHENTICATION)
175 #define AUTHENTICATION 1
178 /* Set this if you want des encryption */
179 #undef DES_ENCRYPTION
181 /* Set this to the default system lead string for telnetd
182 * can contain %-escapes: %s=sysname, %m=machine, %r=os-release
183 * %v=os-version, %t=tty, %h=hostname, %d=date and time
187 /* define this if you want diagnostics in telnetd */
190 /* define this if you want support for broken ENV_{VALUE,VAR} systems */
196 /* Used with login -p */
199 /* Define if there are working stream ptys */
202 /* set this to a sensible login */
204 #define LOGIN_PATH BINDIR "/login"
208 /* ------------------------------------------------------------ */
211 * Define this if your ndbm-library really is berkeley db and creates
212 * files that ends in .db.
216 /* Define this if you have a working getmsg */
219 /* Define to enable new master key code */
222 /* Location of the master key file, default value lives in <kdc.h> */
225 /* Define if you don't want support for afs, might be a good idea on
226 AIX if you don't have afs */
229 /* Define if you have a readline compatible library */
232 #ifdef VOID_RETSIGTYPE
233 #define SIGRETURN(x) return
235 #define SIGRETURN(x) return (RETSIGTYPE)(x)
238 /* Define this if your compiler supports '#pragma weak' */
239 #undef HAVE_PRAGMA_WEAK
241 /* Temporary fixes for krb_{rd,mk}_safe */
242 #define DES_QUAD_GUESS 0
243 #define DES_QUAD_NEW 1
244 #define DES_QUAD_OLD 2
246 /* Set this to one of the constants above to specify default checksum
248 #undef DES_QUAD_DEFAULT
255 #define _POSIX_SOURCE
256 /* this is left for hysteric reasons :-) */
257 #define unix /* well, ok... */
261 * SunOS braindamage! (Sun include files are generally braindead)
263 #if (defined(sun) || defined(__sun))
264 #if defined(__svr4__) || defined(__SVR4)
271 #if defined(__sgi) || defined(sgi)
272 #if defined(__SYSTYPE_SVR4) || defined(_SYSTYPE_SVR4)
279 /* IRIX 4 braindamage */
280 #if IRIX == 4 && !defined(__STDC__)