Hello Alan,
Thank you for your answer.
I may have not understood what you wrote.
I replaced in /etc/raddb/sql/mysql/dialup.conf
sql_user_name = '%{Stripped-User-Name}'
by
sql_user_name = '%{User-Name}'
Hello lsclrstd,
I have created a second user testuser2 with the
Mik J wrote:
I finally solved my problem. My dialup.conf was empty with the exception of
the statement I added. And dialup.conf is supposed to have some sql queries
inside.
For the test to work, the password should be 'Password' and not
'Cleartext-Password'
NO. ABSOLUTELY NOT.
Platform: OpenBSD 5.1
Version: 2.1.12
Hello,
I have a problem setting up freeradius and I think it's related to the domain
stripping
Here's what I did for my configuration
1) Imported the scripts schema.sql, admin.sql, ippool.sql, nas.sql in my MySQL
radiusdb database
2) Inserted a user:
Hi,
[sql] expand: %{Stripped-User-Name} -
[sql] sql_set_user escaped user -- ''
rlm_sql (sql): Reserving sql socket id: 3
[sql] expand: -
[sql] Error generating query; rejecting user
rlm_sql (sql): Released sql socket id: 3
++[sql] returns fail
Stripped-User-Name not populated - so a
2) Inserted a user: INSERT INTO radcheck (UserName, Attribute, Value)
VALUES ('testuser', 'Password', 'passsecret');
Use 'Cleartext-Password' instead of 'Password' and try again.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
[sql] expand: %{Stripped-User-Name} -
[sql] sql_set_user escaped user -- ''
rlm_sql (sql): Reserving sql socket id: 3
[sql] expand: -
[sql] Error generating query; rejecting user
rlm_sql (sql): Released sql socket id: 3
++[sql] returns fail
Stripped-User-Name not populated -
[sql] expand: %{Stripped-User-Name} -
[sql] sql_set_user escaped user -- ''
rlm_sql (sql): Reserving sql socket id: 3
[sql] expand: -
[sql] Error generating query; rejecting user
rlm_sql (sql): Released sql socket id: 3
++[sql] returns fail
Stripped-User-Name not
Hi,
[sql] expand: %{User-Name} - testuser
[sql] sql_set_user escaped user -- 'testuser'
rlm_sql (sql): Reserving sql socket id: 4
[sql] expand: -
[sql] Error generating query; rejecting user
seems fair enough - there is no expansion for the query - so I would
now check your
lscrlstld wrote:
2) Inserted a user: INSERT INTO radcheck (UserName, Attribute, Value)
VALUES ('testuser', 'Password', 'passsecret');
Use 'Cleartext-Password' instead of 'Password' and try again.
The Password attribute will be removed in 3.0. I'm thinking of
deleting it in 2.2.0, too.
9 matches
Mail list logo