Add LDAP to template