Have you check authentication source order in nsswitch.conf ? Maybe there it 
hit some timeout or so.

From: Winfried de Heiden via FreeIPA-users 
<[email protected]>
Sent: dimanche 9 février 2020 13:55
To: [email protected]
Cc: Winfried de Heiden <[email protected]>
Subject: [Freeipa-users] sss_ssh_authorizedkeys slow on IPA-server

Hi all,

For some reason, for a particular user, sss_ssh_authorizedkeys is extremely 
slow on the IPA-server:

time /usr/bin/sss_ssh_authorizedkeys <username>
~
real 0m9.520s
user 0m0.022s
sys 0m0.018s

It will return all the public keys, but is is slow, causing SSH-login delays 
using a ssh-keys.

On another CentOS Stream (8.1) IPA-client, using the same IPA-server:

time /usr/bin/sss_ssh_authorizedkeys <username>
~
real 0m0.020s
user 0m0.005s
sys 0m0.003s

Some difference...
Adding "certificate_verification = no_ocsp" to sssd.conf on the IPA-server will 
bring back performance, but sound like a poor workaround.

Any idea what is happening here?

Some more details:
CentOS Linux release 8.1.1911 (Core) (stream)
ipa-client-4.8.0-13.module_el8.1.0+265+e1e65be4.x86_64
sssd-common-2.2.0-19.el8.x86_64

Winfried

_______________________________________________
FreeIPA-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/[email protected]

Reply via email to