Hi all, I would really appreciate some assistance with configuring Calendar Server to work with Open Directory on OS X.

I've downloaded and compiled the source which I assume was fine as I didn't receive any errors. I copied caldavd-test.plist -> caldavd- dev.plist and made the following changes...

  <!-- Network host name -->
  <key>ServerHostName</key>
  <string>ferrari.mydomainname.co.uk</string>

My fully qualifies hostname as listed in the locally running DNS.


  <!-- List of IP addresses to bind to [empty = all] -->
  <key>BindAddresses</key>
  <array>
    <string>192.168.0.100</string>
  </array>


IP address of the server

 <!--  XML File Directory Service -->
  <!--
  <key>DirectoryService</key>
  <dict>
    <key>type</key>
<string>twistedcaldav.directory.xmlfile.XMLDirectoryService</ string>

    <key>params</key>
    <dict>
      <key>xmlFile</key>
      <string>conf/accounts-test.xml</string>
    </dict>
  </dict>
  -->

Commented this out as I want Open Directory support

  <!--  Open Directory Service -->
  <key>DirectoryService</key>
  <dict>
    <key>type</key>
< string >twistedcaldav.directory.appleopendirectory.OpenDirectoryService</ string>
    <key>params</key>
    <dict>
      <key>node</key>
      <string>/Search</string>
    </dict>
  </dict>

Un-commented Open Directory Service config and left as default


The remaining config left as is.


My environment.

OS X Server V 10.4.10
Local DNS server running
Open Directory configured as Directory Master and operational. Workgroup manager connects to ferrari.mydomainname.co.u and authenticates to /LDAPv3/127.0.0.1

When I run Calendar Server I receive the following error...

2007-10-28 22:44:38+0000 [-] [caldav-8008] /Library/iCalServer/ CalendarServer/twistedcaldav/authkerb.py:50: RuntimeWarning: Python C API version mismatch for module kerberos: This Python has API version 1013, module kerberos has version 1012.
2007-10-28 22:44:38+0000 [-] [caldav-8008]   import kerberos
2007-10-28 22:44:38+0000 [-] [caldav-8008]  [-] Log opened.
2007-10-28 22:44:38+0000 [-] [caldav-8008] [-] twistd 2.5.0+r19773 (/ Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/ Contents/MacOS/Python 2.5.0) starting up 2007-10-28 22:44:38+0000 [-] [caldav-8008] [-] reactor class: <class 'twisted.internet.selectreactor.SelectReactor'> 2007-10-28 22:44:38+0000 [-] [caldav-8008] [startup] Configuring directory service of type: twistedcaldav.directory.appleopendirectory.OpenDirectoryService 2007-10-28 22:44:38+0000 [-] [caldav-8008] [OpenDirectoryService] Unable to locate virtual host record: Open Directory (node=/Search) has no /Computers records with a virtual hostname: ferrari.mydomainname.co.uk 2007-10-28 22:44:38+0000 [-] [caldav-8008] [-] Traceback (most recent call last): 2007-10-28 22:44:38+0000 [-] [caldav-8008] [-] File "../Twisted/bin/ twistd", line 21, in <module>
2007-10-28 22:44:38+0000 [-] [caldav-8008]  [-]     run()
2007-10-28 22:44:38+0000 [-] [caldav-8008] [-] File "/Library/ Twisted/twisted/scripts/twistd.py", line 27, in run 2007-10-28 22:44:38+0000 [-] [caldav-8008] [-] File "/Library/ Twisted/twisted/application/app.py", line 379, in run 2007-10-28 22:44:38+0000 [-] [caldav-8008] [-] File "/Library/ Twisted/twisted/scripts/twistd.py", line 23, in runApp 2007-10-28 22:44:38+0000 [-] [caldav-8008] [-] File "/Library/ Twisted/twisted/application/app.py", line 157, in run 2007-10-28 22:44:38+0000 [-] [caldav-8008] [-] File "/Library/ Twisted/twisted/application/app.py", line 202, in createOrGetApplication 2007-10-28 22:44:38+0000 [-] [caldav-8008] [-] File "/Library/ CalendarServer/twistedcaldav/tap.py", line 595, in makeService 2007-10-28 22:44:38+0000 [-] [caldav-8008] [-] File "/Library/ CalendarServer/twistedcaldav/tap.py", line 365, in makeService_Slave 2007-10-28 22:44:38+0000 [-] [caldav-8008] [-] File "/Library/ iCalServer/CalendarServer/twistedcaldav/directory/ appleopendirectory.py", line 91, in __init__ 2007-10-28 22:44:38+0000 [-] [caldav-8008] [-] self._lookupVHostRecord() 2007-10-28 22:44:38+0000 [-] [caldav-8008] [-] File "/Library/ iCalServer/CalendarServer/twistedcaldav/directory/ appleopendirectory.py", line 202, in _lookupVHostRecord 2007-10-28 22:44:38+0000 [-] [caldav-8008] [-] self._parseComputersRecords(records, vhostname) 2007-10-28 22:44:38+0000 [-] [caldav-8008] [-] File "/Library/ iCalServer/CalendarServer/twistedcaldav/directory/ appleopendirectory.py", line 209, in _parseComputersRecords 2007-10-28 22:44:38+0000 [-] [caldav-8008] [-] % (self.realmName, vhostname,) 2007-10-28 22:44:38+0000 [-] [caldav-8008] [-] twistedcaldav.directory.appleopendirectory.OpenDirectoryInitError: Open Directory (node=/Search) has no /Computers records with a virtual hostname: ferrari. mydomainname.co.uk


Am I missing something obvious in the Calendar Server configuration? Or perhaps I need to add a user to the Open Directory??? I'm totally stumped. Any help would be greatly appreciated.

Thanks in advance

~Stewart


_______________________________________________
calendarserver-users mailing list
calendarserver-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/calendarserver-users

Reply via email to