Free Radius + Google Authenticator + MS AD, authentication issue
yaya li
yayali2003 at hotmail.com
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 pam_winbind.so use_first_pass
yayali
________________________________
From: Freeradius-Users <freeradius-users-bounces+yayali2003=hotmail.com at lists.freeradius.org> on behalf of Nathan Ward <lists+freeradius at daork.net>
Sent: January 11, 2019 0:51
To: FreeRadius users mailing list
Subject: Re: Free Radius + Google Authenticator + MS AD, authentication issue
Hi,
> On 11/01/2019, at 8:13 AM, yaya li <yayali2003 at hotmail.com> 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/pam_google_authenticator.so 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 https://wiki.freeradius.org/guide/Users-Mailing-List <https://wiki.freeradius.org/guide/Users-Mailing-List>
--
Nathan Ward
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
More information about the Freeradius-Users
mailing list