[CalendarServer-users] Locations & resources in LDAP in version 3.2?

Morgen Sagen sagen at apple.com
Thu Jul 12 08:34:03 PDT 2012


By default, users and groups come from the configured directory service, while locations and resources are stored in XML.  To get all 4 types from LDAP modify the caldavd.plist as follows:

1) Disable the resource/location XML service by changing "ResourceService > Enabled" to false:

    <key>ResourceService</key>
    <dict>
      <key>Enabled</key>
      <false/>

2) Configure the directory service to handle all 4 types by adding a "recordTypes" key to the "DirectoryService > params" dictionary:

   <key>DirectoryService</key>
   <dict>
     <key>type</key>
     <string>twistedcaldav.directory.ldapdirectory.LdapDirectoryService</string>

     <key>params</key>
     <dict>
       <key>recordTypes</key>
       <array>
          <string>users</string>
          <string>groups</string>
          <string>locations</string>
          <string>resources</string>
       </array>

Hope that helps,
~morgen


On Jul 12, 2012, at 3:51 AM, Tobias Balle-Petersen <tobiasbp at gmail.com> wrote:

> 
> Hello....
> 
> I'm running caldavd v. 3.2 as packaged on Debian Wheezy.
> 
> I get my users from LDAP. I would also like to get my locations and
> resources from LDAP. However, when I do a search for, say, locations, with
> calendarserver_manage_principals I see no traffic to the LDAP server? I only
> seem to be able to add locations to the system by defining them in
> resources.xml.
> 
> How are resources and locations to be configured for LDAP? I see the
> configuration of this in caldavd.plist has changed quite a lot since version
> 2.*
> 
> Regards,
> Tobias Balle-Petersen
> -- 
> View this message in context: http://old.nabble.com/Locations---resources-in-LDAP-in-version-3.2--tp34150345p34150345.html
> Sent from the Calendar Server - Users mailing list archive at Nabble.com.
> 
> _______________________________________________
> calendarserver-users mailing list
> calendarserver-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/calendarserver-users



More information about the calendarserver-users mailing list