plz help me: access-reject
dorra aa
dj_dido2003 at hotmail.com
Wed May 5 11:48:37 CEST 2010
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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20100505/498e7f94/attachment.html>
More information about the Freeradius-Users
mailing list