[Samba] smbclient is SLOW!

Rowland Penny
2016-08-20T08:35:13Z

On Fri, 19 Aug 2016 23:40:45 -0700
ToddAndMargo via samba <samba at lists.samba.org> wrote:

> On 08/16/2016 12:52 AM, ToddAndMargo via samba wrote:
> > Hi All,
> >
> > Fedora Core 24, x64
> > samba-4.4.5-1.fc24.x86_64
> >
> > smbclient -L 127.0.0.1
> >
> > is very, very slow.  It comes back correctly, but takes 20 seconds.
> > One another Samba server (Scientific Linux 7.2), it comes
> > back in under a second.
> >
> > What am I doing wrong?
> >
> > Many thanks,
> > -T
> >
>
>
> Figured it out.
>
> I had to add my server's name into 127.0.0.1 on /etc/hosts
>
> mumble mumble mumble
>

If you had to do that, you have other problems, 127.0.0.1 shouldn't
resolv to your hostname.

Rowland