Weird shared secret issues

Tuc at T-B-O-H.NET ml at t-b-o-h.net
Wed Apr 30 22:41:19 CEST 2008


Hi,

	Running FreeRadius 2.0.3 built from source on Centos 5.1 with
a Mysql 5.0.45 back end.

	We've been doing testing on our setup for MONTHS (First FR1,
now FR2) and its been flawless. Today we went to put our first unit into
production and am having issues.

	We are reading NAS from SQL. The entry is :

(3,'192.168.25.13','SBC-1918','other',0,'KhLcPALLdzTcJs3f','GLRXTAFLfhf3N4zT','First Install')

	From the user table I have :

(1, 'tuc','User-Password',':=','PLAINTEXT')

	And when I run :

#!/bin/sh
(echo 'User-Name = "tuc"'
echo 'User-Password = "PLAINTEXT"'
echo 'NAS-IP-Address = 192.168.25.13'
echo 'NAS-Port = 0') | /usr/local/bin/radclient -x localhost auth  KhLcPALLdzTcJs3f 

	I get :

[root at ports ~]# sh TESTRAD
        User-Name = "tuc"
        User-Password = "PLAINTEXT"
        NAS-IP-Address = 192.168.25.13
        NAS-Port = 0
rad_verify: Received Access-Reject packet from client 127.0.0.1 port 1812 with invalid signature (err=2)!  (Shared secret is incorrect.)

	and in radius.log I see :

Wed Apr 30 16:38:43 2008 : Auth: Login incorrect: [tuc/eY\261ã¡©\226`\305\020y\366/Â?\333] (from client localhost port 0)



	HELP... I can't see what I'm doing wrong.

		Thanks, Tuc



More information about the Freeradius-Users mailing list