Your message dated Thu, 3 Nov 2011 18:51:58 +0100
with message-id <[email protected]>
and subject line Re: [Pkg-samba-maint] Bug#647523: samba-common: 
/etc/samba/dhcp.conf remains empty when it shouldn't
has caused the Debian Bug report #647523,
regarding samba-common: /etc/samba/dhcp.conf remains empty when it shouldn't
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
647523: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=647523
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: samba-common
Version: 2:3.5.6~dfsg-3squeeze5
Severity: normal
Tags: patch


/etc/samba/dhcp.conf should contain a "wins server = foo" line that is
made of the dhcp netbios-name-servers response, but it is created
empty instead.

Here is a patch that fixes the problem (for me):

--- /etc/dhcp3/dhclient-enter-hooks.d/samba-original    2011-07-27 
08:55:45.000000000 +0200
+++ /etc/dhcp3/dhclient-enter-hooks.d/samba             2011-11-03 
15:11:57.000000000 +0100
@@ -20,7 +20,7 @@

        # the destination file won't exist yet on the first run after
        # installing samba
-       if [ -e $SAMBA_DHCP_CONF ]
+       if [ -s $SAMBA_DHCP_CONF ]
        then
                # don't continue if no settings have changed
                  if [ "$new_netbios_name_servers" = 
"$old_netbios_name_servers" ] \




-- System Information:
Debian Release: 6.0.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.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.36.1    Debian configuration management sy
ii  ucf                          3.0025+nmu1 Update Configuration File: preserv

Versions of packages samba-common recommends:
ii  samba-common-bin  2:3.5.6~dfsg-3squeeze5 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: WORKGROUP
  samba-common/do_debconf: true




--- End Message ---
--- Begin Message ---
Version: 2:3.5.6~dfsg-5

Quoting Bert Burgemeister ([email protected]):
> 
> Package: samba-common
> Version: 2:3.5.6~dfsg-3squeeze5
> Severity: normal
> Tags: patch
> 
> 
> /etc/samba/dhcp.conf should contain a "wins server = foo" line that is
> made of the dhcp netbios-name-servers response, but it is created
> empty instead.
> 
> Here is a patch that fixes the problem (for me):


This has been fixed in the above version and was already reported as
#594088.


Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to