[CalendarServer-dev] [CalendarServer] #276: Virtual hostname not found (no apple-serviceinfo LDAP attribute)

CalendarServer trac at macosforge.org
Thu May 15 20:38:36 PDT 2008

#276: Virtual hostname not found (no apple-serviceinfo LDAP attribute)
 Reporter:  dnicolson at pixelgroup.com.au  |       Owner:  wsanchez at apple.com
     Type:  Defect                       |      Status:  new               
 Priority:  5: Not set                   |   Milestone:                    
Component:  Calendar Server              |     Version:                    
 Severity:  Other                        |    Keywords:                    
 After some difficulty setting up CalendarServer on OS X Server 10.4 (svn,
 python, ez_install failing at different places), I am able to connect from
 iCal using the XML credentials.

 I'm experiencing a problem using OpenDirectory as the connection method.
 The error is:

 twistedcaldav.directory.appleopendirectory.OpenDirectoryInitError: Open
 Directory (node=/Search) has no /Computers records with a virtual
 hostname: <hostname>

 Running this command I am able to see the hostname of the machine:

 $ dscl /Search list /Computers

 I am also able to see the LDAP attributes when running this command:

 $ dscl /Search read /Computers/<hostname>

 Looking at the LDAP log (/var/log/slapd.log), I can see this:

 get_ssa: conn 4758 unknown attribute type=apple-serviceinfo (17)

 After Googling this, people had problems with iCal Server under Leopard
 and created the apple-serviceinfo attribute. I attempted this using:

 $ sudo dscl /LDAPv3/ -create Computers/pixelfs dsAttrTypeNative
 :apple-serviceinfo ""

 And I received this error:

 <main> attribute status: eDSPermissionError

 Any thoughts welcome.

Ticket URL: <https://trac.calendarserver.org/ticket/276>
CalendarServer </>

More information about the calendarserver-dev mailing list