Le 26/05/2014 10:02, Matthias Apitz a écrit :
> El día Monday, May 26, 2014 a las 09:18:38AM +0200, Nicolas Cauchie escribió:
>
>> Hello there
>> I use a Debian 7.4 server with ldapsearch to search data about users
>> on an Active Directory database.
>> When a result of a search contains specials characters (such as é,
>> è, à), no result is given, but if I delete special characters to the
>> user profile, it works.
>> How could I make it work with special caracters (guess it's a UTF-8
>> problem ?) ?
>> Thanks in advance
>> Nicolas
> Hi Nicolas,
>
> Are you sure that no results are returned? Can you show the output of a
> ldapsearch cmd-line tool? I saw that in the result values are encoded if
> they contain non ASCII chars.
>
> matthias
Yes, I wrote it in a previous answer.
The result is base64 encoded if "-t" switch is not used, or sent to a
temp file if this switch is used. But in both cases, I can't use the
result "as is" without another manipulation, but i'm stuck..
Thanks
signature -----