Hello -

On Sun, 26 Dec 1999, [EMAIL PROTECTED] wrote:
> Hello,
> 
> Is it possible to send the ANI information along with the username (%n) in
> the AuthSelect query ?
> 
> Currently I am using something like:
> AuthSelect    Select Password From MyUsers Where LoginName = '%n'
> 
> I would like to use something like:
> AuthSelect   Select PAssword From MyUsers Where LoginName = '%n' AND
> CallerID = '%ANI'

Yes, you would use something like this:

AuthSelect   Select PAssword From MyUsers Where LoginName = '%n' AND
CallerID = '%{Calling-Station-Id}'

Note that you can use any attribute in the radius packet with this syntax.

hth

Hugh


-- 
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, TACACS+, PAM, external, etc etc on Unix, Win95/8,
NT, Rhapsody

===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to