[Touch-packages] [Bug 1195039] Re: Whitespaces in login name cause authentication problems

2014-09-10 Thread Robert Ancell
This one turns out to be more complex than it looks. Unfortunately due to the way PAM works neither LightDM or the greeter know for sure the context of the prompts that PAM sends. So they don't know they're being asked for a username or something else in which whitespace might be significant. It

[Touch-packages] [Bug 1195039] Re: Whitespaces in login name cause authentication problems

2014-09-10 Thread Robert Ancell
Things worth checking: a) If the LDAP server indicates in some way the correct unix username for that account then make sure pam_ldap is correctly setting PAM_USER it to this value (so other modules will use it). b) If it is expected behaviour that the LDAP server ignores whitespace then