Web lists-archives.com

Re: [Samba] smbclient is SLOWWWWWW; getaddrinfo failed





---- On Wed, 06 Sep 2017 16:41:13 -0700 toddandmargo via samba<samba@xxxxxxxxxxxxxxx> wrote ---- 
 > # rpm -qa samba
 > samba-4.6.7-0.fc26.x86_64
 > 
 > 
 > 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,
 > -T
 
Figured it out.   I had reversed two letters x's in the FedoraServer.xxxxx.local /etc/hosts.

Now things are instant.




-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba