newbie - authentication error
Ivan Kalik
tnt at kalik.net
Wed May 28 15:10:02 CEST 2008
Where is the output from the debug (radiusd -X)?
Ivan Kalik
Kalik Informatika ISP
Dana 28/5/2008, "pkc_mls" <pkc_mls at yahoo.fr> piše:
>Ivan Kalik a écrit :
>> Default configuration works - there is no need to change it. You have
>> instructions in FAQ or users file about making simplest user entries.
>> You don't need to set Auth-Type - server does this on it's own.
>>
>>
>I just removed the debian packages, removes the /var/log/radius and
>/etc/freeradius,
>did an apt-get install again, then followed the first step described in
>http://deployingradius.com/documents/configuration/pap.html, ie
>place the following text
><http://deployingradius.com/scripts/raddb/users/pap.txt> at the *top* of
>the /users/ file:
>bob Cleartext-Password := "hello"
>
>then started the freeradius with a -X option : freeradius -X.
>
>radtest bob hello localhost 0 testing123
>Sending Access-Request of id 189 to 127.0.0.1 port 1812
> User-Name = "bob"
> User-Password = "hello"
> NAS-IP-Address = x.x.x.x
> NAS-Port = 0
>rad_recv: Access-Reject packet from host 127.0.0.1 port 1812, id=189,
>length=20
>
>it looks like I choosed the wrong FAQ.
>
>the line added to the /etc/freeradius/users was the only modification I
>did to the users file.
>
>anyway, I'll test on another host, to see if it works better.
>> Ivan Kalik
>> Kalik Informatika ISP
>>
>>
>> Dana 28/5/2008, "pkc_mls" <pkc_mls at yahoo.fr> piše:
>>
>>
>>> A.L.M.Buxey at lboro.ac.uk a écrit :
>>>
>>>> Hi,
>>>>
>>>>
>>>>> Hi all,
>>>>>
>>>>> I'd like to tetst my radius conf with a basic setting.
>>>>>
>>>>>
>>>> really? looks from the log you posted that you've massively edited
>>>> the provided config files. why? you've just broken the server.
>>>>
>>>>
>>> ok, that means I have to remove the package and reinstall it.
>>> should I then test with a user already created on the system, or shall I
>>> create a new one in
>>> the users file ?
>>>
>>> the auth-type cannot be explicitely added to the arguments of the
>>> radtest, that's why I tried to
>>> set up in many different ways the users file.
>>>
>>>> alan
>>>> -
>>>>
>>>>
>>> -
>>> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/usershtml
>>>
>>>
>>>
>>
>> -
>> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>>
>>
>
>
>-
>List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
>
More information about the Freeradius-Users
mailing list