(RADIATOR) Problems with GlobalVars in client handler

Chris Myers c.myers at its.uq.edu.au
Tue Jul 8 21:42:50 CDT 2003


Hi Hugh,

Radiator doesn't seem to like
	<Client %{GlobalVar:name}>
though seems to work fine in other places.

Could this be fixed?

Here is a sample config and logs

---test.cfg---
LogDir          /usr/local/radiator/logs
DbDir           /usr/local/radiator/

Trace   6
LogFile %L/%{GlobalVar:ServerLog}

<Client %{GlobalVar:RemoteClient}>
         Secret XXXXX
         Identifier dialin
#        DupInterval 10
</Client>

<Handler Client-Identifier=dialin>
         <AuthBy RADIUS>
             Retries 1
             RetryTimeout 4
             FailureBackoffTime 10
             <Host %{GlobalVar:LocalServer}>
                 Secret XXXXX
                 AuthPort 1651
                 AcctPort 1652
             </Host>
         </AuthBy>
</Handler>
----

bash# radiusd -pid_file /tmp/test_radius.pid -config_file conf/test.cfg 
RemoteClient=60.60.60.60 LocalServer=10.10.10.10 ServerLog=test.log

---Logfile--
Wed Jul  9 12:34:00 2003: ERR: Could not resolve an address for Client 
%{GlobalVar:RemoteClient}
Wed Jul  9 12:34:00 2003: DEBUG: Finished reading configuration file 
'conf/test.cfg'
Wed Jul  9 12:34:00 2003: DEBUG: Reading dictionary file 
'/usr/local/radiator//dictionary'
Wed Jul  9 12:34:00 2003: DEBUG: Creating authentication port 0.0.0.0:1645
Wed Jul  9 12:34:00 2003: DEBUG: Creating accounting port 0.0.0.0:1646
Wed Jul  9 12:34:00 2003: NOTICE: Server started: Radiator 3.6 on XXX
----

Cheers,
Chris


-- 
+            Chris Myers ~ c.myers at its.uq.edu.au
. Information Technology Services - Software Infrastructure
. Ph: +61 7 3365 4017 - Mobile: 0413-009-482 - Room: 42-412
. The Prentice Building - The University of Queensland 4072
. http://www.uq.edu.au/~uqcmyers - http://www.its.uq.edu.au
+                  http://www.mpc.org.au/

===
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