Topic "Charset issue with username during login."

Author Message
PerGoetterup
[View user's profile]

Joined: 2015-06-15
Posts: 4
Location: Copenhagen, Denmark
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.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
This issue is being tracked already:
https://winscp.net/tracker/show_bug.cgi?id=1014

I have sent you an email with a development version of WinSCP to address you have used to register on this forum.
_________________
Martin Prikryl
PerGoetterup
[View user's profile]

Joined: 2015-06-15
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.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
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.
PerGoetterup
[View user's profile]

Joined: 2015-06-15
Posts: 4
Location: Copenhagen, Denmark
Here's the log you requested.
username.log (5.72 KB) Private file

Description: (none)

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
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.
PerGoetterup
[View user's profile]

Joined: 2015-06-15
Posts: 4
Location: Copenhagen, Denmark
prikryl 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! Smile Smile Smile
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
PerGoetterup wrote:
Finally back from vacation so I'm able to test... and it works perfectly! Smile Smile Smile

Thanks for your feedback!
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License