[CalendarServer-users] Configure ldap with Caldav

Gaurav Jain monkeyfdude at gmail.com
Mon May 25 09:44:20 PDT 2015


Also, accounts.xml does contain a password but I am not able to find
mapping in ldap config

On Mon, May 25, 2015 at 8:33 AM, Gaurav Jain <monkeyfdude at gmail.com> wrote:

> Hi,
>
> I am very new to ldap and I am struggling setting it up for Caldav server.
>
> I am trying to setup ldap sever to work with Caldav Server. I see mapping
> in stdconfig.py as below.
>
> But the mapping does not specify the user password. Would you be able to
> tell the mapping b/w ldap password attribute and caldav field
>
> * What is credentials for?
> * Would you be to tell the ldap structure to be created to work with
> Caldav?
>
> *Any help will be greatly appreciated.*
>
>     "ldap": {60
> <https://trac.calendarserver.org/browser/CalendarServer/trunk/twistedcaldav/stdconfig.py#L60>
>       "recordTypes": ("users", "groups"),61
> <https://trac.calendarserver.org/browser/CalendarServer/trunk/twistedcaldav/stdconfig.py#L61>
>       "uri": "ldap://localhost/",62
> <https://trac.calendarserver.org/browser/CalendarServer/trunk/twistedcaldav/stdconfig.py#L62>
>       "credentials": {63
> <https://trac.calendarserver.org/browser/CalendarServer/trunk/twistedcaldav/stdconfig.py#L63>
>           "dn": None,64
> <https://trac.calendarserver.org/browser/CalendarServer/trunk/twistedcaldav/stdconfig.py#L64>
>           "password": None,65
> <https://trac.calendarserver.org/browser/CalendarServer/trunk/twistedcaldav/stdconfig.py#L65>
>       },66
> <https://trac.calendarserver.org/browser/CalendarServer/trunk/twistedcaldav/stdconfig.py#L66>
>       "rdnSchema": {67
> <https://trac.calendarserver.org/browser/CalendarServer/trunk/twistedcaldav/stdconfig.py#L67>
>           "base": "dc=example,dc=com",68
> <https://trac.calendarserver.org/browser/CalendarServer/trunk/twistedcaldav/stdconfig.py#L68>
>           "users": "cn=users",69
> <https://trac.calendarserver.org/browser/CalendarServer/trunk/twistedcaldav/stdconfig.py#L69>
>           "groups": "cn=groups",70
> <https://trac.calendarserver.org/browser/CalendarServer/trunk/twistedcaldav/stdconfig.py#L70>
>           "locations": "cn=locations",71
> <https://trac.calendarserver.org/browser/CalendarServer/trunk/twistedcaldav/stdconfig.py#L71>
>           "resources": "cn=resources",72
> <https://trac.calendarserver.org/browser/CalendarServer/trunk/twistedcaldav/stdconfig.py#L72>
>           "addresses": "cn=addresses",73
> <https://trac.calendarserver.org/browser/CalendarServer/trunk/twistedcaldav/stdconfig.py#L73>
>       },74
> <https://trac.calendarserver.org/browser/CalendarServer/trunk/twistedcaldav/stdconfig.py#L74>
>       "mapping": {75
> <https://trac.calendarserver.org/browser/CalendarServer/trunk/twistedcaldav/stdconfig.py#L75>
>           "uid": ["apple-generateduid", ],76
> <https://trac.calendarserver.org/browser/CalendarServer/trunk/twistedcaldav/stdconfig.py#L76>
>           "guid": ["apple-generateduid", ],77
> <https://trac.calendarserver.org/browser/CalendarServer/trunk/twistedcaldav/stdconfig.py#L77>
>           "shortNames": ["uid", ],78
> <https://trac.calendarserver.org/browser/CalendarServer/trunk/twistedcaldav/stdconfig.py#L78>
>           "fullNames": ["cn", ],79
> <https://trac.calendarserver.org/browser/CalendarServer/trunk/twistedcaldav/stdconfig.py#L79>
>           "emailAddresses": ["mail", ],80
> <https://trac.calendarserver.org/browser/CalendarServer/trunk/twistedcaldav/stdconfig.py#L80>
>           "memberDNs": ["uniqueMember", ],81
> <https://trac.calendarserver.org/browser/CalendarServer/trunk/twistedcaldav/stdconfig.py#L81>
>           "readWriteProxy": ["icsContact", ],82
> <https://trac.calendarserver.org/browser/CalendarServer/trunk/twistedcaldav/stdconfig.py#L82>
>           "readOnlyProxy": ["icsSecondaryOwners", ],83
> <https://trac.calendarserver.org/browser/CalendarServer/trunk/twistedcaldav/stdconfig.py#L83>
>       },84
> <https://trac.calendarserver.org/browser/CalendarServer/trunk/twistedcaldav/stdconfig.py#L84>
>       "extraFilters": {85
> <https://trac.calendarserver.org/browser/CalendarServer/trunk/twistedcaldav/stdconfig.py#L85>
>           "users": "",86
> <https://trac.calendarserver.org/browser/CalendarServer/trunk/twistedcaldav/stdconfig.py#L86>
>           "groups": "",87
> <https://trac.calendarserver.org/browser/CalendarServer/trunk/twistedcaldav/stdconfig.py#L87>
>           "locations": "",88
> <https://trac.calendarserver.org/browser/CalendarServer/trunk/twistedcaldav/stdconfig.py#L88>
>           "resources": "",89
> <https://trac.calendarserver.org/browser/CalendarServer/trunk/twistedcaldav/stdconfig.py#L89>
>           "addresses": "",90
> <https://trac.calendarserver.org/browser/CalendarServer/trunk/twistedcaldav/stdconfig.py#L90>
>       },91
> <https://trac.calendarserver.org/browser/CalendarServer/trunk/twistedcaldav/stdconfig.py#L91>
>   },
>
> Best Regards,
> Gaurav Jain
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-users/attachments/20150525/b7002ced/attachment-0001.html>


More information about the calendarserver-users mailing list