Attached is the first attempt at allowing user ID's with extended characters as a
valid login ID. There are still problems with allowing extended characters in
passwords because of the encryption methods used when assigning a user password in the
directory. So far this appears to work when logging into Novell's eDirectory from a
Windows machine but I need to know if it will work one other platforms and with other
LDAP libraries.
This patch adds a new directive "AuthLDAPConvertFromLanguage" to mod_auth_ldap
that allows the admin to either define a specific language when converting the user ID
to UTF8 of try to derive the language from the header. It allows the admin to specify
"use-header" which will attempt to determine which language to convert from, by
parsing the accept-language header from the request. Once the user ID has been
converted to UTF8, authentication is performed against the LDAP directory using the
raw password as it was recieved in the request. I have considered allowing the admin
to specify the "to" language since the UTF8 language ID is iconv() implementation
dependant and may not be the same on all platforms.Brad Brad Nicholes Senior Software Engineer Novell, Inc., the leading provider of Net business solutions http://www.novell.com
mod_auth_ldap.c.patch
Description: Binary data
