Forum Discussion

francoisbh's avatar
francoisbh
Icon for Altostratus rankAltostratus
Apr 17, 2025
Solved

F5 BigIP APM VPN some LDAP field are base64 encoded

We have F5 BigIP APM (16.1.5.2) for VPN SSL and for some user some LDAP field are base64 encoded (because of french accent).

I have try in Variable Assignement : 

session.ldap.last.attr.displayName =
set encoded [mcget {session.ldap.last.attr.displayName}]
set decoded [b64decode $encoded]
return $decoded

 

But in log
2025-04-17 19:06:54 x.x.x.x - err apmd[1069]: 01490086:3: /Common/AP:Common:77c07d2d: Rule evaluation failed with error: invalid command name "b64decode"

Is it possible to have the good syntax for this conversion ?

 

Thank you

  • https://my.f5.com/s/article/K59502258

     

    So i have done in Variable Assign : 

    session.ldap.last.attr.displayName = mcget -decode {session.ldap.last.attr.displayName}

     

    SOLVED

1 Reply

  • https://my.f5.com/s/article/K59502258

     

    So i have done in Variable Assign : 

    session.ldap.last.attr.displayName = mcget -decode {session.ldap.last.attr.displayName}

     

    SOLVED