New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Load home_servers from SQL #1264
Comments
@alandekok bless the idea for v3.0.x? |
No, this is a feature, features don't get introduced into the stable branch unless they're minor. Fix whatever politics are preventing you from using v3.1.x. |
Well we need bulk loading, but it's not just about home servers, you need to create pools and realms too. We need to think about how that data could be represented in SQL, whether we need multiple tables to load in the different types of objects, or whether we use a single table with a flat representation. |
@arr2036 What do you think?
|
@arr2036 I have a sample that works well in my repo[1] using the home_server_afrom_cs() [1] v3.0.x...jpereira:feature/home-server-sql
|
@arr2036 I believe that we can simplify the set in an single line in SQL and option to do "home_server" generate a "home_server_pool" automatically like the behavior found in $source/src/modules/rlm_realm/trustrouter.c flag like: auto_pool = yes all home_server hs_name { will generate a home_server_pool pool_hs_name { What do you think @arr2036 and @alandekok ? |
Any progress on this? Sending HUP to the freeradius process does not reload the My use-case is allowing a user to dynamically add NAS devices (with CoA enabled) to the system - currently the |
We're not going to add this feature to version 3. Doing so would require substantial changes to the server. This feature will be in v4, whenever that is released. |
This functionality will need to be dynamic in For v4, we're removed proxies && home servers from the server core. It is all just in Once we get more time, |
Thanks for the update @alandekok . I look forward to this feature being available, whenever that is :) In the meantime, I will continue to use my dirty python script to maintain the home server definitions file |
We've rewritten all of this for v4, and will close this as no longer relevant. We will be able to dynamically load home servers in v4, just not using this method. |
Hi,
I would like to load the "home_server" from SQL. But, currently we don't have support to do that. btw, I have started to develop this capability based in the same idea of current "read_client" in raddb/mods-available/sql
We can register all suggestions about that in this issue.
The text was updated successfully, but these errors were encountered: