Reply-Message in freeradius

gary gary.yang at browan.com
Thu Oct 6 04:27:42 CEST 2011


Hi 
One more question.
How about if user name is wrong? eg: send reply message "user name not found"


Best Regards
Gary
 
  ----- Original Message ----- 
  From: Arran Cudbard-Bell 
  To: Dagia Dorjsuren ; FreeRadius users mailing list 
  Sent: Wednesday, October 05, 2011 10:34 PM
  Subject: Re: Reply-Message in freeradius




  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 NASraddb/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 at freeradius.org

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




------------------------------------------------------------------------------


  -
  List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20111006/e75db4e8/attachment.html>


More information about the Freeradius-Users mailing list