APM VPE - AD Query support in multiple language

Hey

I’m using AD query in my Access Policy in order to have the ability to assign resources depending on OU membership .

The problem start when the user is a member of an OU that is written in Hebrew and not English in the AD, when this is the case instead of getting the OU string under the variable “session.ad.last.attr.memberOf” i get a gibberish string like this: “0x434E3D746573746865627265772C4F553DD790D790D7902C44433D6167656E74732C44433D636F72702C44433D70686F656E69782C44433D6”

It looks like an ASCII that can be decoded , my question is does someone know an iRule to do it ?

Thanks in advance

Hi,

look at this code (and comments):