You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2010/07/07 21:28:00 UTC
DO NOT REPLY [Bug 49568] New: Apache mod_authnz_ldap built with the
MS LDAPSDK does not handle multi-byte DNs
https://issues.apache.org/bugzilla/show_bug.cgi?id=49568
Summary: Apache mod_authnz_ldap built with the MS LDAPSDK does
not handle multi-byte DNs
Product: Apache httpd-2
Version: 2.2.15
Platform: PC
OS/Version: Windows Server 2003
Status: NEW
Severity: major
Priority: P2
Component: mod_authz_ldap
AssignedTo: bugs@httpd.apache.org
ReportedBy: dopey@moonteeth.com
Created an attachment (id=25729)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25729)
ldif file containing user that doesn't work. Password for the user is the
string: two
If a user's DN contains a multi-byte character, auth_ldap will not authenticate
the user because the multi-byte characters returned by the searchRequest will
be converted to ?'s when attempting to bind.
For example a user with the following dn:
cn=t[UTF-8: 0xE6 0x88 0x91], ou=people
UTF-8: 0xE6 0x88 0x91 is the utf-8 character for the chinese word for me.
Will not work because the bind request will be for
cn=t?,ou=people
See this mailing list thread with a discussion on this:
http://marc.info/?l=apache-httpd-dev&m=121623942300453&w=2
Attached is an ldif file containing the dn I used.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 49568] Apache mod_authnz_ldap built with the MS
LDAPSDK does not handle multi-byte DNs
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49568
--- Comment #1 from Andy Wang <do...@moonteeth.com> 2010-07-09 16:33:20 EDT ---
I was able to get this to work by setting the system locale on the windows
server to one that has a codepage mapping for the multi-byte character.
I still don't understand exactly how Windows handles UTF-8 codepage enough to
explain why this works, but it does appear that if multiple languages are
necessary in LDAP DNs that are not all represented within a Windows language,
then this method of setting the system locale will probably not work.
>From William Rowe on the apache-dev mailing list:
I'd presume there are ldap_funcW() equivalents which accept unicode (trivial
conversion from utf8) which could be leveraged on win32, but there is noone
right now who is really focused on improving the msldap32 compatibility.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org