James B. Byrne
2020-Jun-29 15:47 UTC
[Samba] Need help resolving or understanding these error messages in smbd.log
I am down to reconciling these last few samba_server startup messages in smbd.log: Item 1. [2020/06/29 11:29:49.887167, 1] ../../source3/printing/printer_list.c:234(printer_list_get_last_refresh) Failed to fetch record! We do not use samba as a print server and no printers are defined for that host. How do we turn off this message? Item 2. [2020/06/29 11:29:49.900481, 1] ../../source3/lib/messages.c:899(send_all_fn) send_all_fn: messaging_send_buf to 85568 failed: NT_STATUS_OBJECT_NAME_NOT_FOUND . . . We get five to ten, or more, of these messages on startup. What causes these and how are they fixed or silenced? That appears to be all that needs explaining before we go on to the next part of the test. If someone could answer these questions I would appreciate it. Thanks, -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Do NOT open attachments nor follow links sent by e-Mail James B. Byrne mailto:ByrneJB at Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3
James B. Byrne
2020-Jun-29 15:55 UTC
[Samba] Need help resolving or understanding these error messages in smbd.log
On Mon, June 29, 2020 11:47, James B. Byrne wrote:> I am down to reconciling these last few samba_server startup messages in > smbd.log: > > Item 1. > > [2020/06/29 11:29:49.887167, 1] > ../../source3/printing/printer_list.c:234(printer_list_get_last_refresh) > Failed to fetch record! > > We do not use samba as a print server and no printers are defined for that > host. How do we turn off this message? > > Item 2. > > [2020/06/29 11:29:49.900481, 1] ../../source3/lib/messages.c:899(send_all_fn) > send_all_fn: messaging_send_buf to 85568 failed: > NT_STATUS_OBJECT_NAME_NOT_FOUND > . . . > > We get five to ten, or more, of these messages on startup. What causes these > and how are they fixed or silenced? > > > That appears to be all that needs explaining before we go on to the next part > of the test. If someone could answer these questions I would appreciate it. > > Thanks, > > >Evidently, these two items are related. Turning off printing in smb4.conf removed both from the startup log: [global] . . . load printers = no printing = bsd printcap name = /dev/null disable spoolss = yes -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Do NOT open attachments nor follow links sent by e-Mail James B. Byrne mailto:ByrneJB at Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3