Freeradius -username for authentication is not picking from users file.

Matthew Newton mcn4 at leicester.ac.uk
Mon Aug 5 11:41:27 CEST 2013


On Mon, Aug 05, 2013 at 12:50:20PM +0530, rajeev sr wrote:
> I am trying to run the radtest on local machine which is CentOS 6.0. But am
> getting the following error while sending the Access Request message from
> client which is another machine.
> 
> The user name is defined in users file under /usr/local/etc/raddb. But
> still am getting the error. I had provided the snapshot received on radiusd
> –Xx in the end.  Can you please help me in figuring out the issue?
> 

In addition to having an incorrect shared secret as already
pointed out, it looks like you've commented out "files" from the
authorize section of /usr/local/etc/raddb/sites-enabled/default.


> Fri Aug  2 16:45:25 2013 : Debug:  client 10.100.111.0/24 {
> Fri Aug  2 16:45:25 2013 : Debug: require_message_authenticator = no
> Fri Aug  2 16:45:25 2013 : Debug: secret = "ABC123"
> Fri Aug  2 16:45:25 2013 : Debug: shortname = "BTS111"
> Fri Aug  2 16:45:25 2013 : Debug:  }
> Fri Aug  2 16:45:25 2013 : Debug:  client 10.100.111.2/24 {
> Fri Aug  2 16:45:25 2013 : Debug: ipaddr = 10.100.111.2
> Fri Aug  2 16:45:25 2013 : Debug: require_message_authenticator = no
> Fri Aug  2 16:45:25 2013 : Debug: secret = "ABC123"
> Fri Aug  2 16:45:25 2013 : Debug: shortname = "BTS111"
> Fri Aug  2 16:45:25 2013 : Debug: nastype = "other"
> Fri Aug  2 16:45:25 2013 : Debug:  }

You've also got two netblocks that clash there. I'm not sure it
will hurt, but you probably want to remove one of them, or fix
the netmask.

Matthew


-- 
Matthew Newton, Ph.D. <mcn4 at le.ac.uk>

Systems Specialist, Infrastructure Services,
I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom

For IT help contact helpdesk extn. 2253, <ithelp at le.ac.uk>


More information about the Freeradius-Users mailing list