[Samba] Creating static WINS entries in Samba 4

John Sanders turolate at yahoo.com
Tue Feb 23 23:27:37 UTC 2016


Hi, This is a question regarding WINS in Samba 4

I need to add a permanent record to the WINS database in Samba

I'm using Samba 4.1.17+dfsg-2+deb8u1 in Debian 8

According to this document:

https://www.samba.org/samba/docs/man/Samba3-HOWTO/tdb.html

There are two files where the WINS records are stored:

wins.dat which is re-created upon restart, and wins.tdb which is meant to be the permanent database where static entries need to be declared.

Both files live in Debian at the directory "/var/lib/samba/"

In the web page referenced above it mentions explicitly about creating entries in wins.tdb:

""The working permanent storage for all WINS data. This database is used only when wins support = yes has been set in the smb.conf file. Note: This retains all manually configured WINS entries. Manual setting can be done use the net utility. ""

So here is the question: how does one create static WINS entries using the "net" utility???

I have spent quite some time online trying to find the answer, sadly Samba documentation is what it is right now, and I keep finding contradicting posts and old documents online that do not help me much to solve the mistery.

Can anybody help this poor soul? I would be eternally grateful. Regards :-)Turo Late


More information about the samba mailing list