i just install LDAP server on my server and its working fine. now i would like to create 20 users with different names so is there any script to create users in bulk on LDAP server.
OS: ubuntu 20.04 server
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
On the page that describes the OpenLDAP server, there are a couple of examples of how to add groups and users.
Keep in mind that:
The aforementioned page (under "Modifying and populating your database") gives examples of all these. The basic steps are:
ldapaddcommand to process this text file.