httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Staffan Bergh <>
Subject [users@httpd] passwords with strange characters doesn't work?
Date Thu, 03 Sep 2009 11:51:26 GMT
Hi, I'm having a problem with authentication against our apache server.

   apache 2.2.13 on windows XP sp3

in httpd.conf

<Location /test>
   AuthName "Test"
   AuthType Basic
   AuthUserFile C:/test/passwd
   Require valid-user

In the passwd file, constructed with the apache htpasswd program on the
command line, is a user 'test'. With password 'testtestö' (note the last
character, it's a swedish o-with-umlaut) I get repeated queries for the

and in the error log

   [Thu Sep 03 10:28:16 2009] [error] [client] user test:
authentication failure for "/test": Password Mismatch

Other clues for the detectives:

* it works if I change the password to 'testtest'

* if I shift the authentication over to LDAP a password with an 'ö' in
it works ... for the basic case above.

However, all this was part of an effort to move our SVN server over to
authenticating against LDAP, and that doesn't work, even though the simple
case does. In the case of the svn repository I get the error message

   [Thu Sep 03 13:42:15 2009] [warn] [client] [4364] auth_ldap
authenticate: user xxx authentication failed; URI /test [ldap_simple_bind_s()
to check user credentials failed][Invalid Credentials]
   [Thu Sep 03 13:42:15 2009] [error] [client] user xxx:
authentication failure for "/test": Password Mismatch

Is this a known bug, or am I doing something wrong?

Cheers /staffan

Staffan Bergh
System developer, KI Biobank, Karolinska Institutet
e: / p: +46 8 524 87152

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message