(RADIATOR) Handler question (ORing attributes)
Hugh Irvine
hugh at open.com.au
Wed May 12 02:18:36 CDT 2004
Hello James -
Yes Handlers are evaluated in the order they appear in the
configuration file and the first match is the only match.
I am not quite sure what you mean about Client clause and ClientListSQL?
regards
Hugh
On 12 May 2004, at 10:23, James Nelson wrote:
> Thanks for the info, it didn't occur to me to use Perl expressions.
> About the Client clauses, when mixed with Handler clauses, are they
> just evaluated top to bottom and handled by the first match? And the
> Client clause is independent of the ClientListSQL, correct?
>
> ::James Nelson
>
> Hugh Irvine wrote:
>
>>
>> Hello James -
>>
>> You can use regular expressions in Handlers:
>>
>> <Handler NAS-IP-Address = /1.2.3.4|5.6.7.8/>
>> # Exceptions
>> ...
>> </Handler>
>>
>> <Handler>
>> # Default
>> ...
>> </Handler>
>>
>> BTW - rather than use IP addresses in configuration files, I tend to
>> prefer to use Identifiers in the Client clauses:
>>
>> <Client 1.2.3.4>
>> Identifier SomethingMeaningful
>> .....
>> </Client>
>>
>> <Client 5.6.7.8>
>> Identifier SomethingMeaningful
>> .....
>> </Client>
>>
>> ......
>>
>> <Handler Client-Identifier = SomethingMeaningful>
>> .....
>> </Handler>
>>
>>
>> Hope that helps
>>
>> regards
>>
>> Hugh
>
>
NB: have you included a copy of your configuration file (no secrets),
together with a trace 4 debug showing what is happening?
--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
-
CATool: Private Certificate Authority for Unix and Unix-like systems.
--
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