Samba won't dance (more info)

Craig White craigwhite at azapple.com
Wed Apr 16 02:33:28 UTC 2008


On Tue, 2008-04-15 at 22:12 +0100, Anne Wilson wrote:
> On Tuesday 15 April 2008 20:12:28 Tim wrote:
> > On Tue, 2008-04-15 at 17:53 +0100, Anne Wilson wrote:
> > > Copy the contents of /etc/hosts into /etc/samba/lmhosts, re-start
> > > samba, leave it a while, then try again.
> >
> > Umm, no.  Not exactly...
> >
> > The hosts and lmhosts file have different formats.  You could copy the
> > same hostnames and IPs into the lmhosts file, but I found it easier to
> > configure Samba to use normal DNS style resolution, rather than have yet
> > another file to configure (the lmhosts file).
> >
> What exactly do you mean by 'normal DNS style'?  I did forget to say 'remove 
> the aliases'.  Copying across and editing made sure that I got everything 
> over.
----
man smb.conf

see section 'name resolve order'

As for LMHOSTS file...see

http://en.wikipedia.org/wiki/LMHOSTS

the format is decidedly different than a UNIX hosts file

Craig




More information about the users mailing list