Re: auth_ldap error message not showed correct
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
>----- Original Message -----
>From: "Jeff Trawick"
<trawick@xxxxxxxxx>
>To:
<users@xxxxxxxxxxxxxxxx>
>Sent:
Wednesday, March 17, 2010 7:20 PM
>Subject: Re: [users@httpd] auth_ldap
error message not showed correct
>
>
>On Tue, Mar 16, 2010 at
10:43 PM, pantao <pant@xxxxxxx>
wrote:
>> Hi,all
>>
>> I use apache2.2.6 and SVN1.4.5
on Chinese version of WINDOWS XP platform and
,and
>> try to use
ldap_module and authnz_ldap_module as authentication method . But
I found
that the
>> error log of auth_ldap module in error_log file is shown
with hex format. I t
ry translate it as
>> UTF-8 code, and it seems
(not very sure) that the error message is not utf-8.
>>
>>
[Thu Oct 15 15:11:50 2009] [warn] [client 127.0.0.1] [9424] auth_ldap
authent
icate: user pant authentication failed; URI /bill/test/test/
[ldap_search_ext_s(
) for user
failed][\xb2\xd9\xd7\xf7\xb4\xed\xce\xf3]
>> [Thu Oct 15 15:12:38 2009]
[warn] [client 127.0.0.1] [9424] auth_ldap authent
icate: user pant
authentication failed; URI /bill/test/ [ldap_search_ext_s() for
user
failed][\xb2\xd9\xd7\xf7\xb4\xed\xce\xf3]
>>
>> I would like
to know how can I let the ldap module out the Chinese or English
error
message so
>> I can understand it. And I wouldalso like to know how the
ldap module output
different error
>> message for different
language,many thanks.
>
>The core error log code is formatting the
bytes in hex format. To
>disable that, in case that causes the data
to be formatted properly,
>define AP_UNSAFE_ERROR_LOG_UNESCAPED and
rebuild Apache httpd.
>There's no run-time configuration of this
behavior.
Thanks, Jeff.
But I can found some error message like mine with
engligh output on the web :
[Sat Mar 01 17:05:38 2008] [warn] [client 192.168.5.133] [25788] auth_ldap
authenticate: user john authentication failed; URI /module [LDAP:
ldap_simple_bind_s() failed][Invalid credentials]
[Fri Dec 12 17:17:14 2008] [warn] [client XXX.XXX.XXX.XXX] [17128]
auth_ldap authenticate: user XXX authentication failed; URI /svn/project [LDAP:
ldap_simple_bind_s() failed][Can't contact LDAP
server]
It seems that the error message of auth_ldap can be
output as English. It's ok for
me to output the error message as
English.
regards,
PanTao
[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]