FreeRADIUS / pam_radius

This is the PAM to RADIUS authentication module. It allows any Linux, OSX or Solaris machine to become a RADIUS client for authentication and password change requests.
GNU General Public License v2.0
102 stars 90 forks source link

Adding challenge customization option #69

Open oculos opened 1 year ago

oculos commented 1 year ago

The proposed PR adds a challenge option so that a custom challenge prompt can be customized. It replaces the prompt sent on the Reply-Message attribute of an Access-Challenge request.

The main reason for this is that some RADIUS servers, such as Microsoft NPS with Azure MFA extension, does not allow the customization of this message on the server side.

If approved, the next work will be to add the option for adding a suffix to messages sent by the server, as currently the message lacks a ": ", being not very good cosmetically for command line use.

oculos commented 1 year ago

Hi @alandekok - I resubmitted this PR so that all unrelated code was suppressed.