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>
This commit is contained in:
Ben Greear 2015-03-26 17:39:57 -04:00 committed by Jouni Malinen
parent c469d6228d
commit fc48d33b0d
4 changed files with 36 additions and 10 deletions

View file

@ -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;
}