local user file authentication does not work

A.L.M.Buxey at lboro.ac.uk A.L.M.Buxey at lboro.ac.uk
Wed Jan 25 10:38:57 CET 2017


Hi,

> >> radtest at eduroam.test.edu Cleartext - Password: = "test"
> >
> > The whitespace here is wrong - is it in the file like this, or is it just your MUA butchering it? The line should look like:
> >
> > radtest at eduroam.test.edu        Cleartext-Password := "test"
> > -------------------------------------^ tab here
> >
> >> Looking at the log (/var/log/radius/radius.log),
> >> files seems to be noop and is not recognized.
> >
> > You've not posted enough information to fully diagnose the problem - FreeRADIUS makes multiple passes through the virtual server (pre-proxy/authZ/authN/postN/post-proxy) with each request, so we need to see the entire log.
> 
> This is my MUA butchering.
> I use tab separator.

yes, but do you have  

Cleartext - Password: = "test"

or do you have

Cleartext-Password := "test" 


?


> (0) # Executing group from file /etc/raddb/sites-enabled/default
> (0)  Auth-Type ntlm_auth {
> Executing: /usr/bin/ntlm_auth --request-nt-key --domain=MYDOMAIN
> --username=%{mschap:User-Name} --password=%{User-Password}:
> (0)  ntlm_auth : EXPAND --username=%{mschap:User-Name}
> (0)  ntlm_auth :    --> --username=radtest at eduroam.test.edu
> (0)  ntlm_auth : EXPAND --password=%{User-Password}
> (0)  ntlm_auth :    --> --password=test
> Program returned code (1) and output 'NT_STATUS_NO_SUCH_USER: No such
> user (0xc0000064)'
> (0)   [ntlm_auth] = reject

thats quite easy - ntlm_auth failed - no such user (is your doamin MYDOMAIN ?)


alan


More information about the Freeradius-Users mailing list