[Samba] Re: IP in utmp: smbd/session.c
Tim Potter
tpot at samba.org
Tue Nov 26 01:33:00 GMT 2002
On Mon, 25 Nov 2002 12:48:50 +1100, Paul Szabo wrote:
> I disagree that DNS lookups are an issue. You use hostnames at least for
> log file names and for "hosts allow" lookups. The fashion lately is to put
DNS lookups are definitely an issue. If you have a broken DNS server then
mysterious slowdowns and hangs occur when clients try to connect. Samba
now does not require a working DNS server to clients to successfully
connect, except if you are using the hosts allow/deny functionality.
The log filenames can use the %m parameter which is replaced by the
NetBIOS name. This doesn't require a DNS lookup.
> tcp-wrappers around all remote services: does not samba deserve the
> same?
The hosts allow/hosts deny code uses the TCP wrapper code so it should be
equivalent to using /etc/hosts.{allow,deny}
> Sure, avoid repeated lookups (by saving the name upon first lookup); even
> implement short timeouts if really needed (but really, just refuse if the
> forward/reverse lookups do not "work").
But you can't tell whether the lookups work without actually doing one,
and if the lookup takes longer than 30 seconds the client times out
Tim.
More information about the samba
mailing list