Cannot authorize users other than default "John Doe"

Matthew Newton matthew at newtoncomputing.co.uk
Sun Jul 2 01:32:20 CEST 2017


On Sat, Jul 01, 2017 at 07:13:27PM -0400, Brian Hogans wrote:
> When I use the “John Doe” pass= hello I am able to log on.  But
> any other users I add on daloradius will not authenticate.
> They WILL authenticate on freeradius using radtest, but not
> when I actually try to log in on my smartphone.
> 
> freeradius: FreeRADIUS Version 2.2.5, for host arm-unknown-linux-gnueabihf, built on Oct 25 2014 at 07:04:01
...
> Listening on authentication address * port 1812
> Listening on accounting address * port 1813
> Listening on authentication address 127.0.0.1 port 18120 as server inner-tunnel
> Listening on proxy address * port 1814
> Ready to process requests.

Please send debug output that includes a successful and failed
login attempt. This just stops after the initial configuration
information so impossible to see what's happening.

> root at radiuspi:/home/pi# radtest "test" test123 localhost 0 testing123
> Sending Access-Request of id 62 to 127.0.0.1 port 1812
>         User-Name = "test"
>         User-Password = "test123"
>         NAS-IP-Address = 127.0.1.1
>         NAS-Port = 0
>         Message-Authenticator = 0x00000000000000000000000000000000
> rad_recv: Access-Accept packet from host 127.0.0.1 port 1812, id=62, length=20

This is PAP, not EAP, so not applicable to your phones
connecting.

So what happens when you try and log in as user "test", password
"test123" on the phone?

-- 
Matthew


More information about the Freeradius-Users mailing list