Context
A Third party tool can be used to create an ldap user on the ldap server.Method
The following steps should get you going:a) Write info to an .ldif file:
cat aerospike.ldif dn: uid=aerospike,ou=People,dc=field,dc=aerospike,dc=com objectClass: top objectClass: account objectClass: posixAccount objectClass: shadowAccount cn: aerospike uid: aerospike uidNumber: 1001 gidNumber: 1001 homeDirectory: /home/aerospike loginShell: /bin/bash gecos: aerospike userPassword: aerospike shadowLastChange: 0 shadowMax: 0 shadowWarning: 0
b) Use ldapadd command to create the user:
# ldapadd -x -w admin -D "cn=admin,dc=field,dc=aerospike,dc=com" -f /tmp/aerospike.ldif adding new entry "uid=aerospike,ou=People,dc=field,dc=aerospike,dc=com"