getting rejected, please give me some light.

Matthew Newton mcn4 at leicester.ac.uk
Fri Oct 5 00:07:22 CEST 2012


On Thu, Oct 04, 2012 at 07:59:09PM +0200, Eliezer Croitoru wrote:
> +- entering group authorize {...}
> ++[preprocess] returns ok
> ++[chap] returns noop
> ++[mschap] returns noop
> ++[digest] returns noop
> [suffix] No '@' in User-Name = "bob", looking up realm NULL
> [suffix] No such realm "NULL"
> ++[suffix] returns noop
> [eap] No EAP-Message, not doing EAP
> ++[eap] returns noop
> [files] users: Matched entry bob at line 204
> ++[files] returns ok
> WARNING: Please update your configuration, and remove 'Auth-Type =
> Local' ############### what is that means?  what it refers to? i
> dont have the word loca at all in my files else then the defaults
> WARNING: Use the PAP or CHAP modules instead.
> User-Password in the request is correct.

This error is slightly misleading. If you remove the pap module in
2.x, the server will internally authenticate in a similar way by
setting Auth-Type to 'Local', iff it is not already set.

It's an indication that you removed pap, as it will only occur if
no Auth-Type has been set, and there is a User-Password in the
request.

This will break in 3.0. You need to add pap back in again and not
rely on Local auth.


> [files] users: Matched entry DEFAULT at line 172
> ++[files] returns ok
> ERROR: No authenticate method (Auth-Type) found for the request:
> Rejecting the user #it's the basic as before so why the software
> saying that?what is the difference between the logins (a lot) that
> makes it's not work with users file?

You added 'bob' at the bottom of the 'users' file. Move it to the
top. (And add pap back in).

Matthew


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

Systems Architect (UNIX and Networks), Network 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