Add preliminary support for using SQLite for eap_user database
authorJouni Malinen <j@w1.fi>
Tue, 20 Nov 2012 22:47:47 +0000 (00:47 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 20 Nov 2012 22:47:47 +0000 (00:47 +0200)
commitee431d77a51b361b4697f2b737bcf46a1860a6fe
tree915508b851e41762840dcdbc50b7d821f90fd61c
parent6201b052c87b043a240324976c58b71aa6cbdfca
Add preliminary support for using SQLite for eap_user database

CONFIG_SQLITE=y option can now be used to allow the eap_user_file text
file to be replaced with a SQLite database
(eap_user_file=sqlite:/path/to/sqlite.db). hostapd.eap_user_sqlite
shows an example of how the database tables can be created for this
purpose. This commit does not yet include full functionality of the
text file format, but at least basic EAP-TTLS/MSCHAPv2 style
authentication mechanisms with plaintext passwords can be used for
tests.

Signed-hostap: Jouni Malinen <j@w1.fi>
12 files changed:
hostapd/Makefile
hostapd/config_file.c
hostapd/defconfig
hostapd/hostapd.conf
hostapd/hostapd.eap_user_sqlite [new file with mode: 0644]
src/ap/ap_config.c
src/ap/ap_config.h
src/ap/authsrv.c
src/ap/eap_user_db.c [new file with mode: 0644]
src/ap/hostapd.c
src/ap/hostapd.h
src/ap/ieee802_1x.c