getting rejected, please give me some light.

Eliezer Croitoru eliezer at ngtech.co.il
Thu Oct 4 19:59:09 CEST 2012


I am new with freeradius and I probably didnt understood something yet 
about how to configure everything:
I can authenticate using command line but and on radius wifi but not on 
NAS\LNS that I' m getting rejected.
the logs with couple comments on it:

rad_recv: Access-Request packet from host 192.168.10.159 port 54933, 
id=211, length=43
     User-Name = "bob"
     User-Password = "Hello"
# Executing section authorize from file 
/opt/fradius-2.2.0/etc/raddb/sites-enabled/default
+- 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.
# Executing section post-auth from file 
/opt/fradius-2.2.0/etc/raddb/sites-enabled/default
+- entering group post-auth {...}
++[exec] returns noop
Sending Access-Accept of id 211 to 192.168.10.159 port 54933
Finished request 10.
Going to the next request
Waking up in 4.9 seconds.
Cleaning up request 10 ID 211 with timestamp +2391

##this is the rejected request
Ready to process requests.
rad_recv: Access-Request packet from host 192.168.10.131 port 19606, 
id=134, length=152
     NAS-Identifier = "NAS"
     NAS-IP-Address = 192.168.10.131
     Acct-Session-Id = "9358763-re0-3"
     NAS-Port = 3
     NAS-Port-Type = Ethernet
     Service-Type = Framed-User
     Framed-Protocol = PPP
     Calling-Station-Id = "00270e08e1c0"
     NAS-Port-Id = "re0"
     Vendor-12341-Attr-12 = 0x7265302d33
     Tunnel-Medium-Type:0 = IEEE-802
     Tunnel-Client-Endpoint:0 = "00:27:0e:08:e1:c0"
     User-Name = "bob"
     User-Password = "Hello"
# Executing section authorize from file 
/opt/fradius-2.2.0/etc/raddb/sites-enabled/default
+- 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 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?
Failed to authenticate the user.
Using Post-Auth-Type REJECT
# Executing group from file 
/opt/fradius-2.2.0/etc/raddb/sites-enabled/default
+- entering group REJECT {...}
[attr_filter.access_reject]     expand: %{User-Name} -> bob
attr_filter: Matched entry DEFAULT at line 11
++[attr_filter.access_reject] returns updated
Delaying reject of request 11 for 1 seconds
Going to the next request


Thanks,
Eliezer


More information about the Freeradius-Users mailing list