I have just set up a Linux box with a Samba server. The main reason I have
Samba is to get the machine's IP address into WINS. Everytime I reboot the
machine, it gets a different IP address, and when it tries to register its
hostname, it fails, because the old one is still in WINS.
My smb.conf is appended.
Is there any way to remove a stale hostname from WINS? Better yet, is there
a standalone WINS client for Linux?
Any help appreciated,
workgroup = DOMAIN
server string = My Server
load printers = no
log file = /var/log/samba/log.%m
max log size = 50
security = server
password server = MYSERVER
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = no
os level = 0
domain master = no
preferred master = no
wins server = 172.16.252.99
dns proxy = no
comment = Home Directories
browseable = no
writable = yes
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!