install SAM with LDAP from  URL if provided