[CPS-users] Re: CPSLDAPSetup

Olivier Grisel ogrisel at nuxeo.com
Wed Mar 29 14:45:00 CEST 2006


Mario Olimpio de Menezes a écrit :
> On Tuesday 28 March 2006 06:23, Olivier Grisel wrote:
>> You don't need the LDAPUserFolder product. LDAPDirectory and
>> LDAPDirectoryVocabulary are provided for backward compataibility only. In
>> CPSLDAPSetup we use LDAPBackingDirectory.
> 
> ok! removed LDAPUserFolder from Products.
> 
>> Please  watch the log once you attempt to login with a failing uid that
>> belongs to your LDAP.
> 
> here is what I got:
> 
> 2006-03-28T09:48:43 TRACE searchLDAP Searching cache for {'filter': 
> '(&(objectClass=*)(uid=mariomenezes))', 'scope': 2, 'base': 
> 'ou=people,dc=ipen,dc=br', 'attrs': ['cn', 'cpsGroups', 'cpsRoles', 'dn', 
> 'givenName', 'mail', 'o', 'ou', 'postalAddress', 'sn', 'telephoneNumber', 
> 'title', 'uid', 'userPassword']}
> [...]
> 2006-03-28T09:48:44 DEBUG getUserWithAuthentication KeyError 
> ('uid=mariomenezes,ou=People,dc=ipen,dc=br') for user mariomenezes

There is a configuration problem here: your search base is:

  'ou=people,dc=ipen,dc=br'
      ^
but your uid is:

  'uid=mariomenezes,ou=People,dc=ipen,dc=br'
                       ^

Check if that is the source of your problem.

-- 
Olivier



More information about the cps-users mailing list
More information about CPS: CPS project - CVS - API

Hosting: Nuxeo: Zope service provider


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