Hello Alejandro -
On Fri, 21 Jan 2000, Alejandro Dau wrote:
> Hi Hugh
> there seems to be no way to turn off Status-Server requests in the
> old netserver usrobotics nas (i'd appreciate it if someone knows if that
> can be done).
>
Mike and I discussed this the other day and we will put a configuration option
in to turn off the Status-Server request handling in Radiator. We'll let you
know when the patch is available.
> Two more questions:
> . I want to generate logs in my Authhooks using syslog. I
> guess i should put a 'use Sys::Syslog' and other initialization commands
> that (will be run just once) somewhere in the server configuration/code to
> be able to do that. What is the more clever way to do it (i mean putting
> initialization code for my rutines) ?
The best way is to use Log SYSLOG in your configuration file, then call
main::log in your hook. Have a look in any of the source files in the Radius/
directory for examples.
> . Some of my nas are sending Accounting requests that
> have no Username attribute. Now they are getting forwarded to our default
> (gric) radius server, but i want to handle them differently. Can i define a
> Handler entry to catch them? (with no Username attribute as its criteria)
>
Yes - do something like this:
<Handler User-Name = "">
<AuthBy ....>
....
</AuthBy>
</Handler>
The usual caveats apply regarding not mixing Realms and Handlers in the same
configuration file, and place the more specific Handlers before the more
general.
hth
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.