Forum Discussion
LDAP Query to retrieve results of another account
I have a customer who has multiple test accounts for an application where the BIG-IP is the IdP and the application is the SP. Rather than giving these account credentials out to staff, they have asked if there was a way to impersonate a user after authenticating as yourself.
For example:
- NTLM authenticate as currently logging in user.
- Check that user is in group "Allow Impersonate"
- Show logon page allowing user to provide a username to impersonate - no password required
- Pass this username through to the SAML assertion to be sent back to the SP
So far I have implemented this but it doesn't appear to work correctly - the SP keeps redirecting back to the IdP for authentication and I think it's because I am no doing the LDAP query for the impersonated user. Note that this SAML functionality works just fine when not trying to impersonate a user. The only difference with this new functionality is that I have not included the LDAP Query because it doesn't seem to be possible to run an LDAP Query on behalf of another user.
I feel like I may be trying to implement something that's not possible. If anyone has experience with something similar, I'd appreciate hearing about it.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
