captive portal auth with freeradius

Matthew Newton mcn4 at leicester.ac.uk
Wed Apr 17 14:01:43 CEST 2013


On Wed, Apr 17, 2013 at 05:21:32PM +0530, Chitrang Srivastava wrote:
> I am facing a issue that captive portial server is sending a auth request
> which is not a EAP message and hence freeradius server is rejecting ,  it
> goes to users file and found the last line Auth-Type: Reject
> 
> Anyone can point how to fix this ? I guess if captive portal send a eap
> message , it will be looked into eap.conf and then a valid authenticate
> section can be chosen ?

I'm not sure you really understand what's happening here.

It's unlikely a captive portal will do EAP, although it's
technically possible. It's more likely PAP, so you just need to
supply a Cleartext-Password for each user. This can be from the
users file, or a myriad of other different sources such as LDAP or
SQL.

Have you tried following the "initial tests" on the first page of
the documentation: http://freeradius.org/doc/ ? Having added the
entry to the users file, then try logging in with that
username/password.

To help further, we're going to need more information. Primarily,
*complete* debugging output, generated by running in debug mode
with "radiusd -X"

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