Hello Edgar -

On Sat, 13 May 2000, Edgar R Gutierrez wrote:
> I have a question...
> I currently have a table which contains Black Listed Numbers.
> I want RADIATOR to check if the Calling-Station-Id of the user is among the
> black listed numbers. How do I do this ?
> I have a feeling that PreAuthHook will be used to implement to do this.  It
> is just I just dont' know how to  get the
> Calling-Station-Id inside the Perl Code.  What is the variable that I have
> to use to get this?
> 

I would have thought an AuthSelect statement that checked the Black Listed
Numbers table would do the trick. However, you could certainly also do it with
a PreAuthHook. There are some example hooks in the patches area that you can
have a look at and modify to suit.

http://www.open.com.au/radiator/downloads/patches-2.15/hooks.txt

regards

Hugh


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

Reply via email to