Hi,

Since I upgraded to Samba 4, I cannot backyp my Windows machine.

Poking around, the command used by Amanda sendsize is:

Mon Jul  2 00:14:39 2018: thd-0x805422c00: sendsize: Spawning
    "/usr/bin/smbclient smbclient "\\\\olivier\\drivec" -d 0 -U backup -E -W
    olivier -c "archive 1;recurse;du"" in pipeline

When I try the following command in Samba 3, it works, but not in Samba
4:

smbclient "\\\\olivier\\drivec" -d 0 -U backup -E -W olivier -c "archive
     1;recurse;du"

If I use single back-slash or no double-quote in Samba 4, it works.

The error is NT_STATUS_UNSUCCESSFUL

Is there a way to configure the smblient command without patching
Amanda?

Best regards,

Olivier
-- 

Reply via email to