[Samba] Re: Samba 3.0.0-2 WINS Static entries

John H Terpstra jht at samba.org
Tue Nov 18 15:44:33 GMT 2003


On Tue, 18 Nov 2003, Brett Maton wrote:

> I have now thanks John,
>
>   Initially I just added the #03 entries had still had no joy,
>  although they remained in the wins.dat file now that I'm adding them when
> nmbd isn't running ;-)
>
> I added entries for #00 and #20 and now every thing seems to be working just
> fine.
>
> It maybe worth adding the above pointers to the Samba How-to Guide ?

Will do.

Cheers,
John T.

>
> Thanks again,
>
> Brett
>
>
> On Tue, 18 Nov 2003, Brett Maton wrote:
>
> > Hi John,
> >
> >   Thanks for the input, I did eventually find a site that mentioned the
> fact
> > that nmbd had to be stopped before adding static entries....
> >
> >   We don't run DNS internally here and I was hoping to effectively replace
> > the local users hosts file by adding static entries for our 'nix servers
> >   that don't run samba (mail database etc..)
>
> Sounds like a good enough reason to me.
>
> Are you saying that you have it working now?
>
> - John T.
>
> >
> > Brett
> >
> > ----- Original Message -----
> > From: "John H Terpstra" <jht at samba.org>
> > To: "Brett Maton" <brett.maton at itaccounting.co.uk>
> > Cc: <samba at samba.org>
> > Sent: Tuesday, November 18, 2003 2:44 PM
> > Subject: Re: [Samba] Samba 3.0.0-2 WINS Static entries
> >
> >
> > > On Tue, 18 Nov 2003, Brett Maton wrote:
> > >
> > > > Hi,
> > > >
> > > >   I'm trying to add static entries to the wins.dat file, as per The
> > > >   Official Samba 3 How-to guide but can't get it to work.
> > >
> > > I am curious to understand why you need static entries. Please give me
> an
> > > overview of what you aretrying to achieve. Let's see if there is no
> better
> > > way.
> > >
> > > >   If I add entries and just leave it be, the server responds with
> > > >   unknown host and If I restart nmbd it removes all the entries
> (static)
> > > >   that I manually added.
> > >
> > > You must stop nmbd before creating any static entries. If on restart the
> > > static entries get deleted that would be a bug.
> > >
> > > I just tried adding a static entry and found no problem with the entry.
> It
> > > remaind there without problem across several restarts.
> > >
> > > VERSION 1 0
> > > "AJT#03" 1069455237 192.168.1.252 64R
> > > "AURORA#00" 1069484372 192.168.1.252 64R
> > > "AURORA#03" 1069455242 192.168.1.252 64R
> > > "AURORA#20" 1069484371 192.168.1.252 64R
> > > "FRODO#00" 1069425412 192.168.1.1 66R
> > > "FRODO#03" 1069425412 192.168.1.1 66R
> > > "FRODO#20" 1069425412 192.168.1.1 66R
> > > "LCT#03" 1069484803 192.168.1.250  4R
> > > "MELBELLE#00" 1069484803 192.168.1.250  4R
> > > "MELBELLE#03" 1069484803 192.168.1.250  4R
> > > "MELBELLE#20" 1069484803 192.168.1.250  4R
> > > "MIDEARTH#00" 1069425412 255.255.255.255 e4R
> > > "MIDEARTH#1b" 1069425412 192.168.1.1 64R
> > > "MIDEARTH#1c" 1069425412 192.168.1.1 e4R
> > > "MIDEARTH#1e" 1069425412 255.255.255.255 e4R
> > > "MURPHY#00" 0 192.168.1.7 64R
> > > "MURPHY#03" 0 192.168.1.7 64R
> > > "MURPHY#20" 0 192.168.1.7 64R
> > >
> > > Note: MURPHY is my static entry.
> > >
> > > >   Am I doing something wrong or is this a bug ?
> > >
> > > What are the precise steps you are following? I'd like to know so I can
> > > reproduce your problem.
> > >
> > > - John T.
> > > --
> > > John H Terpstra
> > > Email: jht at samba.org
> > >
> >
> >
>
>

-- 
John H Terpstra
Email: jht at samba.org



More information about the samba mailing list