ip1981/ldapply

Data corruption when sending base64 encoded LDIF values.

Opened this issue · 0 comments

When an input .ldif file contains a line

sn:: Zm9vYmFy

it is expected that this line be interpreted as base64-encoded data. However, ldapply seems to both recognize and not recognize this situation: ldapply sends : Zm9vYmFy as the verbatim string to the server. A subsequent query using ldapsearch outputs

sn:: OiBabTl2WW1GeQ==

which is clearly not what is intended.