Skip to content

Instantly share code, notes, and snippets.

@dsprenkels
Created March 18, 2019 09:43
Show Gist options
  • Save dsprenkels/e3d74c10df89bff2d18c2aa477b77989 to your computer and use it in GitHub Desktop.
Save dsprenkels/e3d74c10df89bff2d18c2aa477b77989 to your computer and use it in GitHub Desktop.
How to debug SMB bugs in CUPS
#!/bin/bash
mv /usr/lib/cups/backend/smb /usr/lib/cups/backend/smb.dist
echo >/usr/lib/cups/backend/smb <<EOF
#!/bin/bash
/usr/bin/smbspool "" "$@"
EOF
chmod 755 /usr/lib/cups/backend/smb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment