[Samba] smbclient is SLOW!

Rowland Penny rpenny at samba.org
Sat Aug 20 11:57:47 UTC 2016


On Sat, 20 Aug 2016 04:21:07 -0700
ToddAndMargo via samba <samba at lists.samba.org> wrote:

> On 08/20/2016 01:35 AM, Rowland Penny via samba wrote:
> > 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
> >
> 
> I have found I have to do that if I am not running bind
> 

I take it this is a home network, various PCs and a router as a 
gateway to the internet, if so does the router also act as a DHCP 
server and your PCs all get their ipadresses etc from dhcp ?

Rowland



More information about the samba mailing list