FreeRADIUS server: Error in testing user access!

Pedro García Teodoro pgteodor at ugr.es
Mon Nov 28 15:05:41 CET 2016


 

                Dear all,

 

                I’ve installed and configured FreeRADIUS 3.0.12 on Ubuntu
16.04 LTS.

 

                In the file ‘/usr/local/etc/raddb/mods-available/eap’ I’ve
specified:

                                - “default_eap_type = peap” in the general
‘eap’ section, and 

                                - “default_eap_type = mschapv2” in the
‘peap’ section.

 

                After running the server with ‘radiusd –X’, I test it with
the default user ‘bob’ defined in ‘/usr/local/etc/raddb/users’:

 

                                radtest bob hello localhost 0 testing123

 

                Regretfully, the authentication fails, the debugger saying:

 

} # server

radiusd: #### Opening IP addresses and Ports ####

Listening on auth address 127.0.0.1 port 1812

Listening on acct address 127.0.0.1 port 1813

Listening on proxy address * port 39814

Ready to process requests

(0) Received Access-Request Id 239 from 127.0.0.1:39509 to 127.0.0.1:1812
length 73

(0)   User-Name = "bob"

(0)   User-Password = "hello"

(0)   NAS-IP-Address = 127.0.1.1

(0)   NAS-Port = 0

(0)   Message-Authenticator = 0x5456ab996d2c7087d14a1529bd8c950d

(0) ERROR: No Auth-Type found: rejecting the user via Post-Auth-Type =
Reject

(0) Failed to authenticate the user

(0) Using Post-Auth-Type Reject

(0) Post-Auth-Type sub-section not found.  Ignoring.

(0) Delaying response for 1.000000 seconds

Waking up in 0.3 seconds.

Waking up in 0.6 seconds.

(0) Sending delayed response

(0) Sent Access-Reject Id 239 from 127.0.0.1:1812 to 127.0.0.1:39509 length
20

Waking up in 3.9 seconds.

(0) Cleaning up request packet ID 239 with timestamp +32

Ready to process requests

 

 

                I’ve tried ‘radtest’ with other auth methods (-t
pap/chap/mschap) but it always fails!

 

 

                What’s wrong? 

Can someone help me, please?

 

 

                Thanks in advance,

 

                Pedro

 

                



More information about the Freeradius-Users mailing list