Re: Beginner need help

Himanshu Pandey pandey_himanshu80 at rediffmail.com
Mon Sep 22 13:36:27 CEST 2014


Hi,
I am getting the following error:
WARNING: Empty authorize section.  Using default return values.ERROR: No authenticate method (Auth-Type) found for the request: Rejecting the userFailed to authenticate the user.
Here is the debug log:
FreeRADIUS Version 2.2.0, for host x86_64-redhat-linux-gnu, built on Dec 15 2012 at 00:26:26Copyright (C) 1999-2012 The FreeRADIUS server project and contributors. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. You may redistribute copies of FreeRADIUS under the terms of the GNU General Public License v2. Starting - reading configuration files ...including configuration file /etc/raddb/radiusd.confincluding configuration file /etc/raddb/proxy.confincluding configuration file /etc/raddb/clients.confincluding files in directory /etc/raddb/modules/including configuration file /etc/raddb/modules/ldapincluding configuration file /etc/raddb/modules/inner-eapincluding configuration file /etc/raddb/modules/digestincluding configuration file /etc/raddb/modules/checkvalincluding configuration file /etc/raddb/modules/dynamic_clientsincluding configuration file /etc/raddb/modules/echoincluding configuration file /etc/radd!
 b/modules/expirationincluding configuration file /etc/raddb/modules/etc_groupincluding configuration file /etc/raddb/modules/pamincluding configuration file /etc/raddb/modules/opendirectoryincluding configuration file /etc/raddb/modules/sradutmpincluding configuration file /etc/raddb/modules/attr_filterincluding configuration file /etc/raddb/modules/mschapincluding configuration file /etc/raddb/modules/chapincluding configuration file /etc/raddb/modules/exprincluding configuration file /etc/raddb/modules/counterincluding configuration file /etc/raddb/modules/ippoolincluding configuration file /etc/raddb/modules/cuiincluding configuration file /etc/raddb/modules/attr_rewriteincluding configuration file /etc/raddb/modules/detailincluding configuration file /etc/raddb/modules/radrelayincluding configuration file /etc/raddb/modules/rediswhoincluding configuration file /etc/raddb/modules/preprocessincluding configuration file /etc/raddb/modules/ntlm_authincluding configuration f!
 ile /etc/raddb/modules/krb5including configuration file /etc/raddb/mod
