cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
115
Views
0
Helpful
0
Replies
Highlighted

LUA script to extract fields from DN

Hello Cisco community,

 

We are trying with no luck to extract a text from a certificate so we can pass it to ISE as a Radius Username.

We simply cant use custom LUA funtions in ASA.

!

myleft, myright= string.find(completestring, "something([^,]*),")
returningvalue = string.sub(completestring, myleft, myright)
return returningvalue

!

our Problem is Sting.find is not returning anything.and we want to know if the Syntax is correct or if there is another Syntax 

for find functionASA, AnyConnect, VPN, Remote Access,