1) Workgroups sometimes need to be specified for smbclient to successfully login. The printtool/smbprint script do not support workgroupsat all (need to add a workgroup field, and a workgroup variable translating into -W "$workgroup" option to smbclient). 2) smbclient usernames can have spaces in them. printtool just saves username=user name with spaces Should be something like this username='user name with spaces' with proper escapes for any quotes, of course. But the smbprint script would not process this correctly, as usrcmd="-U $username" would translate into smbclient ... -U user name with spaces ... . Need to redo the script with smarter processing. Something like this: if [ "$username" != "" ]; then usercmd_opt=-U else usercmd_opt="" fi ... smbclient ... $usercmd_opt "$username" ... and don't forget to add the option for workgroup! works fine otherwise... thanks
will be added in next printtool release
I believe this has been fixed in the latest rhs-printfilters/printtoool