On Aug 25, 2014, at 11:34 PM, Tian Zhiying <tianzy1225(a)thundersoft.com> wrote:
How can I add ldap user from linux shell command line?
And how can I batch add ldap user from linux shell command line?
from man slapadd:
Slapadd is used to add entries specified in LDAP Directory
Interchange Format (LDIF) to a slapd(8) database. It opens the given database
determined by the database number or suffix and adds entries corresponding to the
provided LDIF to the database. The LDIF input is read from standard input or the
So make an LDIF file for your new user and inject with slapadd.