add an option to ldapsearch for not encoding values to base64 (like ldif-wrap=no for not wrapping the lines)
Two options for this need:
- do this directly to ldapsearch source code (contribution to openldap)
- create a wrapper in slapd-cli project that embed ldapsearch and decode values.
We have to think about the implications about binary values: do we have a way to detect them and still encode them even if the option is passed?