Free Radius + Google Authenticator + MS AD, authentication issue

yaya li yayali2003 at
Fri Jan 11 16:44:04 CET 2019

Thanks Nathan,

I fixed the issue by adding the line in radiusd file, so the system will check the account password first.  thanks again.

auth required use_first_pass

From: Freeradius-Users < at> on behalf of Nathan Ward <lists+freeradius at>
Sent: January 11, 2019 0:51
To: FreeRadius users mailing list
Subject: Re: Free Radius + Google Authenticator + MS AD, authentication issue


> On 11/01/2019, at 8:13 AM, yaya li <yayali2003 at> wrote:
> Hi there,
> I'm setting up Free Radius + Google Authenticator + MS AD for our VPN access, it's working with ad account password + token, but it also authenticates with token only. Did I miss any configuration or where should I look into. Below is our current radiusd file config. any comments are appreciated.
> # /etc/pam.d/radiusd - PAM configuration for FreeRADIUS
> #
> # We fall back to the system default in /etc/pam.d/common-*
> #
> #@include common-auth
> #@include common-account
> #@include common-password
> #@include common-session
> auth requisite /usr/local/lib/security/ forward_pass

This is PAM configuration. PAM is a seperate system. FreeRADIUS can use PAM to authenticate users, however, configuring PAM isn’t part of FreeRADIUS.

This PAM configuration is *only* checking the pam_google_authenticator module. It isn’t checking any other modules, such as AD.

Perhaps you have configured FreeRADIUS to check AD, and PAM, and accept either rather than requiring both?

How about you post your FreeRADIUS debug? Please see <>

Nathan Ward

List info/subscribe/unsubscribe? See

More information about the Freeradius-Users mailing list