Forum Discussion
special cahracters in ldap result
in a ldapquery result APM escapes special characters for example 0x4AC3B67267 for the givenname. in the release notes (Behavior changes in 11.6.0) i found the solution to use %{session.my.variable:noconv} to get a "normal" value.
i tested this in a SAML config where we need the value and in a iRule unsuccessful.
is there any other way to get a normal value
3 Replies
- amolari
Cirrostratus
what have you tested with your (unsuccessful) iRule? How it looks like? - he_qiang_137361Historic F5 Account
You can store the binary value, taking 0x4AC3B67267 for example, to the session variable, then just let LDAP query agent automatically escapes the characters as necessary.
For example, the following command:
binary format H* 0x4AC3B67267
Will return the binary representation of the string 0x4A 0xC3 0xB6 0x72 0x67, put it into the session variable and the LDAP query agent will escape, if needed.
- jk20004
Cirrus
the solution is a ENG HF Version where the mcget -decode will work.
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