FW: /etc/lmhosts

graham.dodd at ramstein.af.mil graham.dodd at ramstein.af.mil
Wed Sep 30 14:48:45 GMT 1998


> I ran testparm and got: name resolve order = lmhosts host wins bcast
> 
> When I put the workstation netbios name in /etc/hosts smbmount works as
> advertised, but it seems to ignore /etc/lmhosts
> 
> How can I identify samba's root from an RPM installation?
> 
> 
> Graham
> 
> -----Original Message-----
> From:	Maurice Lefebvre [SMTP:lefebvre at mercure.umh.ac.be]
> Sent:	Wednesday, September 30, 1998 15:25
> To:	graham.dodd at ramstein.af.mil
> Subject:	Re: /etc/lmhosts
> 
> Do you set up any info in the name resolve order param of smb.conf. use
> testparm to check it.
> 
> Anyway, the location of the lmhosts is determine at the compilation
> process,
> when you define Samba root. It's in the lib directory of the samba root.
> 
> -C. Dumont
> 
> -----Message d'origine-----
> De : graham.dodd at ramstein.af.mil <graham.dodd at ramstein.af.mil>
> À : C.Dumont at mercure.umh.ac.be <C.Dumont at mercure.umh.ac.be>
> Date : mercredi 30 septembre 1998 14:21
> Objet : RE: /etc/lmhosts
> 
> 
> >Christophe,
> >                 thank you for the reply, but it still doesn't work.
> >
> >I have the rpm'd version of samba, smbd and nmbd are installed in
> /usr/sbin
> >
> >I tried creating /usr/local/samba/lib/lmhosts, but I still get the
> message:
> >warbird: unknown host. The -I option may be useful
> >
> >I also tried starting nmbd with -H /etc/lmhosts
> >
> >Have I missed something in the smb.conf?
> >
> >
> >Graham
> >
> >> -----Original Message-----
> >> From: Christophe Dumont [SMTP:C.Dumont at mercure.umh.ac.be]
> >> Sent: Wednesday, September 30, 1998 07:48
> >> To: Graham.Dodd at ramstein.af.mil
> >> Subject: Tr: /etc/lmhosts
> >>
> >>
> >> -----Message d'origine-----
> >> De : Christophe Dumont <C.Dumont at mercure.umh.ac.be>
> >> À : Samba-list <samba at samba.anu.edu.au>
> >> Date : mercredi 30 septembre 1998 7:47
> >> Objet : Re: /etc/lmhosts
> >>
> >>
> >> >The path /etc/lmhosts is not the good one. The right location is
> >> >/usr/local/samba/lib/lmhosts if you installed samba in
> /usr/local/samba.
> >> >
> >> >The syntax is:
> >> >IP.Add.ress   NetBIOS_name
> >> >
> >> >-C. Dumont
> >> >


More information about the samba mailing list