[Date Prev][Date Next]
getaddrinfo and network crash (ITS#2443)
Full_Name: eric gerbier
Version: 2.0.21 and more
Submission from: (NULL) (18.104.22.168)
I use openldap for linux authentification.
My PAM configuration is : first check ldap server (pam_ldap), then use local
But I have a problem when the network crash, with ldap server name : the
getadddrinfo call (in ldap_connect_to_host function, os-ip.c source file) is
very long (does not seem to use any configurable timeout), in fact too long for
pam, so I cannot connect to my computer.
Is there any way to have a timeout in this call to avoid this problem ?
I have an old version, but I had a look in last stable openldap release (2.1.17)
and the code was unchanged.