Re: smbclient usage fails with "Unable to initialize messaging context"
Uwe Menges <[email protected]> Sat, 5 Jan 2019 00:31:13 +0100
| Newsgroups | gmane.comp.archivers.amanda.user,gmane.comp.archivers.amanda.devel |
|---|---|
| Message-ID | <[email protected]> |
On 1/4/19 7:51 PM, Stefan G. Weichinger wrote:
> I couldn't find a way to exclude/ignore such messages from smbclient
> within amsamba. And browsing the script itself it wasn't clear to me
> non-coder how and where to add that.
I'm not able to test that, my perl is rusty, I didn't take a close look,
yadda yadda..
Try to add to amsamba after both (L433 + L521):
next if /^WARNING/g;
+ next if /^Unable to initialize messaging context/g;
Or if the message doesn't really start at first column, omit the ^.
Yours, Uwe