Created
March 18, 2019 09:43
-
-
Save dsprenkels/e3d74c10df89bff2d18c2aa477b77989 to your computer and use it in GitHub Desktop.
How to debug SMB bugs in CUPS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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