I supposed you could script it. I've honestly never worked with Samba on any system with a DHCP IP address -- always static.
Aside from the IP issue, you could also just disable logging for nmbd. You can do it in swat or by adjusting the smb.conf file, though I do not recall the exact parameter to do so.
There's also an option for browse master you'll find somewhere in swat. A browse master for a work group maintains a list of machines and services offered within that work group, kind-of like a "poor man's" WINS but not quite as I believe SMB/CIFS will still broadcast query for machine names.
Man, I haven't played with this stuff in a LONG time :-)