mod_authnz_ldap and UTF-8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux