6 #ifndef TAC_PLUS_CONFIG_H
7 #define TAC_PLUS_CONFIG_H 1
13 * Sets "/etc/tacacs/tac_plus.cfg" as default config file
15 #undef MAINTAINER_MODE
17 /* Missing socklen_t in <sys/socket.h>
18 * We don't use 'typedef' to not to yet require <stddef.h> included here.
22 /* Define this if you have shadow passwords in /etc/passwd and
23 * /etc/shadow. Note that you usually need to be root to read
25 #undef SHADOW_PASSWORDS
27 /* Check for some fields in <pwd.h>/struct passwd and <utmp.h>/struct utmp
29 #undef HAVE_PASSWD_PW_AGE
30 #undef HAVE_PASSWD_PW_COMMENT
31 #undef HAVE_UTMP_UT_HOST
33 /* All OSes detected by configure.in:
55 /* --enable-maxsess */
61 /* --with-mschap[=des] */
64 /* --with-tac[ug]id */
66 #undef TACPLUS_GROUPID
67 /* --with-tacplus_pid */
68 #undef TACPLUS_PIDFILE
69 /* --with-included-regex */
70 #undef WITH_INCLUDED_REGEX
75 /* Keep in sync with configure.in */
76 #define _XOPEN_SOURCE 1 /* for unistd.h/crypt() */
77 #define _XOPEN_SOURCE_EXTENDED 1 /* for pwd.h/{set,end}pwent(), sys/wait.h/wait3() */
78 #define _BSD_SOURCE 1 /* for u_{char,short,int} & string.h/bcopy() */
79 #define _OSF_SOURCE 1 /* for u_{char,short,int} (on Alpha OSF1) */
80 #define __EXTENSIONS__ 1 /* for u_{char,short,int} (on Sparc Solaris) */
82 #if SIZEOF_UNSIGNED_SHORT == 4
83 typedef unsigned short tac_uint32;
85 #if SIZEOF_UNSIGNED_INT == 4
86 typedef unsigned int tac_uint32;
88 #if SIZEOF_UNSIGNED_LONG == 4
89 typedef unsigned long tac_uint32;
91 #error "Unable to find 32-bit unsigned int for TAC_UINT32 type"
92 #endif /* SIZEOF_UNSIGNED_LONG */
93 #endif /* SIZEOF_UNSIGNED_INT */
94 #endif /* SIZEOF_UNSIGNED_SHORT */
97 #endif /* TAC_PLUS_CONFIG_H */