[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: why is userPassword transferred binary?



thanks. this is exactly the answer I needed.

Best regards,
Jephté CLAIN

2015-06-14 2:13 GMT+04:00 Ryan Tandy <ryan@nardis.ca>:
> On Sun, Jun 14, 2015 at 01:27:28AM +0400, Jephte Clain wrote:
>>
>> What I wanted to know is whether the decision to encode in base64 is
>> done by the client or the server returning a "binary" flag or
>> something
>>
>> you said "ldapsearch, always *encode* userPassword value in base64",
>> so I guess this is the client decision to make a special case of
>> userPassword, right?
>
>
> Correct. By default only userPassword receives that treatment, but libldap
> users can add others.
>
> http://www.openldap.org/devel/gitweb.cgi?p=openldap.git;hb=refs/heads/OPENLDAP_REL_ENG_2_4;a=blob;f=libraries/libldap/ldif.c#l364



-- 
Jephté CLAIN | Développeur, Intégrateur d'applications
Service Système d'Information
Direction des Systèmes d'Information
Tél: +262 262 93 86 31 || Gsm: +262 692 29 58 24