I am running LDAP server using node.js (ldapjs.org) and i want to create a new user from Android.
I created a user using the command 'ldapadd' and verified user creation was successful using the command "ldapsearch". These commands were directly run on the server.
What is the best way of creating the user from Android ? I assume i need to do a http post from Android and run another instance of node.js server (for http) which will accept the post request and run "ldapadd" on the machine's command line. Is this correct approach ?
You could use the LDAP SDK from UnboundID to run an LDAP client on Android and interact with the LDAP Directory Server directly. See also Neil's article.