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

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, 

 

 

0 Replies 0