[Bug 66174] Pound sign £ in passwords does not work with LDAP realm

2022-08-22 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66174

Mark Thomas  changed:

   What|Removed |Added

 Resolution|--- |INVALID
 Status|NEEDINFO|RESOLVED

--- Comment #4 from Mark Thomas  ---
Tested with Windows Server 2019 based domain. BASIC auth works for user with
password that includes '£'.

The users mailing list is the place to seek further help if required.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 66174] Pound sign £ in passwords does not work with LDAP realm

2022-07-25 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66174

--- Comment #3 from Christopher Schultz  ---
(In reply to Konstantin Kolinko from comment #2)
>charset="UTF-8" />
> 
> [...]
> 
> I wonder whether better documentation may be needed somewhere.

I think this should be added to the FAQ "How do I just use UTF-8 everywhere"
because I'm sure it's not in there, and it's an important edge-case.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 66174] Pound sign £ in passwords does not work with LDAP realm

2022-07-21 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66174

Konstantin Kolinko  changed:

   What|Removed |Added

 Status|NEW |NEEDINFO

--- Comment #2 from Konstantin Kolinko  ---
You need to provide configuration and steps to reproduce this issue, and exact
version number of Tomcat where this issue is observed.

Overall, this sounds like either a configuration issue, and configuration
issues are to be discussed on the Tomcat Users' mailing list, not here.



Note that the BASIC authentication is limited to ISO-8859-1 charset by default.

Testing with Apache Tomcat 9.0.65, I can successfully log in into the manager
web application using the pound character as a password, if I reconfigure the
BasicAuthenticator in that web application to use UTF-8.

It can be done by inserting the following line

  

into the webapps/manager/META-INF/context.xml file.

For reference, see
https://tomcat.apache.org/tomcat-9.0-doc/config/valve.html#Basic_Authenticator_Valve

I wonder whether better documentation may be needed somewhere.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 66174] Pound sign £ in passwords does not work with LDAP realm

2022-07-21 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66174

--- Comment #1 from Christopher Schultz  ---
Can you confirm that you can successfully authenticate with OpenLDAP using some
other utility e.g. ldapsearch? I'm wondering if this is a Tomcat issue or an
OpenLDAP issue.

If you enable logging (hmm not sure if we log the password at TRACE level), can
you confirm that Tomcat has the password without being garbled by the
browser/web server/request encoding in some way?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 66174] Pound sign £ in passwords does not work with LDAP realm

2022-07-21 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66174

Mark Klinchin  changed:

   What|Removed |Added

 CC||mklinc...@yahoo.com

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 66174] Pound sign £ in passwords does not work with LDAP realm

2022-07-21 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66174

Mark Klinchin  changed:

   What|Removed |Added

Summary|Pound sign £ in passwords   |Pound sign £ in passwords
   |do not work with LDAP realm |does not work with LDAP
   ||realm

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org