You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Marc Patermann <ha...@ofd-sth.niedersachsen.de> on 2009/02/13 14:56:02 UTC

[users@httpd] mod_authnz_ldap and UTF-8

Hi,

I configured apache httpd 2.2.8 (from ubuntu 8.04 LTS*) with 
mod_authnz_ldap against an OpenLDAP server.

# .htaccess
AuthBasicProvider ldap
AuthType Basic
AuthzLDAPAuthoritative off
Authname "test"
AuthLDAPURL ldap://hostname/
Require ldap-user foo

For users without umlauts this is working just fine.
With users with umlauts in the provided username it is not.

OpenLDAP just logs "undefinded" to the search.
The apache errorlog shows "... user hans h\xfcfer not found ..."

So I think it is an UTF-8 problem, because LDAP needs unicode input.

I tried with Firefox and IE.

I found "AuthLDAPCharsetConfig charset.conv" in the docs and tried it.
Everytime I put it in httpd.conf I get a "Segmantation Fault" on restart. :(
apache2ctl configtest shows no error. Even if charset.conv just contains 
one line with only a "#", httpd does not come up.

How do I get authentication with umlauts to work?
Is AuthLDAPCharsetConfig the way to go?
Why does it seg fault then, what do I have to put in charset.conv?



Marc


* I have to do the same thing on SLES10 later ...

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org