Switched ldap configuration over to templates