Re: [Zope] zope and LDAP for authorisation
Hi Jens,
I need the full error traceback to help.
The full traceback on: Zope 2.7.2-0, python 2.3.5, win32 LDAPUserFolder 2.6 OpenLDAP 2.3.11 When I type the correct LDAP password I get this error and traceback (otherwise I get an "Unauthorized" error). ============= Time 2005/12/19 14:50:33.144 GMT+1 User Name (User Id) Anonymous User (None) Request URL http://localhost:8080/ldaptest/protected_folder/index_html Exception Type TypeError Exception Value len() of unsized object Traceback (innermost last): Module ZPublisher.Publish, line 92, in publish Module ZPublisher.BaseRequest, line 423, in traverse Module AccessControl.User, line 641, in validate Module Products.LDAPUserFolder.LDAPUserFolder, line 769, in authenticate Module Products.LDAPUserFolder.LDAPUserFolder, line 723, in getUser Module Products.LDAPUserFolder.LDAPUserFolder, line 678, in getUserByAttr TypeError: len() of unsized object ============= Ria
On 19 Dec 2005, at 13:59, Marinussen, M.J. (Ria) wrote:
Hi Jens,
I need the full error traceback to help.
The full traceback on: Zope 2.7.2-0, python 2.3.5, win32 LDAPUserFolder 2.6 OpenLDAP 2.3.11
When I type the correct LDAP password I get this error and traceback (otherwise I get an "Unauthorized" error).
Looking at the code this looks like it is a misconfiguration on your part. It looks like the attribute you use as the login attribute has not been added to the attributes shown on the LDAP Schema tab in the ZMI. jens
participants (2)
-
Jens Vagelpohl -
Marinussen, M.J. (Ria)