Hello,

I have the following problem :

I am trying to use LDAP tu authenticate my CPS users. I installed
CPSLDAPSetup OK and configured it correctly. Yet when I try to
authenticate with an existing user it fails. I can search my LDAP
directory in portal_directories and it does show my users. I don't
understand where the problem is (the communication between CPS and the
LDAP server works fine since I can see the requests in the logs of
slapd).

Here is what I get in the events.log file (i'm in log ALL mode).

2006-09-20T19:15:29 TRACE searchLDAP Searching cache for {'filter':
'(&(objectClass=inetOrgPerson)(uid=antoine))', 'scope': 2, 'base':
'ou=people,dc=bethune,dc=fr', 'attrs': ['cn', 'cpsGroups', 'cpsRoles',
'dn', 'givenName', 'mail', 'o', 'ou', 'postalAddress', 'sn',
'telephoneNumber', 'title', 'uid', 'userPassword']}
------
2006-09-20T19:15:29 TRACE searchLDAP  ->
results=[('uid=antoine,ou=People,dc=bethune,dc=fr', {'uid': ['antoine'],
'userPassword': ['{SSHA}31HBEV8orLrzBVDiwVFeimMcPW0OLDtj'], 'sn':
['reversat'], 'mail': ['[EMAIL PROTECTED]'], 'givenName': ['antoine'],
'cn': ['antoine reversat']})]
------
2006-09-20T19:15:29 TRACE ZODBDirectory._searchEntries Searching cache
for {'return_fields': None, 'members': ['antoine']}
------
2006-09-20T19:15:29 TRACE ZODBDirectory._searchEntries  -> results=[]
------
2006-09-20T19:15:29 TRACE ZODBDirectory._searchEntries Searching cache
for {'return_fields': None, 'members': ['antoine']}
------
2006-09-20T19:15:29 TRACE ZODBDirectory._searchEntries  -> results=[]
------
2006-09-20T19:15:29 TRACE CPSUserFolder
KeyError('uid=antoine,ou=People,dc=bethune,dc=fr') for user antoine
------
2006-09-20T19:15:29 DEBUG RSSChannel refresh not refreshing
(now=1158772529 last=1158772519)
------
2006-09-20T19:15:29 TRACE searchLDAP Searching cache for {'filter':
'(&(objectClass=inetOrgPerson)(uid=Anonymous))', 'scope': 2, 'base':
'ou=people,dc=bethune,dc=fr', 'attrs': ['cn', 'cpsGroups', 'cpsRoles',
'dn', 'givenName', 'mail', 'o', 'ou', 'postalAddress', 'sn',
'telephoneNumber', 'title', 'uid', 'userPassword']}
------
2006-09-20T19:15:29 TRACE searchLDAP  -> results=[]
------
2006-09-20T19:15:30 TRACE txn.-1551467600 commit

-- 
Antoine Reversat
----
Capensis
30, rue de rocroi
BP 70174
59053 Roubaix cedex 1
----
Tel 03 20 73 72 84
Fax 03 20 73 09 61

_______________________________________________
cps-users mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/cps-users

Reply via email to