Hi Diego,
Unfortunately your patch didn't solve my problem.
But thanks for replying.
Cheers,
Nuno
On Tue, 2020-04-21 at 08:01 +0200, Diego Zuccato wrote:
> Il 17/04/20 20:51, Nuno Dias ha scritto:
>
> > I'm trying to use the amsamba plugin, put fails everytime in the
> > estimate.
> Probably unrelated, but...
>
> > A search in google got me some results saying that some time ago
> > the
> > samba version 4.x was incompatible with amanda, anyone knows if
> > this is
> > still true?
> I have had to apply this patch:
>
> root@nas1:/usr/lib/amanda/application# diff -u amsamba.ori amsamba
> --- amsamba.ori 2019-07-16 09:09:28.430585521 +0200
> +++ amsamba 2019-07-18 10:44:37.257853728 +0200
> @@ -462,6 +462,7 @@
> debug("stderr: " . $_);
> next if /^Domain=/;
> next if /^WARNING/g;
> + next if /^Unable to initialize messaging context/;
> # message if samba server is configured with 'security = share'
> next if /Server not using user level security and no password
> supplied./;
> $self->print_to_server("smbclient: $_",
> @@ -554,6 +555,7 @@
> next if /^Domain=/;
> next if /dumped \d+ files and directories/;
> next if /^WARNING/g;
> + next if /^Unable to initialize messaging context/;
> # message if samba server is configured with 'security = share'
> next if /Server not using user level security and no password
> supplied./;
> debug("stderr: $_");
> @@ -758,6 +760,7 @@
> return if $line =~ /tarmode is now /;
> return if $line =~ /tar_re_search set/;
> return if $line =~ /WARNING/g;
> + return if $line =~ /^Unable to initialize messaging context/;
> if ($line =~ /dumped (\d+) files and directories/) {
> $nb_files = $1;
> return;
>
--
Nuno Dias <[email protected]>
LIP