[CPS-devel] Debugging CPSLDAP

Damian Georgiou bachomp at gmail.com
Thu Jun 8 08:36:58 CEST 2006


Ok, i am back onto it after yet another digression onto something else.

CPS 3.4.1 rc
CPSLDAPsetup 1.0.0
ActiveDirectory


This is the the tail from the event.log




2006-06-08T16:27:41 DEBUG damo::
*******************************************************************************
at 1
------
2006-06-08T16:27:41 TRACE searchLDAP Searching cache for {'filter':
'(&(sAMAccountName=damiang)(|(objectClass=top)(objectClass=person)(objectClass=user)))',
'scope': 2, 'base': 'ou=Departments,ou=Main,dc=bhs,dc=org,dc=au,dc=local',
'attrs': ['cn', 'cpsGroups', 'cpsRoles', 'dn', 'givenName', 'mail', 'o',
'ou', 'postalAddress', 'sAMAccountName', 'sn', 'telephoneNumber', 'title',
'userPassword']}
------
2006-06-08T16:27:41 TRACE searchLDAP  -> results=[('CN=Damian Georgiou,OU=IT
Services,OU=Departments,OU=Main,DC=bhs,DC=org,DC=au,DC=local',
{'telephoneNumber': ['03 5320 4530'], 'cn': ['Damian Georgiou'], 'title':
['Web Developer'], 'sn': ['Georgiou'], 'mail': ['DamianG at bhs.org.au'],
'givenName': ['Damian'], 'sAMAccountName': ['DamianG']})]
------
2006-06-08T16:27:41 TRACE ZODBDirectory._searchEntries Searching cache for
{'return_fields': None, 'members': [None]}
------
2006-06-08T16:27:41 TRACE ZODBDirectory._searchEntries  -> results=[]
------
2006-06-08T16:27:41 TRACE ZODBDirectory._searchEntries Searching cache for
{'return_fields': None, 'members': [None]}
------
2006-06-08T16:27:41 TRACE ZODBDirectory._searchEntries  -> results=[]
------
2006-06-08T16:27:41 TRACE ZODBDirectory._searchEntries Searching cache for
{'return_fields': ['*'], 'sAMAccountName': ['damiang']}
------
2006-06-08T16:27:41 TRACE ZODBDirectory._searchEntries  -> results=[]
------
2006-06-08T16:27:41 DEBUG >> damo::
*******************************************************************************
at 2
------
2006-06-08T16:27:41 DEBUG getUserWithAuthentication KeyError ('damiang') for
user damiang



Correct me if i am wrong but it is authenticating against the active
directory as it is pulling out my details. From there what is supposed to
happen?

what is it supposed to be doing when it gets to
"ZODBDirectory._searchEntries"?

Do the "ZODBDirectory._searchEntries" TRACE look correct?

You can see on the last line of the log extract, i am getting a KeyError. A
KeyError in regards to what? (damiang == my userid)

On the User login interface it reports back a login failure.

any light on this will be most appreciated

cheers,

Damian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nuxeo.com/pipermail/cps-devel/attachments/20060608/6cdb66ca/attachment.html


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.