multiple instances of pam module

Alan DeKok aland at deployingradius.com
Tue Apr 18 15:37:00 CEST 2017


On Apr 18, 2017, at 7:01 AM, Lars Hillebrand <lars.hillebrand at fh-dortmund.de> wrote:
> Is there a way to include multiple instances of the pam module in the radius?

  Yes.

> - Content of /etc/freeradius/modules/pam
> 
> pam {
>        pam_auth = radiusd
> }
> pam 2facaut_pam {
>        pam_auth = 2facaut_pam
> }
> pam horizon_pam {
>        pam_auth = horizon_pam
> }

  Which are three different instances of the PAM module.

> - Here the debug log with separate horizon_pam configuration in the radius
> ...
> Tue Apr 18 12:08:41 2017 : Debug: Found Auth-Type = PAM
> Tue Apr 18 12:08:41 2017 : Debug:   WARNING: Unknown value specified for Auth-Type.  Cannot perform requested action.

  If you have a "horizon_pam" module you need to put "horizon_pam" into the "authenticate" section.  And, you need to set 'Auth-Type = horizon_pam" to use it.

  Alan DeKok.




More information about the Freeradius-Users mailing list