help-gnu-radius
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gnu-radius] MPD don't send password to radius


From: Konstantin Volevatch
Subject: Re: [Help-gnu-radius] MPD don't send password to radius
Date: Wed, 4 Feb 2004 12:01:17 +0300
User-agent: KMail/1.5.4

Sergey Poznyakoff wrote:
> Konstantin Volevatch <address@hidden> wrote:
> > Can somebody explain, how to authorize users with CHAP-passwords on
> > MPD-server through gnu-radius, when user authentication information
> > stored in mysql?
>
> You have to store the password in plaintext form. Then, in your
> raddb/users you should have:
>
> DEFAULT           Auth-Type = Local,
>                     Password-Location = SQL
>                     <..rest of check pairs..>
>             <..reply pairs..>

Thank you, but radius rejects this config:

Feb 04 11:59:06 Main.error: /usr/local/etc/raddb/users:4: No User-Password 
attribute in LHS
Feb 04 11:59:06 Main.error: /usr/local/etc/raddb/users:4: discarding user 
`DEFAULT'
Feb 04 11:59:06 Main.error: /usr/local/etc/raddb/users:6: parse error
Feb 04 11:59:06 Main.error: discarding user `Service-Type'
Feb 04 11:59:06 Main.info: /usr/local/etc/raddb/users reloaded.
Feb 04 11:59:06 Main.error: USER LIST IS EMPTY

users:
DEFAULT Auth-Type = Local
        Password-Location = SQL
        Service-Type = Framed-User

Where is my mistake?

> Regards,
> Sergey

-- 
Regards,
Konstantin <address@hidden>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]