docker-openldap icon indicating copy to clipboard operation
docker-openldap copied to clipboard

Automate address book entries - clear, modify or bootstrap?

Open plittlefield opened this issue 4 years ago • 0 comments

What would be the preferred way of clearing the database and importing about 3000 entries for an address book?

I can use PHP LDAP Admin to delete all entries and then import the .ldif file I have created but this involves manually working on it.

Is there a way to automate this with either slapmodify or slapadd or bootstrap an ldif file?

Is there a way to exec commands to the running Docker LDAP server to do this?

Thanks in advance for your help.

plittlefield avatar Nov 29 '21 16:11 plittlefield