Red Hat Bugzilla – Bug 132742
printconf-gui does not write correct information to cups printer.conf file for smb (samba) printers
Last modified: 2007-11-30 17:07:04 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; X11; Linux i686) Opera
Description of problem:
The printconf-gui is the process being used (which seems to be a link
to consolehelper). I am in a NT domain (unfortunately) and trying to
print to a SMB printer. If I fill in the fields in the wizard as
they should be, the trailing slash is not placed between the
workgroup field and the server name. My username, which is in the
form domain\user comes out as domain\\user in the printers.conf file.
Here is an example of the issue:
the line should be:
And it comes out:
The frustrating thing is that I never found a way to obtain verbose
information on where this information was stored (printers.conf), so
it took a couple of hours to figure this one out. Arghh!
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Click the New (or edit an existing) tab (to create a new print
2.Select SMB as the type
3.Fill in the fields.
Actual Results: DeviceURI smb://domain\\user:
in printers.conf file
Expected Results: DeviceURI smb://domain\user:
in printers.conf file
Please confirm the version of redhat-config-printer that you are
using. 0.6.47.2.13 doesn't sound right.
Also, can you confirm that after changing printers.conf to have
smb://domain\user:passwd@domain/server/share printing to that queue works?
With 0.6.47.3.13 I can't reproduce this. Please attach the output of
'printconf-tui --Xexport', after making sure to replace your username
and password with 'username' and 'password'. Thanks.
Sorry, here is the correct version:
Gnome redhat-config-printer 0.6.47.3.13
And yes, I just double-checked my printers.conf file and
is the only way I can print - it has been working since I posted the
Created attachment 104949 [details]
This one works
Created attachment 104951 [details]
This is the one created by filling in the fields and does not work with forward slash.
Created attachment 107843 [details]
Created attachment 107844 [details]
Could you please save these two attachments and copy them to
/usr/share/printconf/util/backend.py and /usr/share/printconf/util/addQueue.py,
and see if they fix the problem?
This latest change works. The user name is domain\username in the user box,
and that works.
Fixed in CVS. This fix will be included in any future RHEL3 update for
redhat-config-printer, and will be included in RHEL4 when released.