Cannot login when password contains special characters..

Bug #719279 reported by Jogarem
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
likewise-open (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: likewise-open

My setup:

[code]Kubuntu 10.10 Maverick

likewise-base 6.0.0-1
likewise-domainjoin 6.0.0-1
likewise-domainjoin-gui 6.0.0-1
likewise-eventlog 6.0.0-1
likewise-krb5 6.0.0-1
likewise-libxml2 6.0.0-1
likewise-lsass 6.0.0-1
likewise-lwconfig 6.0.0-1
likewise-lwio 6.0.0-1
likewise-lwnetapi 6.0.0-1
likewise-lwreg 6.0.0-1
likewise-lwtools 6.0.0-1
likewise-lwupgrade 6.0.0-1
likewise-mod-auth-kerb 6.0.0-1
likewise-netlogon 6.0.0-1
likewise-openldap 6.0.0-1
likewise-passwd 6.0.0-1
likewise-pstore 6.0.0-1
likewise-reskit 6.0.0-1
likewise-rpc 6.0.0-1
likewise-sqlite 6.0.0-1
likewise-srvsvc 6.0.0-1

Joined successfully to our Windows 2008 Domain.[/code]

I followed the Linux trouble guide (http://www.likewise.com/resources/documentation_library/manuals/open/likewise-open-guide.html#SolveLogonProblems)
--> [b]Every of those steps works fine[/b] but then [b]I stumble at[/b]: "Switch User to Check PAM"

When I su with my user I get always an error:

[code]
$> su w2010.domain.corp\\jogarem
Password:
su: Authentication error
[/code]

I have read that sometimes there are problems with the locale so I have tried it this way, too:

[code]$> LC_ALL=de_DE.utf8 su w2010.domain.corp\\jogarem [/code]
and also:
[code]$> LC_ALL=de_DE.utf8 LANGUAGE=de_DE.utf8 LANG=de_DE.utf8 su w2010.domain.corp\\jogarem [/code]

Then I have tested another user:

[code]
$> su w2010.domain.corp\\jogi.test
$ <--- that means I'm logged in!
[/code]

It works. But only when I use the test user. I believe that this could be a problem caused by my password. We use very secure passwords in our company and that means my password contains special characters like [code]"§$%&/()=?!-_:,äöü[]{}^°'`´'#*+~\. and so on[/code]
I believe that this is the reason why it works with my test user (contains only one special character: "!" without the " chars) and not with my normal user account (contains the most of the above mentioned special characters - especially "§()/$ some of them twice!)

/var/log/syslog:
[code]
lsassd[2717]: 0x7f7f30499700:Failed to authenticate user (name = 'w2010.domain.corp\jogarem') -> error = 40067, symbol = LW_ERROR_STRING_CONV_FAILED, client pid = 21283
[/code]

/var/log/auth.log:
[code]su[21576]: [module:pam_lsass]pam_sm_authenticate error [login:ww2010.domain.corp\jogarem][error code:40067]
 su[21576]: pam_authenticate: Authentication failure
 su[21576]: FAILED su for w2010.domain.corp\jogarem by jogi
 su[21576]: - /dev/pts/2 jogi:w2010.domain.corp\jogarem
[/code]

I have tested also with likewise-open5 but it is the same there..

I'm happy for every feedback :)

Jogarem (jogi)
description: updated
Revision history for this message
Gábor Szécsi (deje07) wrote :

I think I encountered the same issue previously. Any user that contained non US-ASCII characters in the Full Name in AD (not even the login name!) could not log in, while others could do.
The problem is that the likewise-ubuntu intergration does not pass the current locale setting to the likewise init scripts.

See https://bugs.launchpad.net/ubuntu/+source/likewise-open/+bug/598034

Actually my fix was a bit different, I just added:

LANG=hu_HU.UTF-8
export LANG

to the beginning of /usr/lib/likewise-open/init-base.sh and it solved the issue, but you could try the other solutions as mentioned in the another bug.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.