[CPS-devel] Re: CPSLDAP AD var values

Florent Guillaume fg at nuxeo.com
Thu Jun 22 16:25:57 CEST 2006


On 22 Jun 2006, at 12:03, Olivier Grisel wrote:
> Damian Georgiou a écrit :
>
>> Unfortunately this doesn't work for me. searches using the ZMI are  
>> fine, but it
>> just won't log in. I contacted Umar and got his guide on using it  
>> with AD
>> however i got the same result.
>> Now our AD is not using InetOrgPerson could this be an issue?
>
> Obviously yes: the default search class is inetOrgPerson so that it  
> won't unless you changed that to match your settings.
>
>> here is a snap from event.log when i log in
>> 2006-06-22T12:54:19 INFO >>> damo:: LDAPBACKING (ln 860) - putting  
>> in cache
>> [('CN=BHS Webmaster,OU=IT
>> Services,OU=Departments,OU=Main,DC=bhs,DC=org,DC=au,DC=local',
>> {'givenName':['BHS'], 'cn': ['BHS Webmaster'], 'sAMAccountName':  
>> ['webmaster'],
>> 'sn':['Webmaster']})]
>
> So obviously it is able to find thinks, but what I do not  
> understand is why the retirved values are list of strings instead  
> of just plain strings.

That's normal, internally LDAP values are always lists.

Florent

-- 
Florent Guillaume, Nuxeo (Paris, France)   Director of R&D
+33 1 40 33 71 59   http://nuxeo.com   fg at nuxeo.com





More information about the cps-devel mailing list

This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.