Hi. im used freeradius 2.1.8. Please can somebody give me an example of configuration of files to do na simple test with radiusd -X. because i'm testing now a local client and the result is reject. I modify onlu users and clients.conf.is that anought? 1/I add on Users: "sonia" Auth-Type := Local, User-Password == "salut" Reply-Message = "Hello, %u", Reply-Message = "are you fine, %u" I'm also trying another exemple: "sonia" Cleartext-Password := "salut" Reply-Message = "Hello, %u", Reply-Message += "are you fine, %u" 2/And i add on Clients.conf: client 127.0.0.1 { secret = testing123 # notre clé partagée shortname = class nastype = other } when i do this command, i have: pfe@pfe-laptop:~$ sudo radtest sonia salut 127.0.0.1:1812 1812 testing123 Sending Access-Request of id 11 to 127.0.0.1 port 1812 User-Name = "sonia" User-Password = "salut" NAS-IP-Address = 127.0.1.1 NAS-Port = 1812 rad_recv: Access-Reject packet from host 127.0.0.1 port 1812, id=11, length=20 3/The result of output radiusd -X is: Ready to process requests. rad_recv: Access-Request packet from host 127.0.0.1 port 38590, id=135, length=57 User-Name = "sonia" User-Password = "salut" NAS-IP-Address = 127.0.1.1 NAS-Port = 1812 +- entering group authorize {...} ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop [suffix] No '@' in User-Name = "sonia", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop [eap] No EAP-Message, not doing EAP ++[eap] returns noop ++[unix] returns notfound ++[files] returns noop ++[expiration] returns noop ++[logintime] returns noop [pap] WARNING! No "known good" password found for the user. Authentication may fail because of this. ++[pap] returns noop No authenticate method (Auth-Type) configuration found for the request: Rejecting the user Failed to authenticate the user. Using Post-Auth-Type Reject +- entering group REJECT {...} [attr_filter.access_reject] expand: %{User-Name} -> sonia attr_filter: Matched entry DEFAULT at line 11 ++[attr_filter.access_reject] returns updated Delaying reject of request 0 for 1 seconds Going to the next request Waking up in 0.9 seconds. Sending delayed reject for request 0 Sending Access-Reject of id 135 to 127.0.0.1 port 38590 Waking up in 4.9 seconds. Cleaning up request 0 ID 135 with timestamp +153 Ready to process requests. What is the problem please Can you help me whith a clear example tahnk you _________________________________________________________________ Hotmail: Trusted email with Microsoft’s powerful SPAM protection. https://signup.live.com/signup.aspx?id=60969
Hi,
Hi. im used freeradius 2.1.8. Please can somebody give me an example of configuration of files to do na simple test with radiusd -X. because i'm testing now a local client and the result is reject. I modify onlu users and clients.conf.is that anought?
1/I add on Users:
"sonia" Auth-Type := Local, User-Password == "salut" Reply-Message = "Hello, %u", Reply-Message = "are you fine, %u" you've already had replies about this.
this config is wrong
I'm also trying another exemple:
"sonia" Cleartext-Password := "salut"
that config is correct alan
Mr Alan i do it but always the same result: root@pfe-laptop:/home/pfe/freeradius-server-2.1.8# radtest sonia salut 127.0.0.1:1812 1812 testing123 Sending Access-Request of id 76 to 127.0.0.1 port 1812 User-Name = "sonia" User-Password = "salut" NAS-IP-Address = 127.0.1.1 NAS-Port = 1812 rad_recv: Access-Reject packet from host 127.0.0.1 port 1812, id=76, length=20 plz can you give me the steps that i may to do more then that. plz help me. I am a beginner in that
Date: Wed, 5 May 2010 11:19:29 +0100 From: A.L.M.Buxey@lboro.ac.uk To: freeradius-users@lists.freeradius.org Subject: Re: plz help me: access-reject
Hi,
Hi. im used freeradius 2.1.8. Please can somebody give me an example of configuration of files to do na simple test with radiusd -X. because i'm testing now a local client and the result is reject. I modify onlu users and clients.conf.is that anought?
1/I add on Users:
"sonia" Auth-Type := Local, User-Password == "salut" Reply-Message = "Hello, %u", Reply-Message = "are you fine, %u" you've already had replies about this.
this config is wrong
I'm also trying another exemple:
"sonia" Cleartext-Password := "salut"
that config is correct
alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
_________________________________________________________________ Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. https://signup.live.com/signup.aspx?id=60969
On 05/05/2010 06:38 AM, dorra aa wrote:
Mr Alan i do it but always the same result:
"The definition of insanity is doing the same thing over and over and expecting different results. " -Benjamin Franklin
plz can you give me the steps that i may to do more then that. plz help me. I am a beginner in that
You've been given help multiple times and for unknown reasons choose to ignore it. -- John Dennis <jdennis@redhat.com> Looking to carve out IT costs? www.redhat.com/carveoutcosts/
Hi,
Mr Alan i do it but always the same result: root@pfe-laptop:/home/pfe/freeradius-server-2.1.8# radtest sonia salut 127.0.0.1:1812 1812 testing123 Sending Access-Request of id 76 to 127.0.0.1 port 1812 User-Name = "sonia" User-Password = "salut" NAS-IP-Address = 127.0.1.1 NAS-Port = 1812 rad_recv: Access-Reject packet from host 127.0.0.1 port 1812, id=76, length=20
are you SURE you are editing the right users file? you havent got two copies of FR installed have you ? (eg self-build and RPM) - check that you dont have eg /etc/raddn/users AND /usr/local/etc/raddb/users or such alan
On 05/05/2010 11:01 AM, Alan Buxey wrote:
Hi,
Mr Alan i do it but always the same result: root@pfe-laptop:/home/pfe/freeradius-server-2.1.8# radtest sonia salut 127.0.0.1:1812 1812 testing123 Sending Access-Request of id 76 to 127.0.0.1 port 1812 User-Name = "sonia" User-Password = "salut" NAS-IP-Address = 127.0.1.1 NAS-Port = 1812 rad_recv: Access-Reject packet from host 127.0.0.1 port 1812, id=76, length=20
are you SURE you are editing the right users file? you havent got two copies of FR installed have you ? (eg self-build and RPM) - check that you dont have eg /etc/raddn/users AND /usr/local/etc/raddb/users or such
Good thought, but this person was already told to check this :-( -- John Dennis <jdennis@redhat.com> Looking to carve out IT costs? www.redhat.com/carveoutcosts/
Date: Wed, 5 May 2010 11:08:28 -0400 From: jdennis@redhat.com To: freeradius-users@lists.freeradius.org Subject: Re: plz help me: access-reject CC: A.L.M.Buxey@lboro.ac.uk
On 05/05/2010 11:01 AM, Alan Buxey wrote:
Hi,
Mr Alan i do it but always the same result: root@pfe-laptop:/home/pfe/freeradius-server-2.1.8# radtest sonia salut 127.0.0.1:1812 1812 testing123 Sending Access-Request of id 76 to 127.0.0.1 port 1812 User-Name = "sonia" User-Password = "salut" NAS-IP-Address = 127.0.1.1 NAS-Port = 1812 rad_recv: Access-Reject packet from host 127.0.0.1 port 1812, id=76, length=20
are you SURE you are editing the right users file? you havent got two copies of FR installed have you ? (eg self-build and RPM) - check that you dont have eg /etc/raddn/users AND /usr/local/etc/raddb/users or such No Sir i have only one file of users.thank you for your help.i think to install freeradius*.deb Good thought, but this person was already told to check this :-( For John Dennis; I'm checking it form the first time.I'm not joking whith my work.i'm serious.Just it does not work -- John Dennis <jdennis@redhat.com>
Looking to carve out IT costs? www.redhat.com/carveoutcosts/ - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
_________________________________________________________________ Hotmail: Trusted email with Microsoft’s powerful SPAM protection. https://signup.live.com/signup.aspx?id=60969
participants (3)
-
Alan Buxey -
dorra aa -
John Dennis