(RADIATOR) Value of Attribute replacement

Hugh Irvine hugh at open.com.au
Fri Nov 30 16:46:49 CST 2001


Hello Dmitry -


At 19:13 +0100 01/11/30, Dmitry Kopylov wrote:
>Hi everyone,
>
>
>I've got a standard Access-Request:
>
>*** Received from 62.177.143.122 port 1645 ....
>Code:       Access-Request
>Identifier: 13
>Authentic:  0<184><145><169><164>,<132>xsz<26>O<168><129><127><237>
>Attributes:
>         NAS-IP-Address = 62.177.143.122
>         NAS-Port = 1
>         NAS-Port-Type = Virtual
>         User-Name = "uunoc at bbeyond.flatisdn.net"
>         Called-Station-Id = "97532120"
>         Calling-Station-Id = "31235652175"
>         CHAP-Password =
><6>~<174><192><10><252>;<23><202>l<20><14>fDQ<142><179>
>         Service-Type = Framed-User
>         Framed-Protocol = PPP
>
>
>I need to replase the value of the CHAP-Password attribute before Radiator
>will check the users file. If it's possible, what is the best way to do
>this?
>

You could use a PreAuthHook to do it. Have a look at the example 
hooks in the file "goodies/hooks.txt" in the Radiator distribution.

However, I wonder if this is the best approach? If you could describe 
your requirements in a bit more detail, perhaps I can suggest a 
better way.

regards

Hugh

-- 

NB: I am travelling this week, so there may be delays in our correspondence.

Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, Interbiller, TACACS+, PAM, external, etc, etc.
Available on Unix, Linux, FreeBSD, Windows 95/98/2000, NT, MacOS X.
===
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