26 May
2015
26 May
'15
11:54 p.m.
On 26 May 2015, at 23:49, Yanrui Hu <yhu@appannie.com> wrote:
Here I have some customize requirement and not sure which file/function to change. Normally when DB connection timeout or there is no such user the DB return negative response to radius. and radius return REJECT to nas. I want to control these two situation and not sure which file to change, there are too many return value in the project related with REJECT.
man unlang sql { fail = 1 } if (fail) { # do things other than issuing an Access-Reject } if (notfound) { # do something appropriate to not finding the user... } -Arran Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS development team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2