Created attachment 18243 [details] smb.conf Hi, I have a problem upgrading samba from 4.14 to 4.17; the problem concern bsd printing. I have some bsd virtual printers configured to run a script that convert in pdf the printing and classify the document printed. When I print all seems to works except that the document printed is not removed from the spool an locks further printing. In attachment you can find my smb.conf. The script called by testBSD printer is the following: # cat /opt/scripts/bin/testBSD.sh #!/bin/bash user_name=$(whoami | sed 's/^DOMINIOCSA\\//') user_home=~ Filelog=$user_home/.$(basename "$0" .sh).log echo "" >> $Filelog echo "-----------------------------------------------" >> $Filelog echo $(date +"%d/%m/%Y %H:%M:%S") >> $Filelog i=0 while [ $i -lt $# ]; do i=$(($i+1)) echo "\$$i: $(eval "echo \$$i")" >> $Filelog done [ -f "$1" ] && rm -f "$1" && echo "I: spool file successfully removed." >> $Filelog When I print, in the user home .testBSD.log I find: 08/02/2024 10:45:07 $1: smbprn.kvZAmu $2: testBSD $3: win10pro-v01 $4: $5: 0.0.0.0 $6: Pagina di prova $7: testBSD $8: DOMINIOCSA I: spool file successfully removed. but as I said the printer spool is not removed and lock further printing. In samba 4.14, using the same settings and script, I don't find the problem. I fear that the problem is tied to spool_ss because in the samba wiki[¹] I can read in the "Enabling the spoolssd Service", This only applies to Samba version 4.15 and older versions! There is a way to disable spool_ss to see if the problem disappear? Piviul [¹] https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Print_Server