On 5 Oct 2011, at 16:23, Dagia Dorjsuren wrote:

Hello,

How to add Reply-Message in freeradius? anyone advise me pls.

For example : I would like to send "Your username or password is wrong" message to NAS if the someone to access to my freeradius via wrong password from that NAS

raddb/sites-available/default

post-auth {

Post-Auth-Type REJECT {
update reply {
Reply-Message = "Your password is wrong, prepare to be eaten by flying monkeys."
}
}
}

Arran Cudbard-Bell
a.cudbardb@freeradius.org

Betelwiki, Betelwiki, Betelwiki.... http://wiki.freeradius.org/ !