-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
proxy
provider does not support session
target
#7662
Comments
Here are some additional logs that seem to indicate that
These logs seem to come from here: sssd/src/providers/data_provider/dp_target_auth.c Lines 69 to 80 in ed666e9
...and further down, it looks like sssd/src/providers/data_provider/dp_target_auth.c Lines 87 to 92 in ed666e9
|
Upon closer inspection, Based on this understanding, I believe this is a feature request to:
|
proxy_pam_target
does not support session
modulesproxy
provider does not support session
target
Hi.
Mind sharing a specific example? Take a note that out of the box with sssd-2.10+ 'sssd_be' and 'proxy_child' run completely unprivileged. |
Hey @alexey-tikhonov,
I don't know that a specific example of the PAM proxy not executing a |
Still I'm interested in the real use case. |
Ah, I see. Our use-case is to integrate a vendor (Smallstep) who provides PAM modules for authenticating with their service. We are currently using SSSD + LDAP, and wanted to continue to use SSSD when we switched to using their PAM backend instead of LDAP. A part of their PAM setup is a |
When using the following
sssd.conf
snippet:...and the following PAM service configuration at
/etc/pam.d/foo
:...we notice that sssd's PAM proxy does not appear to execute the specified
session
module.This may be because
proxy_auth
seems to ignoreSSS_PAM_OPEN_SESSION
andSSS_PAM_CLOSE_SESSION
:sssd/src/providers/proxy/proxy_auth.c
Lines 775 to 779 in ed666e9
Interestingly
proxy_child
does seem to support both, however:sssd/src/providers/proxy/proxy_child.c
Lines 248 to 253 in ed666e9
I'm not sure if this is a feature request or a bug, since sssd's own code references
session
modules inproxy_pam_target
tests:sssd/src/tests/multihost/alltests/sssdproxyldap
Line 4 in ed666e9
In either case, it'd be nice if
session
modules worked with theproxy_pam_target
.The text was updated successfully, but these errors were encountered: