Closed macosforgebot closed 13 years ago
armin.kraetschmer@… originally submitted this as comment:1:ticket:356
Replying to tillz@…:
Hello, I'm unable to start the Calendarserver. krb5-config can't be installed. [...]
Hi,
I can confirm this behaviour. Installed DCS on Gentoo (x86_64, 2.6.31-gentoo-r6), when I tried to start it I got the same error message.
Fact is: the cause for this is a missing kerberos/PyKerberos install (kerberos/PyKerberos is not needed for DCS to work and I don't want/need kerberos on my home server). The krb5-config: not found thing can be ignored, as it's just a check, if kerberos is available (in this case it is not). If this check (located in the support/build.sh script, line 438) fails, the setup for the PyKerberos package won't be downloaded and run (as it is not needed for a system without kerberos).
My workaround for getting the server to work anyway: just comment the import kerberos directive in twistedcaldav/authkerb.py, line 41. After commenting the line, the server runs without any problems. Maybe you also have to ensure that the kerberos authentication in conf/caldavd-dev.xml is deactivated (per default it is; haven't tested, if it causes any problems when active).
Hope this helps a little. Greetings, Armin
@wsanchez originally submitted this as comment:2:ticket:356
We really need to be more tolerant here and just disable kerberos functionality rather than bombing out.
@wsanchez originally submitted this as comment:3:ticket:356
plaes@… originally submitted this as attachment:0001-Allow-starting-server-without-kerberos-support.patch:ticket:356
Allow-starting-server-without-kerberos-support.patch
plaes@… originally submitted this as comment:4:ticket:356
alexis@… originally submitted this as comment:5:ticket:356
@wsanchez originally submitted this as comment:6:ticket:356
Fixed in r7840
@wsanchez originally submitted this as comment:7:ticket:356
tillz@… originally submitted this as ticket:356
Hello, I'm unable to start the Calendarserver. krb5-config can't be installed.