config freeradius to AAA on postgres (ฉบับ ว่างๆไป เดียวมาสรุปถ้าว่าง)
ดูตามไฟล์เลยจ้า ถ้าเป็นไปได้ค่อยๆ ใส่แล้ว debug ดูนะ เพื่อให้รู้ที่มาที่ไป
/etc/raddb/sites-enabled/default
authorize {
sql{
notfound = 1
reject = 2
#ok = 3
}
if(notfound){
update reply{
Reply-Message := “Login Failed. Please check your Username and Password”
}
ok = reject
}
if(reject){
update reply {
Reply-Message := “Login Failed. Please check your Username and Password”
}
ok = reject
}
Autz-Type Status-Server {
#
}
}
session {
sql
}