Red Hat Bugzilla – Bug 88021
SMB printer configuration issue in redhat-config-printer
Last modified: 2008-05-01 11:38:05 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225
Description of problem:
Redhat 9 printer configuration does not seem to function when attempting to use
the same input values from Redhat 8 (Share, User, Password, Workgroup, IP (I've
always left IP blank).
Redhat 8 was configured like this:
Host IP: <blank>
This printer is a scanner/fax/printer and is connected directly to a windows
machine that is on 'ourcompanydomain'.
I've tried to apply these same settings to Redhat 9 in the following way (by
clicking Specify and filling in the following values in the 'Authentication' window:
User name: ourcompanydomaon\myusername
When I click 'OK' in the 'Authentication' disappears for a bit (like its going
to work) and then comes back with the same data in the fields. I guess I was
expecting some kind of error message if there is something that isn't correct.
I can only guess that something has changed between 8 and 9 with regards to what
the input fields mean.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. click Print Manager icon in panel
2. Print Manager says there are no printers configured and asks to run the print
configuration tool. Click OK.
3. Enter root password if needed.
4. Click New, Click Forward, Name: HPoffice, Description: ignore, click Forward.
5. Select Windows SMB as queue type
6. Click Specify
7. Enter values described in Summary, click OK.
Actual Results: Authentication window goes away and comes back with no
additional feed back. Continued 'OK' clicks have same result.
Expected Results: An error message saying something was incorrect. In this
case it should have worked, all the input fields received the same treatment as
Redhat 8 for the exact same environment and printers.
I'm not exactly sure which component the printer configuration wizard belongs to
but I think its the one I provided (redhat-config-printer)
Created attachment 90907 [details]
left: redhat 9, right: redhat 8 printer config
Thought this might be useful.
fixed typo in Summary.
Thanks for the report. Okay, I can see several places where this might be going
wrong. First of all, could you let me know if this works:
/usr/bin/smbclient //jason/HPOffice [yourpassword] -W metroexpressinc -N -P -c
quit -U metroexpressinc/jonc
It should give no errors. Does it do that?
[root@localhost root]# /usr/bin/smbclient //Jason/HPOffice mypasswordhere -W
metroexpressinc -N -P -c quit -U metroexpressinc/myusernamehere
added interface ip=192.168.0.107 bcast=192.168.0.255 nmask=255.255.255.0
Got a positive name query response from 192.168.0.131 ( 192.168.0.131 )
Domain=[METROEXPRESSINCM] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
Looks good to me.
Created attachment 90950 [details]
Please save this as /usr/share/printconf/util/addQueue.py
Created attachment 90951 [details]
Please save this as /usr/share/printconf/util/backend.py
When you have both those files, please try the config tool again and see if
it's any better. Thanks.
Yes, now it works as expected. I printed a test page and everything looks correct.
Fixed package is redhat-config-printer-0.6.52-1, which will shortly appear in
rawhide. Thanks for testing.
An errata has been issued which should help the problem described in this bug report.
This report is therefore being closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files, please follow the link below. You may reopen
this bug report if the solution does not work for you.