[Samba] smbclient is SLOWWWWWW; getaddrinfo failed
toddandmargo at zoho.com
Wed Sep 6 23:54:28 UTC 2017
---- On Wed, 06 Sep 2017 16:41:13 -0700 toddandmargo via samba<samba at lists.samba.org> wrote ----
> # rpm -qa samba
> Hi All,
> # smbclient -L FedoraServer -U workcentre -W xxxxx
> takes about 18 second to ask for the password. (Windows is slow too.)
> Me thinks it has to do with this error from /var/log/samba/samba-log.192.168.255.12
> get_mydnsfullname: getaddrinfo failed for name FedoraServer.xxxxx.local [Unknown error]
> When I put a tail on the above log, this is where it hangs until the password prompt comes up
> How do I fix this?
> Many thanks,
Figured it out. I had reversed two letters x's in the FedoraServer.xxxxx.local /etc/hosts.
Now things are instant.
More information about the samba