I actually wonder whether we really need to reload the samba daemons when doing our magic in smb.conf in DHCP enter/exit hooks.
Indeed, after discussing with Volker, this is probably useless as nmbd never re-register with a new WINS server, so to make what we want we need to *restart* nmbd, not reload it. I would actually be in favor of *not* reloading /etc/init.d/samba at all...until we find better way to handle this (such as kniwing when we are in the shutdown/reboot process).
signature.asc
Description: Digital signature