Sammy Ellis
2020-Sep-25 15:27 UTC
[Samba] Samba Process stops while trying to print to a CUPS
I have a Linux RHEL 7.8 server that has been having issues with CUPS printing with Samba. A few notes: - Samba Version 4.10 - CUPS Version 1.6.3 - Windows Connecting Client - Windows Server 2016 - I do see the print job making it to the configured path in the smb.conf file - I am able to manually print to the CUPs printer - Therefore I know Samba is working, and CUPs are working - When I tail the log.smbd file it seems to stop at the same please every time. - To me, the behavior seems like Samba is having an issue with the CUPS API it was built against. Any advice one what to look for next? I'm real close to just building another server. *Samba Config (redacted)* [global] workgroup = WORKGROUP server string = MyCompany Server 8.3 RH7 netbios name = MyCompany hosts allow = . server min protocol = SMB2_10 client min protocol = SMB2 client max protocol = SMB3 log file = /var/log/samba/log.%m max log size = 50 dns proxy = no log level = 5 security = user passdb backend = tdbsam map to guest = bad user guest account = MyGuestAccount printing = CUPS printcap name = cups load printers = yes cups options = raw # Samba Configuration file [printers] comment = All Printers path = /var/spool/samba browseable = yes guest ok = yes writeable = no public = yes print command = lp -d %p -s %s *Log.smbd File (printing to vch2)* [2020/09/25 09:20:31.513309, 5] ../../source3/printing/printing.c:1587(print_queue_update_with_lock) print_queue_update_with_lock: printer share = vch2 [2020/09/25 09:20:31.513384, 4] ../../source3/printing/printing.c:1373(print_cache_expired) print_cache_expired: cache expired for queue vch2 (last_qscan_time 1601046985, time now = 1601047231, qcachetime = 30) [2020/09/25 09:20:31.513416, 5] ../../source3/printing/printing.c:1205(set_updating_pid) set_updating_pid: updating lpq cache for print share vch2 [2020/09/25 09:20:31.513448, 5] ../../source3/printing/printing.c:1428(print_queue_update_internal) print_queue_update_internal: printer = vch2, type = 8, lpq command [vch2] [2020/09/25 09:20:31.513467, 5] ../../source3/printing/print_cups.c:1180(cups_queue_get) cups_queue_get(vch2, 0x7fff8bb069b8, 0x7fff8bb06a20) [2020/09/25 09:20:31.514957, 3] ../../source3/printing/printing.c:1449(print_queue_update_internal) print_queue_update_internal: 0 jobs in queue for vch2 [2020/09/25 09:20:31.515333, 5] ../../source3/printing/printing.c:1205(set_updating_pid) set_updating_pid: not updating lpq cache for print share vch2