[KLUG Members] Samba wins-to-dns

Peter Buxton members@kalamazoolinux.org
Tue, 20 Aug 2002 01:44:14 -0400


On Mon, Aug 19, 2002 at 07:40:01AM -0400, adam@morrison-ind.com wrote:

> My dns_update script called by wins hook is as follows:

What a strange scripting style. <shrug> Oh, well, it works. Thanks!

A couple odd things, though, which are undoubtedly the 'fault' of Samba
rather than the script. The script has three settings: Server,
workstation and user, but when I set it to user the Win95 box is added
to the dynDNS as soon as it boots. Now, I understand the box is
registered with the WINS server, but I am a bit surprised that it is
counted as a user. When I set it to workstation, the user is not added
at all.

Ah. Samba registers a Win95 box (with file sharing installed, if that
means anything) as 20, 03 and 00.

Also, the script doesn't seem to use the add/refresh/delete commands
given to it by Samba, either. Hmmmm.

-- 
http://www.killdevil.org/~peter (/gpg.html)
It's like looking at your past crimes at a parole
hearing. -- John Waters on _Pink_Flamingos_