Charset issue with username during login.

Advertisement

PerGoetterup
Joined:
Posts:
4
Location:
Copenhagen, Denmark

Charset issue with username during login.

I am unable to log in using SFTP to a site using a username with certain 8-bit characters. I try to login using the username "Per Gøtterup" and I get this error:

<error type="Exception" message="Account lookup failed: [Nt4] First LookupAccountName() for 'Per G�tterup' failed with the following error: Windows error 1332: Der blev ikke udført nogen afbildning mellem kontonavne og sikkerheds-id."/>

I can login just fine using PuTTY, Pscp.exe and FileZilla on Windows, as well as command line sftp on Linux.

From the log it looks like a charset issue.

Reply with quote

Advertisement

PerGoetterup
Joined:
Posts:
4
Location:
Copenhagen, Denmark

Thanks! - But I'm afraid it doesn't fix the issue. This is the log for my attempt:

<authentication attemptNr="2" userName="Per G�tterup" method="password"/>
<parameters failureReason="WindowsAccountLookupError"/>
<error type="Exception" message="Account lookup failed: [Nt4] First LookupAccountName() for 'Per G�tterup' failed with the following error: Windows error 1332: Der blev ikke udført nogen afbildning mellem kontonavne og sikkerheds-id."/>

Looks exactly like before.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Please attach a full log file showing the problem (using the latest version of WinSCP).

To generate log file, use /log=path_to_log_file command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

You are right, it does not work for usernames specified on Login dialog.
I have fixed that and I'm sending you a new development build.

Reply with quote

PerGoetterup
Joined:
Posts:
4
Location:
Copenhagen, Denmark

martin wrote:

You are right, it does not work for usernames specified on Login dialog.
I have fixed that and I'm sending you a new development build.
Finally back from vacation so I'm able to test... and it works perfectly! :) :) :)

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

PerGoetterup wrote:

Finally back from vacation so I'm able to test... and it works perfectly! :) :) :)
Thanks for your feedback!

Reply with quote

Advertisement

You can post new topics in this forum