Hello, i have installed freeradius 3.0.15 + redis database, i would like to do authenfication and accounting with redis database when i add rediswho in authorize section i get this error: /opt/freeradius/v.3.0.15/etc/raddb/sites-enabled/default[417]: "rediswho" modules aren't allowed in 'authorize' sections -- they have no such method. /opt/freeradius/v.3.0.15/etc/raddb/sites-enabled/default[274]: Errors parsing authorize section. any one has an idea about this error and how we can resolve it? Best Regards Mettichi Bassem
On Dec 21, 2017, at 11:41 AM, Bassem Mettichi <mettichi@gmail.com> wrote:
i have installed freeradius 3.0.15 + redis database, i would like to do authenfication and accounting with redis database when i add rediswho in authorize section
Why are you adding it there? You can't put random things into the configuration. The documentation and default configuration explains what each module does, and how it can be used.
i get this error:
/opt/freeradius/v.3.0.15/etc/raddb/sites-enabled/default[417]: "rediswho" modules aren't allowed in 'authorize' sections -- they have no such method. /opt/freeradius/v.3.0.15/etc/raddb/sites-enabled/default[274]: Errors parsing authorize section.
any one has an idea about this error and how we can resolve it?
Why do you expect that you can list "rediswho" in the "authorize" section, and that it will magically do what you want? What did you expect it to do there? Alan DeKok.
Hello, actually iam able to send accounting start, accounting stop and interim update but i need access request : echo "User-Name=22559668202,Service-Type=2,NAS-Identifier=1,NAS-IP-Address=172.30.148.200,User-Password=172.30.148.200" | /opt/freeradius/current/bin/radclient 127.0.0.1:1812 auth testing123 -x this request doesn't work with redis? any help please? Best Regards Mettichi Bassem 2017-12-21 17:43 GMT+01:00 Alan DeKok <aland@deployingradius.com>:
On Dec 21, 2017, at 11:41 AM, Bassem Mettichi <mettichi@gmail.com> wrote:
i have installed freeradius 3.0.15 + redis database, i would like to do authenfication and accounting with redis database when i add rediswho in authorize section
Why are you adding it there?
You can't put random things into the configuration. The documentation and default configuration explains what each module does, and how it can be used.
i get this error:
/opt/freeradius/v.3.0.15/etc/raddb/sites-enabled/default[417]: "rediswho" modules aren't allowed in 'authorize' sections -- they have no such method. /opt/freeradius/v.3.0.15/etc/raddb/sites-enabled/default[274]: Errors parsing authorize section.
any one has an idea about this error and how we can resolve it?
Why do you expect that you can list "rediswho" in the "authorize" section, and that it will magically do what you want?
What did you expect it to do there?
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/ list/users.html
On Dec 21, 2017, at 11:59 AM, Bassem Mettichi <mettichi@gmail.com> wrote:
actually iam able to send accounting start, accounting stop and interim update but i need access request :
To do WHAT?
echo "User-Name=22559668202,Service-Type=2,NAS-Identifier=1,NAS-IP-Address=172.30.148.200,User-Password=172.30.148.200" | /opt/freeradius/current/bin/radclient 127.0.0.1:1812 auth testing123 -x
this request doesn't work with redis?
As I already asked, what are you trying to DO with the "rediswho" module? Why are you listing it in the "authorize" section? What do you expect it to do there?
any help please?
The only way to help you is if you answer my questions. If you ignore my questions, I will be unable to help you. Alan DeKok.
Hello, i would like to use accounting and authentication with redis this is my objective? is it possible to do authentication requests with redis database from freeradius server or redis support only accountig requests ( start, stop, interim-update? what is the solution for access requests? how to authenticate radius users with redis database? could somoene please answer my questios. I hope iam clear now thanks ain advance Best Regards Mettichi Bassem 2017-12-21 18:11 GMT+01:00 Alan DeKok <aland@deployingradius.com>:
On Dec 21, 2017, at 11:59 AM, Bassem Mettichi <mettichi@gmail.com> wrote:
actually iam able to send accounting start, accounting stop and interim update but i need access request :
To do WHAT?
echo "User-Name=22559668202,Service-Type=2,NAS-Identifier= 1,NAS-IP-Address=172.30.148.200,User-Password=172.30.148.200" | /opt/freeradius/current/bin/radclient 127.0.0.1:1812 auth testing123 -x
this request doesn't work with redis?
As I already asked, what are you trying to DO with the "rediswho" module? Why are you listing it in the "authorize" section? What do you expect it to do there?
any help please?
The only way to help you is if you answer my questions. If you ignore my questions, I will be unable to help you.
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/ list/users.html
On Dec 25, 2017, at 4:52 AM, Bassem Mettichi <mettichi@gmail.com> wrote:
i would like to use accounting and authentication with redis this is my objective?
Your objective should be a bit more detailed than that. What information are you putting into Redis? What queries should FreeRADIUS do to Redis? As an example, look at the documentation and examples for the SQL module. There is a sample schema. There are default queries. There is documentation for how to use SQL, and what information should go into SQL.
is it possible to do authentication requests with redis database from freeradius server or redis support only accountig requests ( start, stop, interim-update?
You can put any information you want into Redis. But the *default* configuration doesn't have authorization queries.
what is the solution for access requests? how to authenticate radius users with redis database? could somoene please answer my questios. I hope iam clear now
You're still not clear. You can't just say "I want to use a database", and have people magically understand what that means. If you don't know what you want to use Redis for, then you shouldn't be using Redis. Instead, use one of the other databases with examples and documentation, like SQL. Alan DeKok.
participants (2)
-
Alan DeKok -
Bassem Mettichi