ules/smbpasswdincluding configuration file /etc/raddb/modules/filesincluding configuration file /etc/raddb/modules/realmincluding configuration file /etc/raddb/modules/sqlcounter_expire_on_loginincluding configuration file /etc/raddb/modules/sohincluding configuration file /etc/raddb/modules/wimaxincluding configuration file /etc/raddb/modules/linelogincluding configuration file /etc/raddb/modules/alwaysincluding configuration file /etc/raddb/modules/papincluding configuration file /etc/raddb/modules/smsotpincluding configuration file /etc/raddb/modules/logintimeincluding configuration file /etc/raddb/modules/dhcp_sqlippoolincluding configuration file /etc/raddb/sql/mysql/ippool-dhcp.confincluding configuration file /etc/raddb/modules/mac2vlanincluding configuration file /etc/raddb/modules/otpincluding configuration file /etc/raddb/modules/redisincluding configuration file /etc/raddb/modules/radutmpincluding configuration file /etc/raddb/modules/detail.example.comincluding c!
 onfiguration file /etc/raddb/modules/replicateincluding configuration file /etc/raddb/modules/execincluding configuration file /etc/raddb/modules/passwdincluding configuration file /etc/raddb/modules/acct_uniqueincluding configuration file /etc/raddb/modules/mac2ipincluding configuration file /etc/raddb/modules/cacheincluding configuration file /etc/raddb/modules/sql_logincluding configuration file /etc/raddb/modules/perlincluding configuration file /etc/raddb/modules/detail.logincluding configuration file /etc/raddb/modules/unixincluding configuration file /etc/raddb/modules/policyincluding configuration file /etc/raddb/eap.confincluding configuration file /etc/raddb/policy.confmain {	allow_core_dumps = no}including dictionary file /etc/raddb/dictionarymain {	name = "radiusd"	prefix = "/usr/local"	localstatedir = "/usr/local/var"	sbindir = "/usr/local/sbin"	logdir = "/usr/local/var/log/radius"	run_dir = "/usr/local/var/run/radiusd"	libdir = "/usr/local/lib"	radacctdir = "/!
 usr/local/var/log/radius/radacct"	hostname_lookups = no	max_request_ti
me = 30	cleanup_delay = 5	max_requests = 1024	pidfile = "/usr/local/var/run/radiusd/radiusd.pid"	checkrad = "/usr/local/sbin/checkrad"	debug_level = 0	proxy_requests = yes log {	stripped_names = no	auth = no	auth_badpass = no	auth_goodpass = no } security {	max_attributes = 200	reject_delay = 1	status_server = yes }}radiusd: #### Loading Realms and Home Servers #### proxy server {	retry_delay = 5	retry_count = 3	default_fallback = no	dead_time = 120	wake_all_if_all_dead = no } home_server localhost {	ipaddr = 127.0.0.1	port = 1812	type = "auth"	secret = "testing123"	response_window = 20	max_outstanding = 65536	require_message_authenticator = yes	zombie_period = 40	status_check = "status-server"	ping_interval = 30	check_interval = 30	num_answers_to_alive = 3	num_pings_to_alive = 3	revive_interval = 120	status_check_timeout = 4  coa {	irt = 2	mrt = 16	mrc = 5	mrd = 30  } } home_server_pool my_auth_failover {	type = fail-ov!
 er	home_server = localhost } realm example.com {	auth_pool = my_auth_failover } realm LOCAL { }radiusd: #### Loading Clients #### client 127.0.0.1 {	ipaddr = 127.0.0.1	require_message_authenticator = no	secret = "testing123"	nastype = "other" }radiusd: #### Instantiating modules #### instantiate { }radiusd: #### Loading Virtual Servers ####server { # from file /etc/raddb/radiusd.conf modules { } # modules} # serverradiusd: #### Opening IP addresses and Ports ####listen {	type = "auth"	ipaddr = *	port = 0}listen {	type = "acct"	ipaddr = *	port = 0} ... adding new socket proxy address * port 58346Listening on authentication address * port 1812Listening on accounting address * port 1813Listening on proxy address * port 1814Ready to process requests.rad_recv: Access-Request packet from host 127.0.0.1 port 45789, id=134, length=77	Attr-1 = 0x74657374696e67	Attr-2 = 0xc0f304d7505a307640e393d9f8f2778a	Attr-4 = 0x7f000001	!
 Attr-5 = 0x00000714	Attr-80 = 0x6ae5985f22e2b42ff6127ba33df73a62 
 WARNING: Empty authorize section.  Using default return values.ERROR: No authenticate method (Auth-Type) found for the request: Rejecting the userFailed to authenticate the user.  WARNING: Unprintable characters in the password.  Double-check the shared secret on the server and the NAS!Delaying reject of request 0 for 1 secondsGoing to the next requestWaking up in 0.9 seconds.Sending delayed reject for request 0Sending Access-Reject of id 134 to 127.0.0.1 port 45789Waking up in 4.9 seconds.Cleaning up request 0 ID 134 with timestamp +248Ready to process requests.
Please help.
Regards,Himanshu
From: Amit Linux <amitbutere64 at gmail.com>
Sent: Mon, 22 Sep 2014 16:01:44 
To: FreeRadius users mailing list <freeradius-users at lists.freeradius.org>
Subject: Re: Beginner need help
  Hi Himanshu,I believe radtest and radclient totally different utility for different purpose.
Plus use should post debug output and config you using.
RegardsAmit B.HTH
Sent from my iPhone
On 22-Sep-2014, at 14:42, "Himanshu  Pandey" <pandey_himanshu80 at rediffmail.com> wrote:

Hi,
My freeradius server is up and running and then I tried to execute the test with a following command:
radtest testing password localhost 0 testing123
But I am getting error:radclient:: Unknown attribute "User-Name" requires a hex string, not "testing"radclient: Nothing to send.
Please help to resolve the same.
Regards,Sonu
From: A.L.M.Buxey at lboro.ac.uk
Sent: Mon, 22 Sep 2014 14:17:00 
To: FreeRadius users mailing list <freeradius-users at lists.freeradius.org>
Subject: Re: Beginner need help
Hi,



> Now I want to test this client (I have already installed freeradius server on the same LINUX PC and this server proved to be working).



there are various client testing tools with the main freeradius server package - also eapol_test from the 

wpa_supplicant package is very useful!



> The only useful information on the freeradius client is

> 

> radiusclient [-f config_file] [-p nas_port] [-s | [-a] a1=v1 [a2=v2[...[aN=vN]...]]]



-f the config file - theres one supplied...should be in your /etc directory now. then you feed it a list of VSA/TLV values.



not as friendly as eg eapol_test or radclient



alan

-

List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Get your own FREE website,  FREE domain & FREE mobile app with Company email.  Know More >-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html  
-

List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140922/5facff8f/attachment-0001.html>


More information about the Freeradius-Users mailing list