[CalendarServer-users] Re: Problems on FreeBSD,
possibly property-related
Ryan Rempel
rgrempel at gmail.com
Tue Oct 31 17:39:47 PST 2006
BTW, here is a quick list of what I had to change to get this far on
FreeBSD.
The "run" script has #! /bin/bash, which I had to change to #!
/usr/local/bin/bash (I had the bash port installed -- I didn't check whether
/bin/sh would also have worked).
I had to make the following patches to the kerberos-related headers:
--- calendar.orig/PyKerberos/src/kerberosbasic.h Tue Oct 31 19:26:10
2006
+++ calendar/PyKerberos/src/kerberosbasic.h Mon Oct 30 19:36:50 2006
@@ -17,9 +17,11 @@
**/
#include <gssapi.h>
+#include <krb5.h>
+#if 0
#include <gssapi_generic.h>
#include <gssapi_krb5.h>
-
+#endif
#define krb5_get_err_text(context,code) error_message(code)
int authenticate_user_krb5pwd(const char *user, const char *pswd, const
char *service, const char *defau
lt_realm);
diff -ur --exclude=.svn calendar.orig/PyKerberos/src/kerberosgss.h
calendar/PyKerberos/src/kerberosgss.h
--- calendar.orig/PyKerberos/src/kerberosgss.h Tue Oct 31 19:26:10 2006
+++ calendar/PyKerberos/src/kerberosgss.h Mon Oct 30 19:53:57 2006
@@ -17,9 +17,14 @@
**/
#include <gssapi.h>
+#include <krb5.h>
+
+#define gss_krb5_nt_service_name GSS_KRB5_NT_PRINCIPAL_NAME
+
+/*
#include <gssapi_generic.h>
#include <gssapi_krb5.h>
-
+*/
#define krb5_get_err_text(context,code) error_message(code)
#define AUTH_GSS_ERROR -1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-users/attachments/20061031/19f55aaf/attachment.html
More information about the calendarserver-users
mailing list