Hi @petr mares,
To troubleshoot Kerberos plugin issues, enable S-TAP and Kerberos plugin debug as shown below followed by an S-TAP process restart, then analyze /tmp/guard_stap.stderr.txt file content.
- tap_debug_output_level=4 in guard_tap.ini file
- KRB5_PLUGIN_DEBUG=1 in guardkerbplugin.conf file
Database user name issues are common with kerberose and Oracle, the plugin is supposed to resolve that if configured properly. It sounds like you enabled the plug in. Review the configuration as such:
1. Run the following commands to find Kerberos settings in the Oracle environment:
grep -i KERB $ORACLE_HOME/network/admin/sqlnet.ora
output is similar to:
SQLNET.AUTHENTICATION_SERVICES = (BEQ,KERBEROS5PRE,KERBEROS5)
SQLNET.KERBEROS5_CONF = /etc/krb5.conf # kerberization
SQLNET.KERBEROS5_KEYTAB = /var/servicekeytab/oracleiaase00009848
SQLNET.FALLBACK_AUTHENTICATION = TRUE
SQLNET.KERBEROS5_CONF_MIT = TRUE
SQLNET.AUTHENTICATION_KERBEROS5_SERVICE = oracle
oklist|grep -i cache
output is similar to: /tmp/krb5cc_500
2. Set specific parameters in guardkerbplugin.conf file based on the output in step 1 as follows:
# Kerberos values
KRB5RCACHETYPE=none
KRB5_KTNAME= /var/servicekeytab/oracleiaase00009848
KRB5_CONFIG=/etc/krb5.conf
#Plugin values
KRB5_PLUGIN_CCACHE=/tmp/krb5cc_* :/var/tmp/*.CC
#KRB5_PLUGIN_GSSAPI_LIBRARY=/usr/lib64/libgssapi_krb5.so.2.2
#KRB5_PLUGIN_DEBUG=0
KRB5_PLUGIN_DISABLE_GSSAPI=1
------------------------------
Wendy Zemba
Sr. Consultant, Data Protection
Converge Technology Solutions
wendy.zemba@convergetp.comNeed help with your Guardium deployment? Contact me directly to discuss engagement opportunities. Currently serving North America.
------------------------------