Implemented such that the output is identical, including some quirks that should be fixed subsequently.
OpenLDAP license there, as required by the license itself.