Quantcast
Viewing all articles
Browse latest Browse all 166

How to add Users from LDAP Via Command line

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


 

 


Viewing all articles
Browse latest Browse all 166

Trending Articles