Aggregated directory services must have the same realm name
I've just installed the current trunk development version of Calendar Server on Slackware Linux 13.0 with Python 2.6. (Yes, I realise it is a development version and not a finished product!). The server starts but doesn't accept connections, and so I've set the DefaultLogLevel to 'debug' to see what's going on. I see the message: 2010-03-05 16:44:13+0000 [-] [caldav-3] AssertionError: Aggregated directory services must have the same realm name: '/S (truncated, continued) repeatedly in the log. The log shows it to come just after a call of: directory = AggregateDirectoryService(directories) Is this something that I need to fix and, if so, roughly where should I look? (Incidentally, where might I find a control to allow log messages with longer, untruncated, lines? Nothing obvious to me in caldav-dev.plist.) The message doesn't appear as part of a bug report, as far as I can see.
If you're using the OD based DirectoryService (which has a realm of /Search), you'll need to change the resources/locations config file realm to match. By default that is in conf/auth/resources-test.xml. Change... <accounts realm="Test Realm"> ...to... <accounts realm="/Search"> The way locations and resources are handled is changing quite a bit in trunk, so if you're looking for stability you might want to use a release instead. On Mar 5, 2010, at 10:16 AM, John Murdie wrote:
I've just installed the current trunk development version of Calendar Server on Slackware Linux 13.0 with Python 2.6. (Yes, I realise it is a development version and not a finished product!). The server starts but doesn't accept connections, and so I've set the DefaultLogLevel to 'debug' to see what's going on. I see the message:
2010-03-05 16:44:13+0000 [-] [caldav-3] AssertionError: Aggregated directory services must have the same realm name: '/S (truncated, continued)
repeatedly in the log. The log shows it to come just after a call of:
directory = AggregateDirectoryService(directories)
Is this something that I need to fix and, if so, roughly where should I look? (Incidentally, where might I find a control to allow log messages with longer, untruncated, lines? Nothing obvious to me in caldav-dev.plist.)
The message doesn't appear as part of a bug report, as far as I can see. _______________________________________________ calendarserver-users mailing list calendarserver-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users
On Fri, 2010-03-05 at 10:30 -0800, Morgen Sagen wrote:
If you're using the OD based DirectoryService (which has a realm of /Search), you'll need to change the resources/locations config file realm to match. By default that is in conf/auth/resources-test.xml.
Change...
<accounts realm="Test Realm">
...to...
<accounts realm="/Search">
The way locations and resources are handled is changing quite a bit in trunk, so if you're looking for stability you might want to use a release instead.
Thank you - I have been trying both 2.3 and the development version; the latter because I am interested in seeing its eventual release - though I've not the time or domain-specific expertise to help in the development I think that the odd bug report will help, which I may well be able to contribute as I learn more. Best wishes for the development, John A. Murdie
participants (2)
-
John Murdie
-
Morgen Sagen