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

Re: why is userPassword transferred binary?



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