Hello Vit -
Thanks for pointing this out (its a bug).
I have sent you a new version of ClientListSQL.pm in a seperate message.
regards
Hugh
On Wed, 09 Aug 2000, vit wrote:
> Hi,
>
> I'm testing the Radiator and I'm using radpwtst. I have a crash of my
> daemon radiusd when I have fed my database with empty string instead of
> null for the table RADCLIENTLIST. It doesn't crash at starting but
> during an authentication with the client RADIUS which has in my table an
>
> empty string.
>
> I try to use <ClientListSQl> with MySQL version 3.22.32.
>
> My daemon radiusd is starting with:
> /usr/bin/radiusd -config_file /usr/local/etc/radiator.cfg
>
> I have in my radiator.cfg:
> <ClientListSQL>
> DBSource dbi:mysql:radius
> DBUsername user
> DBAuth password
> </ClientListSQL>
>
> And in my database radius, I put for NOIGNOREDUPLICATES an empty string
> like '' instead of null.
>
>------------------------------+-----------------+--------------------+----------------+
>
> | NASIDENTIFIER | SECRET | IGNOREACCTSIGNATURE | DUPINTERVAL |
> DEFAULTREALM | NASTYPE | SNMPCOMMUNITY | LIVINGSTONOFFS | LIVINGSTONHOLE
>
> | FRAMEDGROUPBASEADDRESS | FRAMEDGROUPMAXPORTSPERCLASSC |
> REWRITEUSERNAME | NOIGNOREDUPLICATES | PREHANDLERHOOK |
>
>+---------------+----------+---------------------+-------------+--------------+---------+---------------+----------------+----------------+------------------------+------------------------------+-----------------+--------------------+----------------+
>
> | 203.63.154.1 | mysecret | NULL | 0 |
> NULL | NULL | NULL | 0 | 0
>
> | NULL | NULL |
> NULL | | |
> | 192.16.10.2 | mysecret | NULL | 0 |
> NULL | NULL | NULL | 0 | 0
>
> | NULL | NULL |
> NULL | | |
>
>+---------------+----------+---------------------+-------------+--------------+---------+---------------+----------------+----------------+------------------------+------------------------------+-----------------+--------------------+----------------+
>
> And when I use radpwtst, my daemon radiusd crashes with the log:
> Wed Aug 2 19:19:15 2000: INFO: Server started: Radiator 2.16.1 on host
> Can't use string ("") as a HASH ref while "strict refs" in use at
> /usr/lib/perl5/site_perl/5.005/Radius/Client.pm line 351.
>
> Regards,
> Vi-Thang.
--
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.