aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/hostapd.eap_user_sqlite
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2014-02-28 12:11:13 (GMT)
committerJouni Malinen <j@w1.fi>2014-03-09 16:21:13 (GMT)
commit8a57da7e28ec48e452eedd76e7f255ebe0e745c4 (patch)
tree438c46915637acb36b7197236bb419dd9bb8bf23 /hostapd/hostapd.eap_user_sqlite
parentf3ef7a264043562a0023e00fad77869008429591 (diff)
downloadhostap-8a57da7e28ec48e452eedd76e7f255ebe0e745c4.zip
hostap-8a57da7e28ec48e452eedd76e7f255ebe0e745c4.tar.gz
hostap-8a57da7e28ec48e452eedd76e7f255ebe0e745c4.tar.bz2
RADIUS server: Add option for storing log information to SQLite DB
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>
Diffstat (limited to 'hostapd/hostapd.eap_user_sqlite')
-rw-r--r--hostapd/hostapd.eap_user_sqlite8
1 files changed, 8 insertions, 0 deletions
diff --git a/hostapd/hostapd.eap_user_sqlite b/hostapd/hostapd.eap_user_sqlite
index 2c1f130..826db34 100644
--- a/hostapd/hostapd.eap_user_sqlite
+++ b/hostapd/hostapd.eap_user_sqlite
@@ -16,3 +16,11 @@ INSERT INTO users(identity,methods,password,phase2) VALUES ('DOMAIN\mschapv2 use
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
+);