That's good. I wasn't sure if a C++ existed or not but I thought there would be one somewhere. I had issues with JNDI in Java and had to use Novell's Java API. I don't know what language the OP needs the API in but -lldap may be sufficient. It wasn't for me though.I note that the OpenLDAP -lldap library contains a number of routines for detailing with schema descriptions...
-- Kurt