[RADIATOR] Handler matching multiple Service-Types

2013-05-06 Thread Herrmann, Daniel
Hello,

We are using Radiator as Radius-Server for various Switches. We have two 
different Handlers, one for Cisco and HP gears, and one for Extreme Switches.

They are nearly identical, even the reply, except of the Service Type. Cisco 
Requests have the attribute Service-Type=Call-Check, whereas Extreme switches 
have Service-Type=Login-User set.

Is there a way to write a handler matching both Service-Types without omitting 
the check?

Best Regards
Daniel

---
Daniel Herrmann
Competence Center Lan (CC-LAN)

Fraunhofer-Institut für Graphische Datenverarbeitung IGD
Fraunhoferstr. 5  |  64283 Darmstadt  |  Germany
Tel +49 6151 155-346  |  Fax +49 6151 155-399
daniel.herrm...@igd.fraunhofer.de | www.igd.fraunhofer.de/

___
radiator mailing list
radiator@open.com.au
http://www.open.com.au/mailman/listinfo/radiator


Re: [RADIATOR] Handler matching multiple Service-Types

2013-05-06 Thread Hugh Irvine

Hello Daniel -

Something like this should work:


Handler Service-Type = /Call-Check|Login-User/

…..

/Handler


regards

Hugh


On 6 May 2013, at 18:20, Herrmann, Daniel daniel.herrm...@igd.fraunhofer.de 
wrote:

 Hello,
 
 We are using Radiator as Radius-Server for various Switches. We have two 
 different Handlers, one for Cisco and HP gears, and one for Extreme Switches.
 
 They are nearly identical, even the reply, except of the Service Type. Cisco 
 Requests have the attribute Service-Type=Call-Check, whereas Extreme switches 
 have Service-Type=Login-User set.
 
 Is there a way to write a handler matching both Service-Types without 
 omitting the check?
 
 Best Regards
 Daniel
 
 ---
 Daniel Herrmann
 Competence Center Lan (CC-LAN)
 
 Fraunhofer-Institut für Graphische Datenverarbeitung IGD
 Fraunhoferstr. 5  |  64283 Darmstadt  |  Germany
 Tel +49 6151 155-346  |  Fax +49 6151 155-399
 daniel.herrm...@igd.fraunhofer.de | www.igd.fraunhofer.de/
 
 ___
 radiator mailing list
 radiator@open.com.au
 http://www.open.com.au/mailman/listinfo/radiator


--

Hugh Irvine
h...@open.com.au

Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, 
TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP,
DIAMETER etc. 
Full source on Unix, Windows, MacOSX, Solaris, VMS, NetWare etc.

___
radiator mailing list
radiator@open.com.au
http://www.open.com.au/mailman/listinfo/radiator