Am 04.05.2010 um 13:34 schrieb dorra aa:

Hi.
After installing Radius. i try to do some exemple.I d'ont know if it is correct because i'm new in it.

I add on Users:

"sonia" Auth-Type := Local, User-Password == "salut"

This should read

Cleartext-Password := "salut"

instead of

User-Password == "salut"

In Freeradius, passwords are assigned ( := ) and not compared ( == )

Have a nice day!

Reply-Message = "Hello, %u",
Reply-Message = "are you fine, %u"

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:

p...@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

What is the problem please.is there someting messing in my test?
Thank you


Hotmail: Trusted email with powerful SPAM protection. Sign up now. -
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Nicolas Goutte


extragroup GmbH - Karlsruhe
Waldstr. 49
76133 Karlsruhe
Germany

Geschäftsführer: Stephan Mönninghoff, Hans Martin Kern, Tilman Haerdle
Registergericht: Amtsgericht Münster / HRB: 5624
Steuer Nr.: 337/5903/0421 / UstID: DE 204607841



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

Reply via email to