Red Hat Bugzilla – Bug 38396
Printtool has troubles with SMB share passwords
Last modified: 2007-04-18 12:32:55 EDT
I used printtool to configure an SMB-shared printer. There is a dollar
sign ($) in the password needed to connect to the share. The password is
stored in /var/spool/lpd/<QUEUE>/script.cfg, apparently a Bourne-shell
script fragment, as a variable assignment. However, the RHS of the
assignment is double-quoted, with no escaping of the dollar sign.
Consequently, variable substitution takes place, and the incorrect password
I can work around this bug by editing the script.cfg file to use single
quotes. However, if I use printtool to change anything else, this file is
Note that the documentation says nothing about needing to escape dollar
I'm pretty sure this is fixed in the current release.