Domain logon problem

Johan Carlstedt
Thu, 08 Jan 1998 18:54:12 -0000

Problem:

Domain logons temporary fail for a few minutes on all smb clients
on the network.

Reason:

When using WINS support in samba-1.9.17p5 and the client request
a resolv of a host-adress the sys_gethostbyname() system call in nmbd will
block. When resolving a non-existant hostname or communicating
with a slow nameserver the entire nmbd functionality will be unavailable
causing this problem.

Example:


When a user selects a url in a browser like
file://hostname/file
the file will be accessed using smb and the hostname
will be resolved through WINS.

Known workarounds:

1. Disable WINS  :-)
2. Use another host (for example a Windows NT server) as WINS

Possible bugs:

It is not possible to disable DNS resolutions of Internet hostnames.
The "proxy dns = no" under section [global] in smb.conf does not avoid
this problem.


With friendly regards,

Mikael Brandstr?m		Johan Carlstedt
mikael@Katedral.SE		johan@Katedral.SE

The Cathedral School of Uppsala, Sweden