install: more improvements on idempotent LDAP installation