(RADIATOR) Handler/AuthBy clause composition

Chris Hills chills at ne-worcs.ac.uk
Wed Aug 17 10:28:42 CDT 2005


Hi

I would like to use the same AuthBy clause, but specify some different 
AddToReply attributes depending upon the Handler it is used in.

For example,

<AuthBy LDAP2>
    Identifier CheckLDAP
    ...
</AuthBy>

<AuthBy RADIUS>
    Identifier CheckRADIUS
    ...
</AuthBy>

<Handler Identifier=Site1-Switch>
    <AuthBy CheckLDAP>
       ^ AddToReply Tunnel-Private-Group-ID=21

    <AuthBy CheckRADIUS>
       ^ AddToReply Tunnel-Private-Group-ID=22
</Handler>

<Handler Identifier=Site1-Wap>
    <AuthBy CheckLDAP>
       ^ AddToReply Tunnel-Private-Group-ID=23

    <AuthBy CheckRADIUS>
       ^ AddToReply Tunnel-Private-Group-ID=24
</Handler>

What is the best way to write this in the config file, without having to 
resort to distinctive AuthBy clauses?

Regards

-- 
Chris Hills                       | Tel: +44 (0)1527 572754
IT Services                       | Fax: +44 (0)1527 572901
North East Worcestershire College | Web: http://www.ne-worcs.ac.uk/


--
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