When defining an SSSD federation type, two prerequisites need to be met for SSSD to work in Keycloak:
PAM needs to have a keycloak service defined, that routes to pam_sss, and
SSSD's InfoPipe interface needs to permit communication from Keycloak's OS user.
The bin/federation-sssd-setup.sh script included with Keycloak will do this mostly - however, it assumes Keycloak runs as root, rather than the specified user in the module.
This should be ran (or a derivative of it) when setting up an SSSD federation type.
SUMMARY
When defining an SSSD federation type, two prerequisites need to be met for SSSD to work in Keycloak:
keycloak
service defined, that routes topam_sss
, andThe
bin/federation-sssd-setup.sh
script included with Keycloak will do this mostly - however, it assumes Keycloak runs as root, rather than the specified user in the module.This should be ran (or a derivative of it) when setting up an SSSD federation type.
ISSUE TYPE
ANSIBLE VERSION
COLLECTION VERSION