Uninstall the offending Samba application and add the X-Frame-Options header to the web.xml file.
- Log into the Primary node as root via SSH or console.
- Run the following command to uninstal Samba:
rpm -e --nodeps libsmbclient0-3.6.3-94.8.1
- Open the /usr/lib/loginsight/application/3rd_party/apache-tomcat-8.5.XX/webapps/ROOT/WEB-INF/web.xml file in a text editor.
- Add the following tags and values to the web.xml script:
<filter>
<filter-name>httpHeaderSecurity</filter-name>
<filter-class>org.apache.catalina.filters.HttpHeaderSecurityFilter</filter-class>
<async-supported>true</async-supported>
<init-param>
<param-name>hstsMaxAgeSeconds</param-name>
<param-value>31536000</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>httpHeaderSecurity</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
- Save and close the file.
- Restart the Log Insight service:
service loginsight restart
- Repeat steps 1-6 on all other nodes in the vRealize Log Insight cluster.