summaryrefslogtreecommitdiffstats
path: root/source4/heimdal_build/roken.h
diff options
context:
space:
mode:
Diffstat (limited to 'source4/heimdal_build/roken.h')
-rw-r--r--source4/heimdal_build/roken.h26
1 files changed, 22 insertions, 4 deletions
diff --git a/source4/heimdal_build/roken.h b/source4/heimdal_build/roken.h
index 2af82b9e1b5..00632c78352 100644
--- a/source4/heimdal_build/roken.h
+++ b/source4/heimdal_build/roken.h
@@ -1,9 +1,29 @@
/*
- a wrapper to avoid double inclusion of the real roken.h
+ a wrapper to override some of the defines that the heimdal roken system looks at
*/
#ifndef _ROKEN_H_
#define _ROKEN_H_
-#include "heimdal_build/config.h"
+
+/* 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"
+
+/* Maximum values on all known systems */
+#define MaxHostNameLen (64+4)
+#define MaxPathLen (1024+4)
+
+#define VERSIONLIST {"Lorikeet-Heimdal, Modified for Samba4 0.7rc1"}
+
+#define VERSION "Samba"
+
+#define ROKEN_LIB_FUNCTION
+
+#define GETHOSTBYADDR_PROTO_COMPATIBLE
+#define GETSERVBYNAME_PROTO_COMPATIBLE
+#define OPENLOG_PROTO_COMPATIBLE
+#define GETSOCKNAME_PROTO_COMPATIBLE
/* even if we do have dlopen, we don't want heimdal using it */
#undef HAVE_DLOPEN
@@ -28,7 +48,5 @@
#define HAVE_SSIZE_T
#endif
-
-
#include "heimdal/lib/roken/roken.h"
#endif