lmhosts lookup question

Gerald Carter gcarter at valinux.com
Thu Mar 1 15:05:52 GMT 2001


On Thu, 01 Mar 2001 08:55:16 Michael Blinn wrote:
>
> > > 192.168.169.2     cvserver
> > > 192.168.169.2     "CVILLE         \0x1c"     #PRE
> > > 192.168.169.2     "CVILLE         \0x1b"     #PRE
> >
> > Samba does not use this format for lmhosts.  Please see
> > lmhosts(5) for more information.
> 
> What are the type codes for a PDC? I assume, like NT,  
> 1c and 1b will work in the samba (whitespace delimited?) 
> lmhosts file, though I've no idea of their respective 
> meanings...

Yes.  The NetBIOS resource types for names are the same.
The syntax per line is different.  Did you read lmhosts(5)
like I suggested?


       #
       # Sample Samba lmhosts file.
       #
       192.9.200.1    TESTPC
       192.9.200.20   NTSERVER#20
       192.9.200.21   SAMBASERVER

The resource byte is appended to the name with a '#'


Cheers, jerry
----------------------------------------------------------------------
   /\  Gerald (Jerry) Carter                     Professional Services
 \/    http://www.valinux.com/  VA Linux Systems   gcarter at valinux.com
       http://www.samba.org/       SAMBA Team          jerry at samba.org
       http://www.plainjoe.org/                     jerry at plainjoe.org

       "...a hundred billion castaways looking for a home."
                                - Sting "Message in a Bottle" ( 1979 )





More information about the samba-ntdom mailing list