Menu

#4 Failure to Authenticate

open
nobody
None
5
2012-09-17
2003-03-24
Anonymous
No

Software Version: 0.98.2

Problem:

User login fails when attempting to login with a
password of the form "\w:\w". e.g "word:16".

Failing with the following exception:

Traceback (innermost last):

Module ZPublisher.Publish, line 89, in publish
Module ZPublisher.BaseRequest, line 409, in traverse
Module Products.LDAPAdapter.LDAPAdapter, line 564,
in validate
ValueError: unpack tuple of wrong size

Solution:

Limit the outer string.split to have a maxsplit of 1.

i.e. line 564 should be:

 ':',1))

instead of:

':'))

regards,
Murray Cockerell
murrayc@ot.com.au

Discussion


Log in to post a comment.

MongoDB Logo MongoDB