------------------------------------------------------------------------------ To reply, visit https://hellosplat.com/s/beanbag/tickets/4489/ ------------------------------------------------------------------------------
New ticket #4489 by jafar For Beanbag, Inc. > Review Board Status: New Tags: Priority:Medium, Type:Defect ------------------------------------------------------------------------------ LDAP Authenticate error: need more than 1 value to unpack ============================================================================== # What version are you running? 2.5.7 # What's the URL of the page containing the problem? https://github.com/reviewboard/reviewboard/blob/master/reviewboard/accounts/backends.py#L559 https://groups.google.com/forum/#!topic/reviewboard/7zrGkUg1kPI # What steps will reproduce the problem? 1. GOTO Authentication -> LDAP 2. SET Full Name Attribute: cn (or something like uid) 3. That's it! # What is the expected output? What do you see instead? Arbitrary assume fullname will contains a white space. Wrong code: >> first_name, last_name = full_name.split(' ', 1) Many people, such as most asian people, they have a fullname but without space! Example: 张三 You cannot assume your users' fullname contains white space, at least try catch such exception! # What operating system are you using? What browser? NONE # Please provide any additional information below. NONE ------------------------------------------------------------------------------ -- You received this message because you are subscribed to the Google Groups "reviewboard-issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard-issues+unsubscr...@googlegroups.com. To post to this group, send email to reviewboard-issues@googlegroups.com. Visit this group at https://groups.google.com/group/reviewboard-issues. For more options, visit https://groups.google.com/d/optout.