2 a wrapper to override some of the defines that the heimdal roken system looks at
7 /* Support 'weak' keys for now, it can't be worse than NTLM and we don't want to hard-code the behaviour at this point */
8 #define HEIM_WEAK_CRYPTO 1
10 /* path to sysconf - should we force this to samba LIBDIR ? */
11 #define SYSCONFDIR "/etc"
13 /* HDB module dir - set to Samba LIBDIR/hdb ? */
14 #define HDBDIR "/usr/heimdal/lib"
15 #define LIBDIR "/usr/heimdal/lib"
16 #define HEIMDAL_LOCALEDIR "/usr/heimdal/locale"
18 /* Maximum values on all known systems */
19 #define MaxHostNameLen (64+4)
20 #define MaxPathLen (1024+4)
25 #define VERSIONLIST {"Lorikeet-Heimdal, Modified for Samba4 0.8pre"}
27 #define VERSION "Samba"
29 #define ROKEN_LIB_FUNCTION
31 #define GETHOSTBYADDR_PROTO_COMPATIBLE
32 #define GETSERVBYNAME_PROTO_COMPATIBLE
33 #define OPENLOG_PROTO_COMPATIBLE
34 #define GETSOCKNAME_PROTO_COMPATIBLE
36 /* even if we do have dlopen, we don't want heimdal using it */
39 /* we need to tell roken about the functions that Samba replaces in lib/replace */
41 #define HAVE_SETEUID 1
60 #ifndef HAVE_STRCASECMP
61 #define HAVE_STRCASECMP
68 #ifndef HAVE_VASPRINTF
69 #define HAVE_VASPRINTF
104 #ifndef HAVE_INET_ATON
105 #define HAVE_INET_ATON
108 /* we lie about having pidfile() so that NetBSD5 can compile. Nothing
109 in the parts of heimdal we use actually uses pidfile(), and we
110 don't use it in Samba, so this works, although its ugly */
115 #if (__GNUC__ >= 3) && (__GNUC_MINOR__ >= 1 )
116 #ifndef HAVE___ATTRIBUTE__
117 #define HAVE___ATTRIBUTE__
121 #include "system/network.h"
124 * we don't want that roken.h.in includes socket_wrapper
125 * we include socket_wrapper via "system/network.h"
127 #undef SOCKET_WRAPPER_REPLACE
128 #include "heimdal/lib/roken/roken.h.in"
130 extern const char *heimdal_version
;
131 extern const char *heimdal_long_version
;