Cannot login when password contains special characters..
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-
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-
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://
--> [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.
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.
and also:
[code]$> LC_ALL=de_DE.utf8 LANGUAGE=de_DE.utf8 LANG=de_DE.utf8 su w2010.domain.
Then I have tested another user:
[code]
$> su w2010.domain.
$ <--- 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]"
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:
[/code]
/var/log/auth.log:
[code]su[21576]: [module:
su[21576]: pam_authenticate: Authentication failure
su[21576]: FAILED su for w2010.domain.
su[21576]: - /dev/pts/2 jogi:w2010.
[/code]
I have tested also with likewise-open5 but it is the same there..
I'm happy for every feedback :)
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.