On 04. nov. 2015 13:41, Friedrich Locke wrote:
I wonder if there is a documentation showing how data is encoded with asn.1
Look up "A Layman's Guide to a Subset of ASN.1, BER, and DER"
for an intro to those. It's a bit sloppy, but OK for LDAP.
The ASN.1 grammar or LDAPv3 is mostly in RFC 4511.
OpenLDAP's liblber (lber.h) takes care of encoding/decoding.
See man -k lber, and man ber_printf and ber_scanf, among others.