On Wednesday, February 17, 2021 6:23:46 PM CST Anthony Joseph Messina wrote:
On Wednesday, February 17, 2021 1:31:07 AM CST Sumit Bose wrote:
> On Tue, Feb 16, 2021 at 10:48:30AM -0600, Anthony Joseph Messina wrote:
> > After upgrading to sssd-2.4.1-1.fc33.x86_64, I began seeing the
> > following
> > in my sssd_be log:
> >
> > Bug: Trying to get hostent from a name-less server
> > Server without name and address found in list.
>
> Hi,
>
> I think this is similar to
>
https://lists.fedorahosted.org/archives/list/sssd-users@lists.fedorahosted
> .o rg/thread/37NX3YMIU5JHNFMVVHJXJCK7ZLVB5QOW/
I saw this as well but it didn't lead me to any solution.
> As said in the other thread I think the worst case is that not all
> possible KDC names are added to a kdcinfo file. So far I was not able to
> reproduce the issue locally. Are you seeing this log message at regular
> intervals or only once in a while?
>
> bye,
> Sumit
Oddly enough, after posting this message, I also upgraded my two FreeIPA
servers to 4.9.2-2 from updates-testing:
https://bodhi.fedoraproject.org/updates/FEDORA-2021-a53fdfcaeb
and I no longer see this error on my cyrus-imapd machine, a FreeIPA client
machine.
But to answer your question, the error occurred every time a new connection
to cyrus-imapd was being connected/authenticated.
Additional information for reproduction... this occurs when one of my two
FreeIPA servers is offline while the offending machine's SSSD starts up. SSSD
doesn't seem to recover by checking the server list again later.
> > These entries occur at the time a user logins into
cyrus-imapd via
> > saslauthd. salsauthd uses the PAM backend, which uses SSSD. I increased
> > the log-level and see the following, but am not sure how to interpret
> > it,
> > or if this is really an issue. There are no problems with the users
> > logging into cyrus-imapd.
> >
> > Any pointers are appreciated. Thanks.
> >
> > Feb 16 10:17:52 sssd_be[724]: Marking port 0 of duplicate server
> > 'ipa.example.com' as 'working' Feb 16 10:17:52 sssd_be[724]: DP
Request
> > [PAM Preauth #18362]: Request handler finished [0]: Success Feb 16
> > 10:17:52 sssd_be[724]: DP Request [PAM Preauth #18362]: Receiving
> > request
> > data. Feb 16 10:17:52 sssd_be[724]: DP Request [PAM Preauth #18362]:
> > Request removed. Feb 16 10:17:52 sssd_be[724]: Number of active DP
> > request: 1
> > Feb 16 10:17:52 sssd_be[724]: sssd.dataprovider.pamHandler: Success
> > Feb 16 10:17:52 sssd_be[724]: Constructed uri 'ldap://ipa.example.com'
> > Feb 16 10:17:52 sssd_be[724]: Bug: Trying to get hostent from a
> > name-less
> > server Feb 16 10:17:52 sssd_be[724]: Server without name and address
> > found in list. Feb 16 10:17:52 sssd_be[724]: All data has been sent!