To add something to the LDAP directory, you need to first create a LDIF file. The ldif file should contain definitions for all attributes that are required for the entries that you want to create. With this ldif file, you can use ldapadd command to import the entries into the directory as explained in this [...]