(RADIATOR) Question about spliting the NAS-IP-ADDRESS for SQL use

Troy Holder troy at ncstate.net
Thu Aug 21 15:49:07 CDT 2003


We have a DB table with all of our network equipment in it and plan to
use that to determine what Authby to use for different types of
equipment ( got to love how Cisco wants different reply values to allow
a user into enable mode). I plan to have a Handler call an AuthBy SQL to
do a query for the Auth-Type the device needs use and then run that
AuthBy clause. The problem that I am running into is that we have the
equipment's IP address broken up into the octets. I know that I can use
%N in the SQL in the config, but how can I get %IP1.%IP2.%IP3.%IP4 (as
in %N = %IP1.%IP2.%IP3.%IP4) instead?

-- 
-----------------------------------
| Troy Holder    troy at ncstate.net |
|     Senior Network Engineer     |
|   Communication Technologies    |
| North Carolina State University |
-----------------------------------
	
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list