Re: smbclient

2020-04-17 Thread Nathan Stratton Treadway
On Fri, Apr 17, 2020 at 19:51:47 +0100, Nuno Dias wrote:
>  Hi,
> 
>  I'm trying to use the amsamba plugin, put fails everytime in the
> estimate.

I have a vague recollection of running in to an unexpected warning
message from from smbclient when I first set up Amanda 3.5.x with Samba
4.7.x), but it sounds like a different problem from yours.

What error messages do you find in the
.../client//Amsamba.2020*.debug log file?

(Knowing your OS and Amanda versions [and exact version of Samba] might
be helpful, too.)

Nathan


Nathan Stratton Treadway  -  natha...@ontko.com  -  Mid-Atlantic region
Ray Ontko & Co.  -  Software consulting services  -   http://www.ontko.com/
 GPG Key: http://www.ontko.com/~nathanst/gpg_key.txt   ID: 1023D/ECFB6239
 Key fingerprint = 6AD8 485E 20B9 5C71 231C  0C32 15F3 ADCD ECFB 6239


Re: smbclient

2020-04-17 Thread Alan Hodgson
On Fri, 2020-04-17 at 23:53 +0100, Nuno Dias wrote:
>  Hi,
> 
>  In my case is amanda 3.5.1 and samba 4.10.14
> 
>  This is my configuration
> 
> define application-tool app_amsamba {
> plugin   "amsamba"
> property "SMBCLIENT-PATH" "/usr/bin/smbclient"
> property "GNUTAR-PATH" "/bin/tar"
> property "AMANDAPASS" "/etc/amandapass"
> #property "ALLOW-ANONYMOUS" "guest"
> }
> 
> define dumptype samba   {
> global
> comment "Samba"
> program "APPLICATION"
> application "app_amsamba"
> }
> 
>  Can you tell me if is same as your? And what was the problem with
> amandapass?
> 

I have:

define application-tool app_amsamba {
comment "amsamba"
plugin "amsamba"
property "SMBCLIENT-PATH" "/usr/bin/smbclient"
property "GNUTAR-PATH" "/bin/tar"
property "ALLOW-ANONYMOUS" "NO"
property "RECOVER-MODE" "tar"
property "REGEX-MATCH" "NO"
}

Looks pretty similar.

I don't remember what the amandapass issue was, it looks like the
examples in the amsamba man page. I do seem to have it both in /etc and
symlinked in /etc/amanda, which suggests I had a file location issue and
didn't finish cleaning it up

Have you tested smbclient to make sure it works?



Re: smbclient

2020-04-17 Thread Nuno Dias
 Hi,

 In my case is amanda 3.5.1 and samba 4.10.14

 This is my configuration

define application-tool app_amsamba {
plugin   "amsamba"
property "SMBCLIENT-PATH" "/usr/bin/smbclient"
property "GNUTAR-PATH" "/bin/tar"
property "AMANDAPASS" "/etc/amandapass"
#property "ALLOW-ANONYMOUS" "guest"
}

define dumptype samba   {
global
comment "Samba"
program "APPLICATION"
application "app_amsamba"
}

 Can you tell me if is same as your? And what was the problem with
amandapass?

Thanks,
Nuno

On Fri, 2020-04-17 at 13:19 -0700, Alan Hodgson wrote:
> On Fri, 2020-04-17 at 19:51 +0100, Nuno Dias wrote:
> >  Hi,
> > 
> >  I'm trying to use the amsamba plugin, put fails everytime in the
> > estimate.
> > 
> >  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'm backing up one machine with amsamba from Amanda 3.5.1, using
> Samba version 4.11.6. So it can work.
> 
> I seem to recall having some issues getting amandapass right to start
> with.
-- 
Nuno Dias 
LIP



Re: smbclient

2020-04-17 Thread Alan Hodgson
On Fri, 2020-04-17 at 19:51 +0100, Nuno Dias wrote:
>  Hi,
>  I'm trying to use the amsamba plugin, put fails everytime in
> theestimate.
>  A search in google got me some results saying that some time ago
> thesamba version 4.x was incompatible with amanda, anyone knows if
> this isstill true?

I'm backing up one machine with amsamba from Amanda 3.5.1, using Samba
version 4.11.6. So it can work.
I seem to recall having some issues getting amandapass right to start
with.


smbclient

2020-04-17 Thread Nuno Dias
 Hi,

 I'm trying to use the amsamba plugin, put fails everytime in the
estimate.

 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?

Thanks,
Nuno
-- 
Nuno Dias 
LIP