openSUSE VERSION = 15.2 SAMBA Version 4.11.14-git.247.8c858f7ee14lp152.3.19.1-SUSE-oS15.0-x86_64 Greetings, this week I've installed a fresh SuSE 15.2 Server via DVD, and updated all services. This server would replace an existing old SuSE Server already in place. My problem is that the printer SHARE on the new Samba Server does not work. The file system shares [HOME] work fine, Just not any Printing shares that use "PRINT COMMAND =" as directive; in order to execute tailored script. My example is a simple PDF-Printer [pdf] printing = sysv comment = PDF Generator path = /tmp read only = no printer name = ps1 guest ok = yes printable = yes browseable = yes print command = /usr/local/lufa/mkpdf %s ~%u //%L/%u %m %I Being able to use "print command =" to submit to script is an important part of many solutions that I need to have in place. (The [PDF] share is just an example, I know that I could solve THIS differently.) Other file server shares like [HOMES] work fine. Just the "print command = " does not execute. Scripting to a log file shows no activity at all, and I receive no error messages, neither from the client nor from the samba server. Does anyone know how to debug the printing service. As to show if samba has a problem, or if the client is trying to submit printing at all. Setting "log level = 10" doesn't show me any usefull, at least any information that I can understand. I do know that "printing = cups" (using cups librarys) will suspend the "print command" completely, but does that mean that the "print command =" won't work at all with other "printing = " directives ? My printers otherwise use "printing = sysv", this has always worked. Can anybody help me with this or advise in what direction to pursue. my best regards, Stefan Becker LUFA Speyer My Script: --------- file: /usr/local/lufa # dir mkpdf -rwxr-xr-x 1 becker users 4299 14. Jun 12:25 mkpdf script: #!/bin/bash #/usr/local/lufa/mkpdf # samba-print-pdf cd /tmp/ ( echo "" echo Time: $(date +"%Y-%m-%d %H:%M:%S") echo Proc: $USER [ $UID ] echo Call: $0 echo File: $1 echo User: $2 echo Para: $3 , $4 , echo Para: $5 , $6 ) >> /tmp/mkpdf.log if [ "$1" = "" ] ; then exit 10 fi # .... the complete smb.conf : --------------------- [global] workgroup = HOME netbios name = SUE log level = 3 realm = HOME.DE passdb backend = tdbsam security = ADS ntlm auth = ntlmv1-permitted min protocol = NT1 interfaces = 127.0.0.0/255.0.0.0 192.168.10.0/255.255.252.0 hosts allow = 127.0.0.0/255.0.0.0 192.168.10.0/255.255.252.0 hosts deny = all bind interfaces only = yes printing = cups printcap name = cups printcap cache time = 750 cups options = raw guest account = nobody guest ok = no logon path = \\%L\profiles\.msprofile logon home = \\%L\%U\.9xprofile logon drive = L: domain logons = No domain master = No prefered master = No wins server = 192.168.10.13 wins support = No allow insecure wide links = yes follow symlinks = yes wide links = yes allow trusted domains = No template homedir = /home/%U template shell = /bin/bash oplocks = No level2 oplocks = No client min protocol = NT1 nt acl support = no inherit acls = no kerberos method = secrets and keytab winbind use default domain = yes winbind enum users = yes winbind enum groups = yes winbind nested groups = No winbind refresh tickets = yes winbind offline logon = yes idmap config HOME : backend = rid idmap config HOME : range = 1000 - 20000 idmap cache time = 20000 unix charset = utf8 dos charset = cp1252 [homes] comment = home valid users = %S, %D%w%S read only = no create mask = 0600 directory mask = 0700 browseable = no printable = no [pdf] printing = sysv comment = PDF Generator path = /tmp read only = no printer name = ps1 guest ok = yes printable = yes browseable = yes print command = /usr/local/lufa/mkpdf %s ~%u //%L/%u %m %I