Description of problem: When user from IPA server tries to authenticate using keytab file from kerberos, AAA fails to initialize the JAAS login context for GSSAPI authentication. Version-Release number of selected component (if applicable): ovirt-engine-extension-aaa-ldap-1.2.1-1.el7ev.noarch eap7-wildfly-7.0.1-4.GA_redhat_2.1.ep7.el7.noarch.rpm rhevm-4.0.2-0.1.rc.el7ev.noarch How reproducible: 100% Steps to Reproduce: 1. Get keytab file from kdc and copy to engine: $ ipa-getkeytab -s ipa.redhat.com -p admin -k /tmp/admin.keytab $ scp /tmp/vdcadmin.keytab root@host:/tmp/vdcadmin.keytab $ chmod +r /tmp/vdcadmin.keytab 2. Configure engine to use gssapi + keytab file 3. Restart engine Actual results: An error occurred while attempting to initialize the JAAS login context for GSSAPI authentication Expected results: AAA is able to initialize the LDAP framework Additional info (workaround): We should include the module option "principal": <module-option name="principal" value="admin"/> to the security domain oVirtKerbAAA under /usr/share/ovirt-engine/services/ovirt-engine/ovirt-engine.xml.in
We were not able to reproduce the issue, JAAS login always worked fine even without specifying principal name. Feel free to reopen, if you will be able to reproduce the issue.
Verified with: ovirt-engine-extension-aaa-ldap-1.3.1-1.el7ev.noarch rhevm-4.1.1.6-0.1.el7.noarch