> LDIF is defined by RFC. Read the RFC and get the rules for generating
therefore I've to conclude that there is no open source library enabling
to write a program which creates and serializes well-formed LDIF data to
be used as active entries.
Writing to LDIF files are easy, just a base64 encoder needed. Parsing is
complicated a bit.
Just an example in KDE's ldif class (it's not pure C++, but Qt):
Just see the LDIF::assembleLine function.