Re: smbclient usage fails with "Unable to initialize messaging context"
"Stefan G. Weichinger" <[email protected]> Sun, 6 Jan 2019 10:53:22 +0100
| Newsgroups | gmane.comp.archivers.amanda.user,gmane.comp.archivers.amanda.devel |
|---|---|
| Message-ID | <[email protected]> |
Am 05.01.19 um 00:31 schrieb Uwe Menges: > 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 ^. Thanks for the suggestion, I tried three variations now without success. Always the warning in the email reports. I tried: next if /^Unable to initialize messaging context/g; next if /Unable to initialize messaging context/g; next if /Unable to initialize messaging context/;