Update the provision scripts and selftest for LDAP