Tobias Balle-Petersen wrote: > > I can now see my locations as found in LDAP. >
I can see my locations using "calendarserver_manage_principals --list-principals locations" but the clients (iCal) can not look up the locations. If I reconfigure to use the resources.xml file, clients (iCal) can look up the locations as configured in the xml file. So, why don't I bite the bullet and configure in resources.xml? I need to enable auto-schedule, but I can not. As far as I can see, setting auto-schedule in resources is no longer allowed (That's what I did in v. 2.4) in resources.xml. If I try to use calendarserver_manage_principals i get errors (It tries to contact my ldap server even if locations are in the xml file) ?: root@wheezy32:/etc/caldavd# calendarserver_manage_principals -v --set-auto-schedule=true 6ffc0cf2-1cc2-4c9d-b974-144211a11edd [twistedcaldav.directory.ldapdirectory.LdapDirectoryService#info] Connecting to LDAP 'ldap://********/' Setting auto-schedule to true for "Møde: Køkkenet" (locations:kokkenet) Unhandled error in Deferred: Unhandled error in Deferred: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1187, in unwindGenerator return _inlineCallbacks(None, gen, Deferred()) File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1045, in _inlineCallbacks result = g.send(result) File "/usr/lib/python2.7/dist-packages/calendarserver/tools/principals.py", line 695, in action_setAutoSchedule **principal.record.extras File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1187, in unwindGenerator return _inlineCallbacks(None, gen, Deferred()) --- <exception caught here> --- File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1045, in _inlineCallbacks result = g.send(result) File "/usr/lib/python2.7/dist-packages/calendarserver/tools/principals.py", line 810, in updateRecord record = directory.updateRecord(recordType, **kwargs) File "/usr/lib/python2.7/dist-packages/twistedcaldav/directory/aggregate.py", line 251, in updateRecord password=password, **kwargs) File "/usr/lib/python2.7/dist-packages/twistedcaldav/directory/xmlfile.py", line 520, in updateRecord self._persistRecords(accountsElement) File "/usr/lib/python2.7/dist-packages/twistedcaldav/directory/xmlfile.py", line 402, in _persistRecords self.xmlFile.setContent(elementToXML(element)) File "/usr/lib/python2.7/dist-packages/twisted/python/filepath.py", line 1104, in setContent f = sib.open('w') File "/usr/lib/python2.7/dist-packages/twisted/python/filepath.py", line 639, in open return self.create() File "/usr/lib/python2.7/dist-packages/twisted/python/filepath.py", line 1141, in create fdint = os.open(self.path, _CREATE_FLAGS) exceptions.OSError: [Errno 13] Permission denied: '/etc/caldavd/EOQ_35AEdGmHCbBEresources.xml.new' Unhandled Error Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1187, in unwindGenerator return _inlineCallbacks(None, gen, Deferred()) File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1045, in _inlineCallbacks result = g.send(result) File "/usr/lib/python2.7/dist-packages/calendarserver/tools/principals.py", line 695, in action_setAutoSchedule **principal.record.extras File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1187, in unwindGenerator return _inlineCallbacks(None, gen, Deferred()) --- <exception caught here> --- File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1045, in _inlineCallbacks result = g.send(result) File "/usr/lib/python2.7/dist-packages/calendarserver/tools/principals.py", line 810, in updateRecord record = directory.updateRecord(recordType, **kwargs) File "/usr/lib/python2.7/dist-packages/twistedcaldav/directory/aggregate.py", line 251, in updateRecord password=password, **kwargs) File "/usr/lib/python2.7/dist-packages/twistedcaldav/directory/xmlfile.py", line 520, in updateRecord self._persistRecords(accountsElement) File "/usr/lib/python2.7/dist-packages/twistedcaldav/directory/xmlfile.py", line 402, in _persistRecords self.xmlFile.setContent(elementToXML(element)) File "/usr/lib/python2.7/dist-packages/twisted/python/filepath.py", line 1104, in setContent f = sib.open('w') File "/usr/lib/python2.7/dist-packages/twisted/python/filepath.py", line 639, in open return self.create() File "/usr/lib/python2.7/dist-packages/twisted/python/filepath.py", line 1141, in create fdint = os.open(self.path, _CREATE_FLAGS) exceptions.OSError: [Errno 13] Permission denied: '/etc/caldavd/EOQ_35AEdGmHCbBEresources.xml.new' Main loop terminated. -- View this message in context: http://old.nabble.com/Locations---resources-in-LDAP-in-version-3.2--tp34150345p34155892.html Sent from the Calendar Server - Users mailing list archive at Nabble.com. _______________________________________________ calendarserver-users mailing list calendarserver-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/calendarserver-users