Undecode local values from univention-adsearch and univention-ldapsearch

When executing searches with “univention-adsearch” and “univention-ldapsearch” if the field has nonEnglish characters we see it encoded. How to get it decoded?
Examples:
distinguishedName:: Q049QW50b25pbyBQw6lyZXogRWdlYSxPVT1TVEVMTEFOVElTX0NBUlRB=
displayName:: QW50b25pyyBQw65yZXygRWdlrQ==

Example not encoded will be:

displayName: Mario García Sánchez

Best regards,

Hey,

these values are base64 encoded, you can pipe them through ldapsearch-decode64 for this like univention-ldapsearch <filter> | ldapsearch-decode64.

Regards
Jan-Luca

Mastodon