Forum Discussion
F5-Geek
Nimbostratus
Jul 02, 2018UPN on big ip f5 APM policy
set extension [string tolower [mcget {session.ssl.cert.x509extension}]];
return [string range $extension [expr {[string first "othername:UPN<" $extension] +14}] [expr {[string last ">" $extensio...
Stanislas_Piro2
Cumulonimbus
Jul 02, 2018Hi,
there is a mistake in this command. try this one.
set extension [string tolower [mcget {session.ssl.cert.x509extension}]];
return [string range $extension [expr {[string first "othername:upn<" $extension] +14}] [expr {[string last ">" $extension] -1}] ];
I guess you got it from this codeshare
There was an error I just solved. the string first was searching a uppercase word (UPN) in a lowercase string
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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