[Pkg-samba-maint] Bug#594088: samba-common: wins server not added to /etc/samba/dhcp.conf
Maxim Nikulin
m.a.nikulin at gmail.com
Mon Aug 23 15:31:33 UTC 2010
Package: samba-common
Version: 2:3.4.8~dfsg-2
Severity: normal
/etc/samba/dhcp.conf file remains empty, although dhcp client receives
netbios-name-servers. If I add "wins server" to dhcp.conf by hand,
the file becomes empty on DHCP RELEASE event (ifdown eth0).
'ifup eth0' updates dhcp.conf modification time but it remains empty.
The DHCP client
ii isc-dhcp-clien 4.1.1-P1-9 ISC DHCP client
sets emty new_netbios_name_servers environment variable on DHCP RELEASE.
This wipes out "wins server" record from dhcp.conf. It should be
intended behaviour of /etc/dhcp3/dhclient-enter-hooks.d/samba
script. On DHCP BOUND event the scripts have equal
new_netbios_name_servers == old_netbios_name_servers variables.
dhclient-enter-hooks.d/samba has a special check for this case
and do nothing for this network interface, so "wins server" is not added
to /etc/samba/dhcp.conf.
I think, early "return"s from /etc/dhcp3/dhclient-enter-hooks.d/samba
should be removed.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages samba-common depends on:
ii debconf [debconf-2.0] 1.5.33 Debian configuration
management sy
ii ucf 3.0025 Update Configuration File:
preserv
Versions of packages samba-common recommends:
ii samba-common-bin 2:3.4.8~dfsg-2 common files used by both
the Samb
samba-common suggests no packages.
-- Configuration Files:
/etc/dhcp3/dhclient-enter-hooks.d/samba changed [not included]
-- debconf information:
* samba-common/encrypt_passwords: true
* samba-common/dhcp: true
* samba-common/workgroup: AA Aaaaa
samba-common/do_debconf: true
--
Maxim Nikulin
More information about the Pkg-samba-maint
mailing list