Users can be added or deleted via command line by use of a LDIF description and modify file.


 

A LDIF description file can be created by following the steps here:

LDIF DESC


Using the command line the following command allow a user specified in the LDIF file to be added to the LDAP dir:

ldapadd [options] [-f LDIF-filename]

 

Example:

ldapadd -h myhost -P pass -p 389 -D “cn=admin” -f newuser.ldif


 

 

Was this article helpful to you?

BJ Waples

Comments are closed.