Re: Question about NetSaint and check_radius

2002-08-09 Thread Marc Haber
On Thu, 8 Aug 2002 13:02:31 -0700, "Tony Wasson"
<[EMAIL PROTECTED]> wrote:
>Mark - Thank you!! I just wanted to report success. With your simplified
^ *grmbl*
>config, I was able to make netsaint's check_radius run.

Glad to help.

>I also see some odd syslog errors like you mentioned.

What radius server are you using? I thought that the error messages
were a cause of our radiator running with ascend extensions.

Greetings
Marc

-- 
-- !! No courtesy copies, please !! -
Marc Haber  |   " Questions are the | Mailadresse im Header
Karlsruhe, Germany  | Beginning of Wisdom " | Fon: *49 721 966 32 15
Nordisch by Nature  | Lt. Worf, TNG "Rightful Heir" | Fax: *49 721 966 31 29




Re: Question about NetSaint and check_radius

2002-08-08 Thread Tony Wasson
>>I am wondering if anyone uses NetSaint and specifically the check_radius
>>plugin. I have gotten NetSaint installed and working wonderfully. I am
>>fighting with the check_radius plugin and getting "Config File Error".

>We use the checkradius plugin. Here's my config:
>|service[radius2]=radius;0;24x7;3;3;1;admins;120;24x7;1;1;1;;check-radius!!
Pnetsaint!>netsaint

>|command[check-radius]=$USER1$/check_radius --hostname=$HOST_ADDRESS -->fil
ename=/etc/radiusclient/radiusclient.conf --username=$ARG2$ --password=$ARG3
$

Mark - Thank you!! I just wanted to report success. With your simplified
config, I was able to make netsaint's check_radius run. I will file the bug
report on what I had to do. I also see some odd syslog errors like you
mentioned.





Re: Question about NetSaint and check_radius

2002-08-05 Thread Marc Haber
On Sun, 4 Aug 2002 10:32:22 -0700, "Tony Wasson"
<[EMAIL PROTECTED]> wrote:
>I am wondering if anyone uses NetSaint and specifically the check_radius
>plugin. I have gotten NetSaint installed and working wonderfully. I am
>fighting with the check_radius plugin and getting "Config File Error". I saw
>a few posts on the netsaintplug-help list and it mentioned checking the
>permissions. I still haven't been able to get anything interesting out of
>the check_Radius plugin. Ideas or comments appreciated.

We use the checkradius plugin. Here's my config:
|service[radius2]=radius;0;24x7;3;3;1;admins;120;24x7;1;1;1;;check-radius!!Pnetsaint!netsaint

|command[check-radius]=$USER1$/check_radius --hostname=$HOST_ADDRESS 
--filename=/etc/radiusclient/radiusclient.conf --username=$ARG2$ 
--password=$ARG3$

|[EMAIL PROTECTED]/501]:/etc/netsaint$ cat /etc/radiusclient/radiusclient.conf 
| grep -v '^\(#.*\)\?$'
|auth_order  radius,local
|login_tries 4
|login_timeout   60
|nologin /etc/nologin
|issue   /etc/radiusclient/issue
|authserver  localhost
|acctserver  localhost
|servers /etc/radiusclient/servers
|dictionary  /etc/radiusclient/dictionary
|login_radius/usr/sbin/login.radius
|seqfile /var/run/radius.seq
|mapfile /etc/radiusclient/port-id-map
|default_realm
|radius_timeout  10
|radius_retries  3
|login_local /bin/login

The plugin needs the package libradius1 and radiusclient1 installed
(both have version 0.3.1-7 on our system), and it generates a
truckload of syslog entries like
|Aug  5 08:23:59 lauren check_radius: rc_get_seqnbr: couldn't open sequence 
file  /var/run/radius.seq: Permission denied
|Aug  5 08:23:59 lauren check_radius: rc_avpair_gen: received unknown attribute 
235 of length 4: 0x0001
|Aug  5 08:23:59 lauren check_radius: rc_avpair_gen: received unknown attribute 
244 of length 4: 0x

the sequence file error can probably easily be fixed, but I do not
understand the "unknown attribute" error.

The netsaint mailinglists are very unhelpful, unfortunately.

Greetings
Marc

-- 
-- !! No courtesy copies, please !! -
Marc Haber  |   " Questions are the | Mailadresse im Header
Karlsruhe, Germany  | Beginning of Wisdom " | Fon: *49 721 966 32 15
Nordisch by Nature  | Lt. Worf, TNG "Rightful Heir" | Fax: *49 721 966 31 29