Radius inside #6

Merged
tygozwolle merged 11 commits from radius_inside into master 2026-07-24 15:46:57 +02:00
2 changed files with 25 additions and 1 deletions
Showing only changes of commit f7663a284e - Show all commits
+16 -1
View File
@@ -8,8 +8,23 @@ sql {
password = "radpass" password = "radpass"
radius_db = "radius" radius_db = "radius"
read_clients = yes # Standard FreeRADIUS SQL Table Mappings
authcheck_table = "radcheck"
authreply_table = "radreply"
groupcheck_table = "radgroupcheck"
groupreply_table = "radgroupreply"
usergroup_table = "radusergroup"
# Accounting Table Mappings
acct_table1 = "radacct"
acct_table2 = "radacct"
# Post-auth Table Mapping
postauth_table = "radpostauth"
# NAS Client Table Mapping
client_table = "nas" client_table = "nas"
read_clients = yes
group_attribute = "User-Group" group_attribute = "User-Group"
+9
View File
@@ -86,6 +86,15 @@ CREATE TABLE IF NOT EXISTS nas (
description VARCHAR(200) DEFAULT 'RADIUS Client' description VARCHAR(200) DEFAULT 'RADIUS Client'
); );
CREATE TABLE IF NOT EXISTS radpostauth (
id BIGSERIAL PRIMARY KEY,
username VARCHAR(64) NOT NULL DEFAULT '',
pass VARCHAR(64) NOT NULL DEFAULT '',
reply VARCHAR(32) NOT NULL DEFAULT '',
authdate TIMESTAMP WITH TIME ZONE DEFAULT CURRENT_TIMESTAMP
);
CREATE INDEX IF NOT EXISTS radpostauth_username ON radpostauth (username);
-- Application Management Tables -- Application Management Tables
CREATE TABLE IF NOT EXISTS guest_profiles ( CREATE TABLE IF NOT EXISTS guest_profiles (
id SERIAL PRIMARY KEY, id SERIAL PRIMARY KEY,