[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gnu-radius] GNU radius using an existing db
From: |
Christian Schrader |
Subject: |
Re: [Help-gnu-radius] GNU radius using an existing db |
Date: |
Thu, 30 Jul 2009 14:06:01 +0200 |
User-agent: |
Thunderbird 2.0.0.17 (X11/20080922) |
Hi Jordi,
if I understand your problem correctly, you seem to wonder how to tell
radius where your db is located and what type of database you have. You
can find that in the file raddb/sqlserver. (full path may be
/etc/raddb/sqlserver, depending on your configuration). Documentation of
that can be found here:
http://www.gnu.org/software/radius/manual/radius.html#SEC141
Maybe that helps...
Regards,
Chris
Jordi Prats schrieb:
> Hi Sergey,
> Auth-Type shoudn't be SQL instead of "Local"?
>
> My users file is the following:
>
> DEFAULT Auth-Type = SQL,
> Simultaneous-Use = 1
> Service-Type = Framed-User,
> Framed-Protocol = PPP
>
> I've tryed this two configurations without luck.
>
> DEFAULT Auth-Type = Local,
> Simultaneous-Use = 1,
> Password-Location = SQL,
> User-Password = plaintext
>
>
> DEFAULT Auth-Type = Local,
> Simultaneous-Use = 1,
> Password-Location = SQL,
>
>
> I'm not understanding how to specify the type and location of the
> database. Could you please help me?
>
> Thank you!!!
> Jordi
>
>
> On Wed, Jul 29, 2009 at 10:11 AM, Sergey Poznyakoff<address@hidden> wrote:
>
>> Jordi Prats <address@hidden> ha escrit:
>>
>>
>>> Should auth_query return some kind of hash instead of a plaintext
>>> password? How could I know what's going wrong?
>>>
>> Hola Jordi,
>>
>> Apologies for not being able to reply earlier.
>>
>> Handling of the password depends on the setting of Auth-Type attribute
>> in your users file. If its value is "Local", the password is treated as
>> plaintext. If it is "Crypt-Local", it is treated as a DES or MD5 hash
>> (recognized automatically). It also has lots of other values. Please,
>> see
>>
>> http://www.gnu.org/software/radius/manual/html_node/Authentication.html
>>
>> for more details.
>>
>> Regards,
>> Sergey
>>
>>
>>
>
>
>
>