[Samba] sys_gethostbyname error causing large delay in session setup

Gerald Carter jerry at samba.org
Tue Mar 26 07:20:05 GMT 2002


On Mon, 25 Mar 2002 Adam.Read at excellus.com wrote:

> I am running Samba version 2.2.3-pre and have run into a slowdown.  This
> doesn't seem to be a problem for my account (mapped as root), but it
> creates a delay in the session setup for my users.  The delay can be
> anywhere from 30 seconds to over a minute.  I cannot find a true cause, as
> the computer name is resolved correctly.  These are NT4.0 clients, and they
> are only in WINS, so no DNS entries for them or /etc/hosts / lmhosts
> entries.
> Consequently, I don't even have an lmhosts file.
> 
> Here is a snippet of the log @ level 3 (sorry, don't have too much disk

Do you have "hosts allow = <hostnames>"?  Try using the IP addresses
in this line instead.  Also try setting "log level = 0".








cheers, jerry
 ---------------------------------------------------------------------
 Hewlett-Packard                                     http://www.hp.com
 SAMBA Team                                       http://www.samba.org
 --                                            http://www.plainjoe.org
 "Sam's Teach Yourself Samba in 24 Hours" 2ed.      ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--





More information about the samba mailing list