[Samba] How the program spoolss works ?

L.P.H. van Belle belle at bazuin.nl
Thu Feb 6 14:12:54 UTC 2020


Hai, 

There is a small bug in the directories. 

Verify this: 

[print$]
   comment = Printer Drivers
   path = /var/lib/samba/printers 

Check if you see these folders in /var/lib/samba/printers 

color  IA64  W32ALPHA  W32MIPS  W32PPC  W32X86  WIN40  x64

Most probley you need to : 
rmdir var/lib/samba/printers/COLOR
mkdir var/lib/samba/printers/color

And restart samba

Lets start there, if that does not fixes it, please post the complete smb.conf


Greetz, 

Louis


> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens 
> nathalie ramat via samba
> Verzonden: donderdag 6 februari 2020 14:10
> Aan: samba at lists.samba.org
> Onderwerp: [Samba] How the program spoolss works ?
> 
> Hello,
> 
> I test samba 4.9.5 in my debian buster . Almost everything works. My 
> last problem concerns the printers.
> 
> I  could need some help explaining my logs .I have this :
> 
> /usr/sbin/smbd: reloading printcap cache
> 
> /usr/sbin/smbd: reload status: ok
> 
> /usr/sbin/smbd: pid_to_procid: messaging_dgm_get_unique 
> failed: Aucun fichier ou dossier de ce type
> 
> /usr/sbin/smbd: send_all_fn: messaging_send_buf to 15718 
> failed: NT_STATUS_OBJECT_NAME_NOT_FOUND
> 
> 
> I want to use cups for my printers. Cups is ok - On my 
> server, i can print all documents.
> 
> I use in my smb.conf
> 
> load printers = yes
> printing= cups
> printcap name = cups
> disable spoolss = no
> 
> 
> [printers]
> 
> comment = all printers
> path=/var/spool/samba
> writable =yes
> printable =yes
> guest ok = yes
> use client driver = yes
> 
> The above error message will appear but I can create my 
> printer on my windows client .I can print also.
> 
> 
> 
> The message disappeared when I use the command disable 
> spoolss = yes but I can't create printer on my windows client.
> 
> I obtains this message : spoolss is not a registered pipe .
> It's normal - I have disable it . spoolss is necessary.
> 
> 
> But how works this programm  -  Samba want to access a 
> directory that does not exist or on which it does not have 
> the rights . But I have no information on this directory or 
> files. How can I have it ?
> 
> Thanks
> 
> Nathalie
> 
> 
> 
> 
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
> 
> 




More information about the samba mailing list