2005-07-14 12:50:57 +04:00
/*
2006-09-07 08:52:06 +04:00
a wrapper to override some of the defines that the heimdal roken system looks at
2005-07-14 12:50:57 +04:00
*/
# ifndef _ROKEN_H_
# define _ROKEN_H_
2006-09-07 08:52:06 +04:00
/* path to sysconf - should we force this to samba LIBDIR ? */
# define SYSCONFDIR " / etc"
/* HDB module dir - set to Samba LIBDIR/hdb ? */
# define HDBDIR " / usr / heimdal / lib"
2006-11-13 06:19:59 +03:00
# define LIBDIR " / usr / heimdal / lib"
2006-09-07 08:52:06 +04:00
/* Maximum values on all known systems */
# define MaxHostNameLen (64+4)
# define MaxPathLen (1024+4)
2007-01-10 04:51:35 +03:00
/* We want PKINIT */
# define PKINIT 1
2006-11-07 15:04:11 +03:00
# define VERSIONLIST {"Lorikeet-Heimdal, Modified for Samba4 0.8pre"}
2006-09-07 08:52:06 +04:00
# define VERSION "Samba"
# define ROKEN_LIB_FUNCTION
# define GETHOSTBYADDR_PROTO_COMPATIBLE
# define GETSERVBYNAME_PROTO_COMPATIBLE
# define OPENLOG_PROTO_COMPATIBLE
# define GETSOCKNAME_PROTO_COMPATIBLE
2006-09-07 08:24:54 +04:00
/* even if we do have dlopen, we don't want heimdal using it */
# undef HAVE_DLOPEN
/* we need to tell roken about the functions that Samba replaces in lib/replace */
# ifndef HAVE_SETEUID
# define HAVE_SETEUID 1
# endif
# ifndef HAVE_STRNDUP
# define HAVE_STRNDUP
# endif
2006-09-29 16:24:23 +04:00
2007-03-12 19:05:57 +03:00
# ifndef HAVE_SETENV
# define HAVE_SETENV
# endif
# ifndef HAVE_UNSETENV
# define HAVE_UNSETENV
# endif
2006-09-29 16:24:23 +04:00
# ifndef HAVE_VSYSLOG
# define HAVE_VSYSLOG
# endif
2006-09-07 08:24:54 +04:00
# ifndef HAVE_SOCKLEN_T
# define HAVE_SOCKLEN_T
# endif
# ifndef HAVE_SSIZE_T
# define HAVE_SSIZE_T
# endif
2006-11-07 19:03:00 +03:00
# ifndef HAVE_TIMEGM
# define HAVE_TIMEGM
# endif
2006-11-07 15:47:46 +03:00
# undef SOCKET_WRAPPER_REPLACE
# include "heimdal/lib/roken/roken.h.in"
2005-07-14 12:50:57 +04:00
# endif