Home › Forums › OS X Server and Client Discussion › Questions and Answers › iCal LDAP errors
- This topic has 3 replies, 2 voices, and was last updated 16 years, 6 months ago by
afp548contributor.
-
AuthorPosts
-
October 1, 2008 at 4:45 pm #374311
amsterdam
ParticipantI’m attempting to use the iCal service on a 10.5.5 machine. It’s bound to AD, and set up as an OD master. We use the server for AFP filesharing and client mangement.
I’ve gotten to the point where I’m able to start the iCal service and create AD users with augmented records. However, when I try to enable the calendaring service under the user’s record in Open Directory, I do not see the fqdn of our server listed. Looking through the logs of the iCal server, reveals this:
[code]2008-10-01 12:38:38-0400 [-] [caldav-8009] [-] Log opened.
2008-10-01 12:38:38-0400 [-] [caldav-8009] [-] twistd 2.5.0 (/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python 2.5.1) starting up
2008-10-01 12:38:38-0400 [-] [caldav-8009] [-] reactor class:
2008-10-01 12:38:38-0400 [-] [caldav-8009] [startup] Configuring directory service of type: twistedcaldav.directory.appleopendirectory.OpenDirectoryService
2008-10-01 12:38:38-0400 [-] [caldav-8009] [OpenDirectoryService] Unable to locate virtual host record: Open Directory (node=/Search) has no /Computers records with a virtual hostname: [myserver.ads.domain]
2008-10-01 12:38:38-0400 [-] [caldav-8009] [-] Traceback (most recent call last):
2008-10-01 12:38:38-0400 [-] [caldav-8009] [-] File “/usr/share/caldavd/bin/twistd”, line 21, in
2008-10-01 12:38:38-0400 [-] [caldav-8009] [-] run()
2008-10-01 12:38:38-0400 [-] [caldav-8009] [-] File “/usr/share/caldavd/lib/python/twisted/scripts/twistd.py”, line 27, in run
2008-10-01 12:38:38-0400 [-] [caldav-8009] [-] app.run(runApp, ServerOptions)
2008-10-01 12:38:38-0400 [-] [caldav-8009] [-] File “/usr/share/caldavd/lib/python/twisted/application/app.py”, line 379, in run
2008-10-01 12:38:38-0400 [-] [caldav-8009] [-] runApp(config)
2008-10-01 12:38:38-0400 [-] [caldav-8009] [-] File “/usr/share/caldavd/lib/python/twisted/scripts/twistd.py”, line 23, in runApp
2008-10-01 12:38:38-0400 [-] [caldav-8009] [-] _SomeApplicationRunner(config).run()
2008-10-01 12:38:38-0400 [-] [caldav-8009] [-] File “/usr/share/caldavd/lib/python/twisted/application/app.py”, line 157, in run
2008-10-01 12:38:38-0400 [-] [caldav-8009] [-] self.application = self.createOrGetApplication()
2008-10-01 12:38:38-0400 [-] [caldav-8009] [-] File “/usr/share/caldavd/lib/python/twisted/application/app.py”, line 202, in createOrGetApplication
2008-10-01 12:38:38-0400 [-] [caldav-8009] [-] ser = plg.makeService(self.config.subOptions)
2008-10-01 12:38:38-0400 [-] [caldav-8009] [-] File “/usr/share/caldavd/lib/python/twistedcaldav/tap.py”, line 749, in makeService
2008-10-01 12:38:38-0400 [-] [caldav-8009] [-] service = serviceMethod(options)
2008-10-01 12:38:38-0400 [-] [caldav-8009] [-] File “/usr/share/caldavd/lib/python/twistedcaldav/tap.py”, line 471, in makeService_Slave
2008-10-01 12:38:38-0400 [-] [caldav-8009] [-] baseDirectory = directoryClass(**config.DirectoryService[“params”])
2008-10-01 12:38:38-0400 [-] [caldav-8009] [-] File “/usr/share/caldavd/lib/python/twistedcaldav/directory/appleopendirectory.py”, line 89, in __init__
2008-10-01 12:38:38-0400 [-] [caldav-8009] [-] self._lookupVHostRecord()
2008-10-01 12:38:38-0400 [-] [caldav-8009] [-] File “/usr/share/caldavd/lib/python/twistedcaldav/directory/appleopendirectory.py”, line 202, in _lookupVHostRecord
2008-10-01 12:38:38-0400 [-] [caldav-8009] [-] self._parseComputersRecords(records, vhostname)
2008-10-01 12:38:38-0400 [-] [caldav-8009] [-] File “/usr/share/caldavd/lib/python/twistedcaldav/directory/appleopendirectory.py”, line 209, in _parseComputersRecords
2008-10-01 12:38:38-0400 [-] [caldav-8009] [-] % (self.realmName, vhostname)
2008-10-01 12:38:38-0400 [-] [caldav-8009] [-] twistedcaldav.directory.appleopendirectory.OpenDirectoryInitError: Open Directory (node=/Search) has no /Computers records with a virtual hostname: [myserver.ads.domain]
[/code]The system log reports:
[code]
Oct 1 12:25:47 bl-mus-ives servermgrd[50]: *** -[WPWebServices updateWithError:]: ‘setCredentialsWithRecordType’ against /LDAPv3/[myserver.ads.domain] failed.
Oct 1 12:25:47 bl-mus-ives servermgrd[50]: WhitePagesFramework: backing up WebServices data to /Local/Default because node /LDAPv3/[myserver.ads.domain] is unreachable.
Oct 1 12:25:47 bl-mus-ives servermgrd[50]: NSScanner: nil string argument
Oct 1 12:25:48 bl-mus-ives servermgrd[50]: *** -[WPWebServices updateWebServices:withVirtualHosts:withSession:]: ‘setCredentialsWithRecordType’ against /LDAPv3/[myserver.ads.domain] failed. Reason: Unable to set extended node credentials for /LDAPv3/[myserver.ads.domain].
Oct 1 12:25:48 bl-mus-ives servermgrd[50]: NSScanner: nil string argument
Oct 1 12:25:48 bl-mus-ives servermgrd[50]: servermgr_calendar: created default calendar virtual host[/code]
So it appears there’s some issue with having my server in OD… it has a record with its FQDN, so I’m wondering why it can’t be found…
any help would be most appreciated.
thanks!
October 2, 2008 at 6:57 pm #374338amsterdam
ParticipantI also found this link:
[url]http://www.nabble.com/No-virtual-host-found-for-iCal-service-td13633275.html[/url]
Which outlines the same problem. I’ve verified that dsAttrTypeStandard:RealName, dsAttrTypeStandard:RecordName and the apple-realname and cn bits are all equal to to the server’s FQDN. I’m now digging around this file:
/usr/share/caldavd/lib/python/twistedcaldav/directory/appleopendirectory.py
My guess is this python script is looking for an attribute in the computer’s record in OD that isn’t there… but what that attribute is ???
anyone?
October 2, 2008 at 9:34 pm #374341amsterdam
ParticipantWell, I’ve made some progress… looking around, I found this:
[url]https://trac.calendarserver.org/ticket/276[/url]
If I set requireComputerRecord to false, it works. But I am troubled as to why I have to do this. Poking around my LDAP record if found:
[code]
dscl /Search read /Computers/[myserver]dsAttrTypeNative:description:
XServe 10.4 – OD Master
[/code]Does this mean my OD master still thinks it’s 10.4 and not 10.5?
-
AuthorPosts
- You must be logged in to reply to this topic.
Comments are closed