apple / ccs-calendarserver

The Calendar and Contacts Server.
https://www.calendarserver.org
Apache License 2.0
486 stars 136 forks source link

Kerberos dependancy prevents startup; obvious fix enclosed #310

Closed macosforgebot closed 13 years ago

macosforgebot commented 14 years ago

alexis@… originally submitted this as ticket:393


Despite ticket 352 and changeset 4665, there is still a (new?) kerberos dependancy. In twistedcaldav/directory/principal.py, line 53, it says: from twistedcaldav.authkerb import NegotiateCredentials

authkerb.py will not run if kerberos isn't installed, as it will in turn try to import kerberos, which fails. There seemed little point in hacking on it since it has no purpose without kerberos, so I instead commented out the import in principal.py. This seems to work fine - the server appears to be fully working against iCal 10.6.

The "right" fix seems barely more complex - as with ticket #⁠352, stick it in a "try" block.

It would be nice to get this fix in soon, since server installs of Ubuntu 10.04 (and quite likely some other distros) don't come with kerberos installed.

Thanks.

macosforgebot commented 14 years ago

alexis@… originally submitted this as comment:1:⁠ticket:393

macosforgebot commented 14 years ago

jas@… originally submitted this as comment:2:⁠ticket:393

macosforgebot commented 13 years ago

@wsanchez originally submitted this as comment:3:⁠ticket:393


Fixed with #⁠356