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
Hosting: Nuxeo: Zope service provider