Hi,

When I try to use LDAPDirectoryService, I get the following error. I use
the default mapping config as provided by caldavd-dev.plist.

Would you be able to help me resolve this issue?

-------------------------------------------------------------------------------------------

  File "/var/caldav/CalendarServer-6.0/txdav/who/util.py", line 75, in
directoryFromConfig

    serversDB=serversDB

  File "/var/caldav/CalendarServer-6.0/txdav/who/util.py", line 148, in
buildDirectory

    CalFieldName.hasCalendars: mapping.hasCalendars,

  File "/var/caldav/CalendarServer-6.0/twistedcaldav/config.py", line 75,
in __getattr__

    return dict.__getattribute__(self, attr)

exceptions.AttributeError: 'ConfigDict' object has no attribute
'hasCalendars'


Mapping:

        <key>mapping</key>

        <dict>

          <key>uid</key>

          <array>

            <string>apple-generateduid</string>

          </array>

          <key>guid</key>

          <array>

            <string>apple-generateduid</string>

          </array>

          <key>shortNames</key>

          <array>

            <string>uid</string>

          </array>

          <key>fullNames</key>

          <array>

            <string>cn</string>

          </array>

          <key>emailAddresses</key>

          <array>

            <string>mail</string>

          </array>

          <key>memberDNs</key>

          <array>

            <string>uniqueMember</string>

          </array>

        </dict>


Best,
_______________________________________________
calendarserver-users mailing list
calendarserver-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/calendarserver-users

Reply via email to