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:
parent
c469d6228d
commit
fc48d33b0d
4 changed files with 36 additions and 10 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue