I pulled the fix from:
this makes the login with wrong credentials work (before we had an error)
but in case of good credentials the system still crashes. Debug output
below:
[snip]
File "/usr/lib/pymodules/python2.7/nav/web/ldapauth.py", line 280, in
is_group_member
result = self.ldap.search_s(group_dn, ldap.SCOPE_BASE, filterstr)
[snip]
UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position
26: ordinal not in range(128)
This actually looks like the same kind of encoding problem while
verifying your group memberships.
Unicode is hard *sigh*.
pushing a patch within a few minutes. Attempting, for once, due
diligence, I also wrote a regression test for the problem :)
--
Morten Brekkevold
UNINETT