Re: (RADIATOR) Handlers and Suffixes...

1999-06-03 Thread Mike McCauley

Hi Jeremy,

On Jun 3,  2:11pm, Jeremy Burton wrote:
 Subject: (RADIATOR) Handlers and Suffixes...
 Hi All,
   wondering if anoyone here has much experience with Handlers in
 the config file - I am trying to use a different authby dependnign on
 the username - someone with username  user-router would be authenticated
using
 a different AuthBy that someone whith username user. I thought the way to
 do this would be:

 Handler Suffix = -router
 # Stuff for user-router in here
 /Handler

 Handler
 # Everyone else's stuff here
 /Handler

 However no matter what username I try, the first handler (ie with
 Suffix = -router) is used - from the log file:

If you are at Radiator version 2.13, there was a problem that caused the first
Handler always to be chosen. There is a patch available to fix this for 2.12,
or you can upgrade to 2.13.1

The sort of Handers you want is probably:

# Matches a user name unding in -router
Handler User-Name=/-router$/
 Stuff for user-router in here
/Handler

Handler
 # Everyone else's stuff here
/Handler



 Wed Jun  2 13:39:48 1999: DEBUG: Check if Handler Suffix=-router should be
 used to handle this request
 Wed Jun  2 13:39:48 1999: DEBUG: Handling request with Handler
'Suffix=-router'

 even if the username is username, rather than username-router.

 Any ideas?

 Thanks,

 Jeremy Burton
 --
 Jeremy Burton
 Database Administrator, Netspace Online Systems
 [EMAIL PROTECTED]
 [EMAIL PROTECTED], [EMAIL PROTECTED]

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



-- 
Mike McCauley   [EMAIL PROTECTED]
Open System Consultants Pty. LtdUnix, Perl, Motif, C++, WWW
24 Bateman St Hampton, VIC 3188 Australia   http://www.open.com.au
Phone +61 3 9598-0985   Fax   +61 3 9598-0955

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.



(RADIATOR) Handlers and Suffixes...

1999-06-02 Thread Jeremy Burton

Hi All,
wondering if anoyone here has much experience with Handlers in
the config file - I am trying to use a different authby dependnign on
the username - someone with username  user-router would be authenticated using 
a different AuthBy that someone whith username user. I thought the way to
do this would be:

Handler Suffix = -router
# Stuff for user-router in here
/Handler

Handler
# Everyone else's stuff here
/Handler

However no matter what username I try, the first handler (ie with 
Suffix = -router) is used - from the log file:

Wed Jun  2 13:39:48 1999: DEBUG: Check if Handler Suffix=-router should be 
used to handle this request
Wed Jun  2 13:39:48 1999: DEBUG: Handling request with Handler 'Suffix=-router'

even if the username is username, rather than username-router. 

Any ideas?

Thanks,

Jeremy Burton
-- 
Jeremy Burton
Database Administrator, Netspace Online Systems
[EMAIL PROTECTED]
[EMAIL PROTECTED], [EMAIL PROTECTED]

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