Stefan G. Weichinger
2019-Jan-02 08:32 UTC
[Samba] smbclient (Samba 4.9.4) "Unable to initialize messaging context"?
Am 21.12.18 um 16:47 schrieb Peter Eriksson via samba:>> What is "Unable to initialize messaging context"? >> >> I see a patch back in July, related to "Fix bug 13465", >> https://lists.samba.org/archive/samba-technical/2018-July/129186.html but it >> is unclear why the message is still being issued? > > Because that patch for bug 13465 fixes a similar error message in another part of the code… > > (Notice that the error message does not end in a “.” or a “!” which the other patch fixes :-) > > I just added the below patch to my own-compiled 4.9.4 tree :-)Unfortunately I have to report that I also get this message with samba-4.8.8 (van-belle repo) on Debian 9.6, when I check my backup connection to a Windows 2008 R2 server (running "amcheck" from the amanda backup suite which is then using smbclient under the hood). happy new year to all of you, by the way ;-)
Rowland Penny
2019-Jan-02 09:44 UTC
[Samba] smbclient (Samba 4.9.4) "Unable to initialize messaging context"?
On Wed, 2 Jan 2019 09:32:55 +0100 "Stefan G. Weichinger via samba" <samba at lists.samba.org> wrote:> Am 21.12.18 um 16:47 schrieb Peter Eriksson via samba: > > >> What is "Unable to initialize messaging context"? > >> > >> I see a patch back in July, related to "Fix bug 13465", > >> https://lists.samba.org/archive/samba-technical/2018-July/129186.html > >> but it is unclear why the message is still being issued? > > > > Because that patch for bug 13465 fixes a similar error message in > > another part of the code… > > > > (Notice that the error message does not end in a “.” or a “!” which > > the other patch fixes :-) > > > > I just added the below patch to my own-compiled 4.9.4 tree :-) > > Unfortunately I have to report that I also get this message with > samba-4.8.8 (van-belle repo) on Debian 9.6, when I check my backup > connection to a Windows 2008 R2 server (running "amcheck" from the > amanda backup suite which is then using smbclient under the hood). > > happy new year to all of you, by the way ;-) >Happy new year Stefan (and everybody else) ;-) I think this message is one of those that can be ignored. If I run 'smbclient -U% -Llocalhost' on Samba 4.9.4 as a normal user, I get: Unable to initialize messaging context Sharename Type Comment --------- ---- ------- ........... ........ ...... But, as root, I get: Sharename Type Comment --------- ---- ------- ........... ........ ...... The only difference being the 'Unable to initialize messaging context' line. Rowland
Stefan G. Weichinger
2019-Jan-02 10:05 UTC
[Samba] smbclient (Samba 4.9.4) "Unable to initialize messaging context"?
Am 02.01.19 um 10:44 schrieb Rowland Penny via samba:> I think this message is one of those that can be ignored. > > If I run 'smbclient -U% -Llocalhost' on Samba 4.9.4 as a normal user, I > get: > > Unable to initialize messaging context > > Sharename Type Comment > --------- ---- ------- > ........... > ........ > ...... > > But, as root, I get: > > Sharename Type Comment > --------- ---- ------- > ........... > ........ > ...... > > The only difference being the 'Unable to initialize messaging context' > line.I'd be happy to ignore it ... but amanda, the backup program, does not ;-) The amcheck/amdump binaries fail ... so smbclient-related backups don't work currently. I might try to edit the amanda-config to somehow ignore it.