<div dir="ltr"><div><div><div><div><div><div>hi,<br><br></div>If I retrieve the usercertificate attribute for host objects I get some gibberish.<br><br></div>How can I decode the info I get from ldapsearch? The command I used was:<br><br>ldapsearch -b "cn=computers,cn=accounts,dc=sub,dc=domain,dc=tldl" -t -Y gssapi -Z -h kdc01.sub.dmain.tld usercertificate<br><br></div>which creates individual files on /tmp with the info looking like this:<br><br>�0��*�H����0<br> 0;10U<br>.........<br><br></div>Using the apache directory studio ldap browser I can see the certificate information (subject, validity, etc), so it must be possible.<br><br></div>Is it base64 encoding?<br><br></div>TIA,<br><div><div><div><div><div><div><div><br>--<br><div class="gmail_signature">regards,<br></div><div class="gmail_signature">natxo</div>
</div></div></div></div></div></div></div></div>