Package: amanda-server
Version: 1:3.3.9-4
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate
***

Hi,

as requested I have attached the two patches from Jean-Louis Martineau.

These patches are required to get Amanda working with the new Samba /
smbclient.

Greetings and thanks,
Tobias Köck
---
Betreff: Re: need to have samba-4.2.11 on amanda server

Hi All,

The attached patch fix amsamba in 3.4.1 to works with newer version of
samba.

In 3.3.9 you also need the patch from
https://github.com/zmanda/amanda/commit/585b2139153f8d4a93ccc796983eedfa5a38e6ce

Jean-Louis

---
*** End of the template - remove these template lines ***

-- System Information:
Debian Release: 9.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages amanda-server depends on:
ii  amanda-common      1:3.3.9-4
ii  bsd-mailx [mailx]  8.1.2-0.20160123cvs-3
ii  libc6              2.24-9
ii  libcurl3           7.52.1-1
ii  libglib2.0-0       2.50.2-2
ii  libssl1.1          1.1.0c-2
ii  mailutils [mailx]  1:3.1.1-1
pn  perl:any           <none>

amanda-server recommends no packages.

Versions of packages amanda-server suggests:
ii  amanda-client  1:3.3.9-4
ii  cpio           2.11+dfsg-6
ii  gnuplot        5.0.5+dfsg1-5

-- no debconf information
diff --git a/application-src/amsamba.pl b/application-src/amsamba.pl
index 147deb8..5012100 100644
--- a/application-src/amsamba.pl
+++ b/application-src/amsamba.pl
@@ -441,6 +441,7 @@ sub command_selfcheck {
        push @ARGV, "-c", "quit";
        debug("execute: " . $self->{smbclient} . " " .
              join(" ", @ARGV));
+       $ENV{'LC_CTYPE'} = 'en_US.UTF-8';
        exec {$self->{smbclient}} @ARGV;
     }
     #parent
@@ -520,6 +521,7 @@ sub command_estimate {
        }
        debug("execute: " . $self->{smbclient} . " " .
              join(" ", @ARGV));
+       $ENV{'LC_CTYPE'} = 'en_US.UTF-8';
        exec {$self->{smbclient}} @ARGV;
     }
     #parent
@@ -663,6 +665,7 @@ sub command_backup {
        push @ARGV, "-c", $comm;
        debug("execute: " . $self->{smbclient} . " " .
              join(" ", @ARGV));
+       $ENV{'LC_CTYPE'} = 'en_US.UTF-8';
        exec {$self->{smbclient}} @ARGV;
     }
 

Reply via email to