Feature #1660: Migrate NethService to NethServer
Directory: wait for slapd and nslcd complete restart
slapd causes a temporary failure of passwd and group databases lookups. While
nslcd daemon tries to reconnect the ldap server user and group names are not resolved.
We must ensure the ldap searches are working correctly before returning from the
adjust-services action, otherwise the subsequent actions may fail whenever they try to access user or group databases.
certificate-updateevent is raised by nethserver-base, which restarts
nethserver-samba-migrate-samaction is started which does ldap and passwd queries but
nslcdis still disconnected from ldap.
This enhancement must ensure all services are working correctly after
slapd restarts and before giving back control to another action or event.
certificate-update event: use nethserver-directory-restart action to restart slapd properly. Refs #1722