tags 299618 patch thanks Back in 2005(!), Marc reported that samba's DHCP hook script does not remove existing WINS servers from /etc/samba/dhcp.conf when the DHCP server does not provide any WINS server address.
The attached patch should fix this. Please comment. If it is OK, I'll activate it in the experimentl branch. --
Index: samba-common.dhcp =================================================================== --- samba-common.dhcp (révision 2219) +++ samba-common.dhcp (copie de travail) @@ -23,7 +23,8 @@ then # don't continue if no settings have changed if [ "$new_netbios_name_servers" = "$old_netbios_name_servers" ] \ - && [ "$new_netbios_scope" = "$old_netbios_scope" ] + && [ "$new_netbios_scope" = "$old_netbios_scope" ] \ + && [ -n "$new_netbios_name_servers" ] then return fi
signature.asc
Description: Digital signature