mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
client: enable ChallengeResponseAuthentication in sshd_config
In order to enable SSSD smart prompting and allow it to ask for 1FA and 2FA separately, ChallengeResponseAuthentication should be set to yes. This change will enable better processing of the 2FA value and it will also enable other features, like allow SSSD to make the 2FA option in some cases and have a way of informing user that 2FA is optional. https://fedorahosted.org/freeipa/ticket/5703 Reviewed-By: Jan Cholasta <jcholast@redhat.com>
This commit is contained in:
committed by
Jan Cholasta
parent
d6f03da753
commit
04d4519ed5
@@ -1399,6 +1399,7 @@ def configure_sshd_config(fstore, options):
|
||||
'KerberosAuthentication': 'no',
|
||||
'GSSAPIAuthentication': 'yes',
|
||||
'UsePAM': 'yes',
|
||||
'ChallengeResponseAuthentication': 'yes',
|
||||
}
|
||||
|
||||
if options.sssd and file_exists(paths.SSS_SSH_AUTHORIZEDKEYS):
|
||||
|
||||
Reference in New Issue
Block a user