[Samba] prevent smbclient from trying 445?

David Wuertele dave-gnus at bfnet.com
Fri Feb 20 22:55:18 GMT 2004

When I use smbclient to access an IOMEGA NAS server, smbclient tries
to access port 445 for a full five minutes before timing out:

  [2004/02/20 17:48:24, 10] lib/gencache.c:gencache_get(262)
    Returning valid cache entry: key = NBT/NAS_120_1#20, value =, timeout = Fri Feb 20 17:53:22 2004

  [2004/02/20 17:48:24, 5] libsmb/namecache.c:namecache_fetch(201)
    name nas_120_1#20 found.
  [2004/02/20 17:48:24, 3] lib/util_sock.c:open_socket_out(698)
    Connecting to at port 445
  [2004/02/20 17:51:38, 2] lib/util_sock.c:open_socket_out(733)
    error connecting to (Connection timed out)

Next, smbclient goes on to contact it on port 139, and all works great
right away.

Can I direct smbclient to not use 445?  Anyone have an idea why
smbclient is getting stuck in this tar pit for five minutes?


More information about the samba mailing list