[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Possible issue with password character?

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2005-10-20 20:06:50 CEST

Stenqvist, Johan wrote:

> There seems to be a problem with a character, A4 in ISO-8859-1 (¤), which I
> use in my windows password when I try to connect to our subversion server.
> We're running subversion under Apache httpd with SSPI for user
> authentication
> on a Windows 2003 Server. The client is using TortoiseSVN on Windows XP SP2.

Is the apache server on the same machine as your domain server?

> Everything works just fine when another username/password is used (without
> that particular character).
> Excerpt from the Apache error log:
> (OS 1326)Logon failure: unknown user name or bad password.
> : user mydomain\\myuserid: authentication failure for "/myrepo/trunk"
> I'll change my password as a workaround, but if there's something else I
> should
> try - please tell me.

I can only guess here, but maybe that will help too ;)

Since this a special char in your password, you might run into problems
with different codepages on your local machine, the machine apache runs
and your domain controller. If those three don't have *exactly* the same
codepages as their default, such chars just won't work. You see, the
sspi module isn't UNICODE but uses the default codepage, so even if you
can use your password when you login to your domain (which is converted
to UTF16 before passed to the server), it might fail for other apps
which just pass the auth data in the default codepage to the server.


   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Thu Oct 20 19:12:20 2005

This is an archived mail posted to the TortoiseSVN Users mailing list.