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 ~ [EMAIL PROTECTED] . 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 [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to