Hello Neale -

On Fri, 05 Nov 1999, Neale Banks wrote:
> For some reason, I can't get this to be prefered over <Handler Realm=x>
> 
> Summarising the config file:
> 
> <Handler Realm=example.com,Called-Station-Id="12345601">
>       <AuthBy FILE>
>               Filename %D/users
>               AddToReply cisco-avpair="ip:addr_pool=second_pool"
>       </AuthBy>
> </Handler>
> 

I would be very interested to see if the Called-Station-Id fired if used on its
own. Ie - is it the Realm that is failing, or is it the Called-Station-Id?

Could you try a test with just this:

<Handler Called-Station-ID = 12345601>
        <AuthBy FILE>
                ....
        </AuthBy>
</Handler>

> --------------------------------------8<--------------------------------------
> 
> The general idea is that the AddToReply (specifying a non-default
> address-pool) will be invoked by calling with the last two digits being 01
> (the NAS has PRIs with a 100-group of indial numbers).
> 

Understood.

> Unfortunately, this doesn't sem to work (Radiator 2.13.1).  From the log:
> 
> --------------------------------------8<--------------------------------------
> *** Received from foo port 1645 ....
> Code:       Access-Request
> [...]
> Attributes:
>       [...]
>       User-Name = "neale2"
>       Called-Station-Id = "12345601"
>       [...]
> Fri Nov  5 18:44:56 1999: DEBUG: Handling request with Handler 'Realm=example.com'
> [...]
> Code:       Access-Accept
> [...]
> Attributes:
>       [...]
>       <abscence of AddToReply items, all else as expected/desired>
> --------------------------------------8<--------------------------------------
> 

Could you also include a complete log file with the test above?

> My reading of the docs is that Radiator will search the Handlers _in
> order_ until it finds one that matches, hence my putting <Handler
> Realm=example.com,Called-Station-Id="12345601"> before <Handler
> Realm=example.com>.  However, we appear to always be falling through to
> <Handler Realm=example.com>.
> 

What you expect should be what is happening. Please try the simple Handler
above and send me the results.

cheers

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