cowlike/clj-ldap — comment on commit 027337ec7633f6df37af1fc6f40eaaec8f45d057
File:  line 0
By cowlike:

Hi Paul,

Actually, the more I think about it, the more I'm convinced that this isn't the right place to make such a change. The problem is by the time you get the data back in a map as string values, you've already lost the extra information from the attribute -- e.g. is it binary data that needs base-64 encoding for text representation? Maybe what is really needed here is a map associated with the value part, or just the raw ASN.1 format. Things get quite a bit more complicated but I think always turning everything to strings is oversimplifying the data. I need to look at this more. For my one specific use case, it works ok to just b64 encode it like this but it's not a good general solution.