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@samba.org