2 a wrapper to override some of the defines that the heimdal roken system looks at
7 /* path to sysconf - should we force this to samba LIBDIR ? */
8 #define SYSCONFDIR "/etc"
10 /* HDB module dir - set to Samba LIBDIR/hdb ? */
11 #define HDBDIR "/usr/heimdal/lib"
12 #define LIBDIR "/usr/heimdal/lib"
13 #define HEIMDAL_LOCALEDIR "/usr/heimdal/locale"
15 /* Maximum values on all known systems */
16 #define MaxHostNameLen (64+4)
17 #define MaxPathLen (1024+4)
22 #define VERSIONLIST {"Lorikeet-Heimdal, Modified for Samba4 0.8pre"}
24 #define VERSION "Samba"
26 #define ROKEN_LIB_FUNCTION
28 #define GETHOSTBYADDR_PROTO_COMPATIBLE
29 #define GETSERVBYNAME_PROTO_COMPATIBLE
30 #define OPENLOG_PROTO_COMPATIBLE
31 #define GETSOCKNAME_PROTO_COMPATIBLE
33 /* even if we do have dlopen, we don't want heimdal using it */
36 /* we need to tell roken about the functions that Samba replaces in lib/replace */
38 #define HAVE_SETEUID 1
57 #ifndef HAVE_STRCASECMP
58 #define HAVE_STRCASECMP
65 #ifndef HAVE_VASPRINTF
66 #define HAVE_VASPRINTF
101 #ifndef HAVE_INET_ATON
102 #define HAVE_INET_ATON
105 /* we lie about having pidfile() so that NetBSD5 can compile. Nothing
106 in the parts of heimdal we use actually uses pidfile(), and we
107 don't use it in Samba, so this works, although its ugly */
112 #if (__GNUC__ >= 3) && (__GNUC_MINOR__ >= 1 )
113 #ifndef HAVE___ATTRIBUTE__
114 #define HAVE___ATTRIBUTE__
118 #include "system/network.h"
121 * we don't want that roken.h.in includes socket_wrapper
122 * we include socket_wrapper via "system/network.h"
124 #undef SOCKET_WRAPPER_REPLACE
125 #include "heimdal/lib/roken/roken.h.in"
127 extern const char *heimdal_version
;
128 extern const char *heimdal_long_version
;