Am 2017-02-14 um 13:05 schrieb Jean-Louis Martineau:
> On 14/02/17 04:38 AM, Stefan G. Weichinger wrote:
>> Is there a "ignore" for amsamba as well?
> no
> 
>> manpage doesn't tell.
>>
>> I have to ignore that:
>>
>>
>> Amanda Backup Client Hosts Check
>> --------------------------------
>> ERROR: booze: smbclient: WARNING: The security=share option is deprecated
>> ERROR: booze: Application 'amsamba': exited with status 1
>> Client check: 1 host checked in 0.749 seconds. 2 problems found.
>>
>> Yeah, I know, I should fix that samba config.
> 
> then do it, change the security settin gin smb.conf
> 
> Jean-Louis

done.
Samba 4.2.14, security=user

Amanda 3.4.2:

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

define dumptype amsamba {
        comment "per smbclient"
        global
        program "APPLICATION"
        application "app_amsamba"
}

#disklist
booze pc_buchhaltung_sage //BH/SAGE {
amsamba
dumpcycle 7
compress none
} 1 local

->

$ amcheck -c daily
Amanda Backup Client Hosts Check
--------------------------------
HOST booze ERROR: smbclient: OS=[Windows 5.1] Server=[Windows 2000 LAN
Manager]
HOST booze ERROR: //BH/SAGE: Application 'amsamba': exited with status 1
Client check: 1 host checked in 0.532 seconds.  2 problems found.
(brought to you by Amanda 3.4.2)

client is XP, unfortunately I can't change that easily.
Old machine kept up for reference purposes.

Reply via email to