hi Hugh!!!

I am using the dictionary.cisco for Radiator 2.16.3 and initially i used to
get only this error

Mon Nov 20 10:50:33 2000: ERR: Attribute number 1 (vendor 255) is not
defined in your dictionary

but now we also have Tigris as one of our NAS.
since then i have started to get the following errors

Mon Nov 20 10:51:27 2000: ERR: Attribute number 33 (vendor 5) is not defined
in your dictionary
Mon Nov 20 10:51:27 2000: ERR: Attribute number 17 (vendor 5) is not defined
in your dictionary
Mon Nov 20 10:51:27 2000: ERR: Attribute number 18 (vendor 5) is not defined
in your dictionary
Mon Nov 20 10:51:27 2000: ERR: Attribute number 27 (vendor 5) is not defined
in your dictionary
Mon Nov 20 10:51:27 2000: ERR: Attribute number 77 (vendor ) is not defined
in your dictionary
Mon Nov 20 10:51:27 2000: ERR: Attribute number 30 (vendor 5) is not defined
in your dictionary
Mon Nov 20 10:51:27 2000: ERR: Attribute number 31 (vendor 5) is not defined
in your dictionary
Mon Nov 20 10:51:27 2000: ERR: Attribute number 32 (vendor 5) is not defined
in your dictionary
Mon Nov 20 10:51:27 2000: ERR: Attribute number 33 (vendor 5) is not defined
in your dictionary
Mon Nov 20 10:51:27 2000: ERR: Attribute number 17 (vendor 5) is not defined
in your dictionary
Mon Nov 20 10:51:27 2000: ERR: Attribute number 3 (vendor 5) is not defined
in your dictionary
Mon Nov 20 10:51:27 2000: ERR: Attribute number 4 (vendor 5) is not defined
in your dictionary
Mon Nov 20 10:51:27 2000: ERR: Attribute number 1 (vendor 5) is not defined
in your dictionary
Mon Nov 20 10:51:47 2000: ERR: Attribute number 255 (vendor ) is not defined
in your dictionary
Mon Nov 20 10:51:50 2000: ERR: Attribute number 18 (vendor 5) is not defined
in your dictionary
Mon Nov 20 10:51:50 2000: ERR: Attribute number 27 (vendor 5) is not defined
in your dictionary
Mon Nov 20 10:51:50 2000: ERR: Attribute number 77 (vendor ) is not defined
in your dictionary

i tried to use the standard dictionary but it would not work (will send you
the details of the errors while using standard dictionary later on) so i had
to revert back to dictionary.cisco, where authentication and accounting was
taking place normally but this errors had started to display.


Meanwhile i will try "reply" instead of Reply, but just for your information
Reply is working fine in my other AuthBy clause

Regards
Hakim
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Hugh Irvine
Sent: Monday, November 20, 2000 2:43 AM
To: Hakim Tass; Radiator mailing list
Subject: Re: (RADIATOR) strange problem with session-timeout



Hello Hakim -

On Sun, 19 Nov 2000, Hakim Tass wrote:
> hi all!!!
>
> I am having a group of users which are allowed to connect only between
> 5:00:00 am in the morning until 1:00:00 pm in the afternoon.
>
> The configuration file for the same is as follows:
>
> ##############snaphsot of radius.cfg
> ############################################
> <AuthBy SQL>
>
>                 DBSource dbi:mysql:mainaccounts
>                 DBUsername     root
>                 DBAuth         new-password
>                 NoDefault
>                 AuthSelect select
>
password,(least(balancetime,(time_to_sec('14:00:00')-time_to_sec(current_tim
> e))))  \
>                                       as session from amcard where (username='%n' and
> '05:00:00'<=current_time \
>                               and '14:00:00'> current_time and status = 1
> and balancetime>0 and \
>                               (expiry_date is null or expiry_date >
now()) )
>                 AuthColumnDef    0,Password,check
>                 AuthColumnDef    1,Session-Timeout,Reply
>                 AddToReply      Service-Type = Framed,Framed-Protocol =
PPP
> </AuthBy SQL>
> ##########################################################
>
> The problem i am facing is Radius is not replying the session-timeout
value.
> I have checked the query and it is correct, when i normally execute the
> query it executes correctly.
> Here is a snapshot of Trace 4 for radius.
>

I think you will find the correct spelling of "reply" will help:

                         AuthColumnDef    1,Session-Timeout,reply

BTW - what dictionary are you using? I see this in the debug:

Sat Nov 18 13:48:44 2000: ERR: Attribute number 17 (vendor 5) is not defined
in your dictionary


hth

Hugh

--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, Interbiller, TACACS+, PAM, external, etc, etc.
Available on Unix, Linux, FreeBSD, Windows 95/98/2000, NT, MacOS X.



===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.


===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to