Failed to create pair

escalanterj at gmail.com escalanterj at gmail.com
Sun May 10 17:30:32 CEST 2015


Hello Ben

I could more or less figure it out, but thanks for clarification.


BR

Freundliche Grüsse
Javier Escalante
00 41 78 689 85 69
escalanterj at gmail.com

-----Original Message-----
From: Freeradius-Users [mailto:freeradius-users-bounces+escalanterj=gmail.com at lists.freeradius.org] On Behalf Of Ben Humpert
Sent: 10 May 2015 17:13
To: FreeRadius users mailing list
Subject: Re: Failed to create pair

2015-05-10 17:00 GMT+02:00  <escalanterj at gmail.com>:
> Hwllo,
>
> Below the whole dubug. It might be a very simple question, but if I don’t know what to change, I cannot change. You mean that in my radcheck table, instead of password in attribute I should save cleartext-password?
>
> (0) sql : EXPAND %{User-Name}
> (0) sql :    --> 10153350973434668 at facebook
> (0) sql : SQL-User-Name set to '10153350973434668 at facebook'
> rlm_sql (sql): Reserved connection (4)
> (0) sql : EXPAND SELECT id, username, attribute, value, op           FROM radche                                             ck           WHERE username = '%{SQL-User-Name}'           ORDER BY id
> (0) sql :    --> SELECT id, username, attribute, value, op           FROM radche                                             ck           WHERE username = '10153350973434668 at facebook'           ORDER BY id
> rlm_sql (sql): Executing query: 'SELECT id, username, attribute, value, op                                                        FROM radcheck           WHERE username = '10153350973434668 at facebook'                                                        ORDER BY id'
> rlm_sql: Failed to create the pair: Invalid vendor name in attribute name "Passw                                             ord"
> rlm_sql (sql): Error parsing user data from database result

in that table (radcheck) you have the fields id, username, attribute, value, op and Password. Rename the field "Password" to "Cleartext-Password"

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




More information about the Freeradius-Users mailing list