Forum Discussion
umiotoko_95283
Jun 05, 2012Nimbostratus
Custom variable from LDAP
I have a VIP with APM using LDAP (Windows 2008 AD) for authentication, this much works fine. I need to grab some AD fields through the LDAP call and provide it to the application.
My thought was to use the custom variable feature in APM, create a customVariable.ldap."field-name" variable, then through an iRule, create a HTTP header "X-Application-"Field-name" and pass it on to the application.
My APM rule has a logon page, LDAP Auth, assign variable, then Allow.
I tried using Variable Assign (both secure, unsecure)
where customVariable.ldap.department = AAA atribute, agent LDAP, use KDAP attribute "department" .
This doesn't appear to work, if I check the user session report I see the custom variable, but it's always blank.
I'm not sure this is the best way to get at the data, so any suggestions would be appreciated.
- umiotoko_95283Nimbostratusbump... anyone ?
- umiotoko_95283NimbostratusOK, figured it out. APM log rule was LogonPage-->LDAPAuth-->Allow.
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects