Hi,

It would be advisable to attempt to configure the ldap client for your site 
using caldavd.plist, instead of editing the code. Our ldap client is highly 
configurable / flexible, and so far I haven't found any reason to need to edit 
the source code to adapt our ldap client to a wide variety different ldap 
servers.

You can look at 
http://trac.calendarserver.org/browser/CalendarServer/trunk/twistedcaldav/stdconfig.py
 under twistedcaldav.directory.ldapdirectory.LdapDirectoryService to see all 
the available settings.

If the change you need cannot be represented using the plist, kindly let us 
know exactly what you're doing so we can consider making whatever you are doing 
configurable.

-dre

On Apr 17, 2014, at 8:18 AM, Ulrich Fourier <ulrich.four...@rockyourlife.de> 
wrote:

> So i fixed it by editing the source file so that my custom field got
> also checked.
> Now I'm working on another error message, which also appeared earlier:
> ldap.NO_SUCH_OBJECT: {'desc': 'No such object'}
> 
> I tested the request he is sending to the server(the filter and the
> attributes) with the phpldapbrowser and got the correct response.
> Thanks,
> Ulrich
> 
> On 17.04.14 15:09, Ulrich Fourier wrote:
>> Hi everyone,
>> A simple and stupid question:
>> I'm currently working with the calendarserver and a ldap server.
>> Users should be authenticated with the ldap server, but the uid field
>> what is used by the calendarserver to look for the right user, is used
>> for something different in my setup. I have there an integer. So how can
>> i configure calendarserver to use the 'cn' or any other self defined field?
>> 
>> Thank you
>> 
>> Ulrich Fourier
>> 
>> _______________________________________________
>> calendarserver-users mailing list
>> calendarserver-users@lists.macosforge.org
>> https://lists.macosforge.org/mailman/listinfo/calendarserver-users
> _______________________________________________
> calendarserver-users mailing list
> calendarserver-users@lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/calendarserver-users

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

Reply via email to