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': [' [EMAIL PROTECTED]'], '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



_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

Reply via email to