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@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        "recordTypes": ("users", "groups"),
61        "uri": "ldap://localhost/",
62        "credentials": {
63            "dn": None,
64            "password": None,
65        },
66        "rdnSchema": {
67            "base": "dc=example,dc=com",
68            "users": "cn=users",
69            "groups": "cn=groups",
70            "locations": "cn=locations",
71            "resources": "cn=resources",
72            "addresses": "cn=addresses",
73        },
74        "mapping": {
75            "uid": ["apple-generateduid", ],
76            "guid": ["apple-generateduid", ],
77            "shortNames": ["uid", ],
78            "fullNames": ["cn", ],
79            "emailAddresses": ["mail", ],
80            "memberDNs": ["uniqueMember", ],
81            "readWriteProxy": ["icsContact", ],
82            "readOnlyProxy": ["icsSecondaryOwners", ],
83        },
84        "extraFilters": {
85            "users": "",
86            "groups": "",
87            "locations": "",
88            "resources": "",
89            "addresses": "",
90        },
91    },

Best Regards,
Gaurav Jain