[root @ ldap01] ~ $ ipa hbactest --user gr031529 --host deepcore-bastion.uaap.maxar.com --service ssh -------------------- Access granted: True -------------------- Matched rules: allow_all Not matched rules: admins_allow_all Not matched rules: allow_systemd-user Not matched rules: cpaac-bastion Not matched rules: darc_admins_hbac Not matched rules: deepcore-bastion Not matched rules: shared-services-hbac
[root @ ldap01] ~ $ ipa hbacrule-show deepcore-bastion Rule name: deepcore-bastion Enabled: True User Groups: deepcore, amod-bastion Hosts: deepcore-bastion.uaap.maxar.com HBAC Services: sshd
Even after adding the service to the rule, and testing against the correct host, it doesn't match the rule.