fusiondirectory ldap library
fusiondirectory-cli library
Example code of how to create an account with webservice and a simple html page