On Tue, 9 Jan 2018 07:48:51 +0000 Andreas Dobloug andreas.dobloug@usit.uio.no wrote:
From this I would deduce that the user object either doesn't exist or doesn't have a `cn` attribute - so the login process crashes when attempting to extract a full name from the user object (which is needed before the account can be created in NAV).
Looks like the problem is a unicode string is being passed to python-ldap:
It is. I literally just responded to and fixed this exact bug, reported on GitHub, before reading your post :-D
See https://github.com/UNINETT/nav/issues/1647