diff options
author | Ben Greear <greearb@candelatech.com> | 2015-03-26 21:39:57 (GMT) |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2015-03-28 11:16:26 (GMT) |
commit | fc48d33b0d6272a2739392b8690cf19b6d32cca3 (patch) | |
tree | c9014bcea984d9d8281dded26c2f11bf3a43432d /src/radius | |
parent | c469d6228d6ed99355558396f3d54d6f34d5e75b (diff) | |
download | hostap-fc48d33b0d6272a2739392b8690cf19b6d32cca3.zip hostap-fc48d33b0d6272a2739392b8690cf19b6d32cca3.tar.gz hostap-fc48d33b0d6272a2739392b8690cf19b6d32cca3.tar.bz2 |
Improve error messages related to EAP DB
Add SQLite error message and DB name to the DB related errors. Add
enough tracing so that users can know exactly where users are failing to
be found.
Signed-off-by: Ben Greear <greearb@candelatech.com>
Diffstat (limited to 'src/radius')
-rw-r--r-- | src/radius/radius_server.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/radius/radius_server.c b/src/radius/radius_server.c index 85a485e..3f881cf 100644 --- a/src/radius/radius_server.c +++ b/src/radius/radius_server.c @@ -2035,6 +2035,12 @@ static int radius_server_get_eap_user(void *ctx, const u8 *identity, sess->remediation = user->remediation; sess->macacl = user->macacl; } + + if (ret) { + RADIUS_DEBUG("%s: User-Name not found from user database", + __func__); + } + return ret; } |