Quantcast
Channel: VMware Communities : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 178097

horizon with google-authenticator - Error but work

$
0
0

Hello!

 

for a project, I need to set up a horizon farm with a dual authentication system.

for that I set up a system with freeradius and google-authenticator.

 

not liking the system where you have to specify the password followed by the google code I wanted to make some changes.

double auth.PNG

I managed to make the first request google code and the second the user password.

but for the first step I have an error like this:

error.PNG

but I manage to move on to the next step and if I type bad code it blocks me as it is supposed to do.

 

this type of error occurred when playing with the file "/etc/pam.d/radiusd", here are the different configurations made on it:

 

 

#%PAM-1.0

#auth    required     pam_google_authenticator.so     forward_pass

#auth       include     password-auth

#account    required    pam_nologin.so

#account    include     password-auth

#password   include     password-auth

#session    include     password-auth

#auth   required        pam_google_authenticator.so

 

 

#auth   requisite pam_google_authenticator.so     forward_pass

#auth   required        pam_unix.so     use_first_pass

 

 

auth    sufficient pam_google_authenticator.so

auth    include         password-auth

account required        pam_nologin.so

account include         password-auth

 

 

the mistake must be caused, I suppose, by a configuration made in it, but I'm not sure about it.

 

if you need other information I will make sure you send them.

 

in advance thank you for your help

Have a good day


Viewing all articles
Browse latest Browse all 178097

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>