LDAPMANAGER
Description
Manage an internal LDAP base.
Command
ldapmanager ldapmanager -m export -f <LDIF output file path>ldapmanager -m import -f <LDIF input file path>ldapmanager -m adduser -u <uid> -n <name> [-g <gname>] ldapmanager -m remuser -u <uid>ldapmanager -m listuser ldapmanager -m raz Remark :default action is equivalent to "objecttest -d all" ldapmanager -m export : Export the LOCAL LDAP base to LDIF file ldapmanager -m import : Import a LDIF file to the LOCAL LDAP ldapmanager -m adduser : Add an user to the LOCAL LDAP ldapmanager -m remuser : Remove an user from the LOCAL LDAP ldapmanager -m listuser : List the user(s) in the LOCAL LDAP ldapmanager -m raz : Remove ALL UER(S) from the LOCAL LDAP
Results
Example
ldapmanager -m export -f ~/Configfiles/data/base.ldif ldapmanager -m import -f ~/Configfiles/data/base.ldif ldapmanager -m adduser -u user_uid -n user_name -g user_gname ldapmanager -m remuser -u user_uid ldapmanager -m listuser ldapmanager -m raz