[Pkg-samba-maint] Bug#299618: Possible patch for this issue
Christian Perrier
bubulle at debian.org
Sun Dec 7 10:47:01 UTC 2008
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.
--
-------------- next part --------------
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20081207/d414672b/attachment.pgp
More information about the Pkg-samba-maint
mailing list