[CalendarServer-users] [LDAP] entryUUID not exported

Razvan Deaconescu razvan at rosedu.org
Thu Jul 21 11:57:33 PDT 2011


Hi!

I'm using a LDAP server for user information and authentication.
However, the entryUUID attribute is not exported through LDAP. I've
tried not using an attribute:

---
<key>guidAttr</key>
    <string>entryUUID</string>
---

but it doesn't work. It fails with a trace such as:

---
2011-07-21 21:38:28+0300 [-] [caldav-8008]        File
"/usr/lib/twisted-calendarserver/lib/python2.6/site-packages/twistedcaldav/directory/calendar.py",
line 164, in getChild
2011-07-21 21:38:28+0300 [-] [caldav-8008]          return
self._parent.homeForDirectoryRecord(record)
2011-07-21 21:38:28+0300 [-] [caldav-8008]        File
"/usr/lib/twisted-calendarserver/lib/python2.6/site-packages/twistedcaldav/directory/calendar.py",
line 122, in homeForDirec
toryRecord
2011-07-21 21:38:28+0300 [-] [caldav-8008]          return
uidResource.getChild(record.uid)
2011-07-21 21:38:28+0300 [-] [caldav-8008]        File
"/usr/lib/twisted-calendarserver/lib/python2.6/site-packages/twistedcaldav/directory/calendar.py",
line 226, in getChild
2011-07-21 21:38:28+0300 [-] [caldav-8008]          return
self.provisionChild(name)
2011-07-21 21:38:28+0300 [-] [caldav-8008]        File
"/usr/lib/twisted-calendarserver/lib/python2.6/site-packages/twistedcaldav/static.py",
line 653, in provisionChild
2011-07-21 21:38:28+0300 [-] [caldav-8008]          assert len(name) >
4, "Directory record has an invalid GUID: %r" % (name,)
2011-07-21 21:38:28+0300 [-] [caldav-8008]
exceptions.AssertionError: Directory record has an invalid GUID: '9000'
---

Is there any workaround in case the entryUUID attributed is not exported?

Thanks,
Razvan


More information about the calendarserver-users mailing list