- Break down setup process into methods. - Make sure that LDAP entity setup is idempotent. - Peform all entry updates while slapd is running instead of using slapadd. - Start slapd only when necessary. Shutdown (only) if we have started slapd.