8a57da7e28
If eap_user_file is configured to point to an SQLite database, RADIUS server code can use that database for log information. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
26 lines
624 B
Text
26 lines
624 B
Text
CREATE TABLE users(
|
|
identity TEXT PRIMARY KEY,
|
|
methods TEXT,
|
|
password TEXT,
|
|
remediation TEXT,
|
|
phase2 INTEGER
|
|
);
|
|
|
|
CREATE TABLE wildcards(
|
|
identity TEXT PRIMARY KEY,
|
|
methods TEXT
|
|
);
|
|
|
|
INSERT INTO users(identity,methods,password,phase2) VALUES ('user','TTLS-MSCHAPV2','password',1);
|
|
INSERT INTO users(identity,methods,password,phase2) VALUES ('DOMAIN\mschapv2 user','TTLS-MSCHAPV2','password',1);
|
|
|
|
INSERT INTO wildcards(identity,methods) VALUES ('','TTLS,TLS');
|
|
INSERT INTO wildcards(identity,methods) VALUES ('0','AKA');
|
|
|
|
CREATE TABLE authlog(
|
|
timestamp TEXT,
|
|
session TEXT,
|
|
nas_ip TEXT,
|
|
username TEXT,
|
|
note TEXT
|
|
);
|