Bug 88021 - SMB printer configuration issue in redhat-config-printer
Summary: SMB printer configuration issue in redhat-config-printer
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: redhat-config-printer
Version: 9
Hardware: i686
OS: Linux
Target Milestone: ---
Assignee: Tim Waugh
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2003-04-04 18:56 UTC by Matthew Lenz
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2003-07-07 16:36:34 UTC

Attachments (Terms of Use)
left: redhat 9, right: redhat 8 printer config (149.99 KB, image/png)
2003-04-04 19:05 UTC, Matthew Lenz
no flags Details
/usr/share/printconf/util/addQueue.py (42.22 KB, text/plain)
2003-04-07 13:33 UTC, Tim Waugh
no flags Details
/usr/share/printconf/util/backend.py (24.32 KB, text/plain)
2003-04-07 13:34 UTC, Tim Waugh
no flags Details

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2003:125 0 normal SHIPPED_LIVE New redhat-config-printer packages available 2003-07-07 04:00:00 UTC

Description Matthew Lenz 2003-04-04 18:56:45 UTC
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:

Share: \\jason\hpoffice
User: ourcompanydomain\myusername
Host IP: <blank>
Password: <mypasswordforthedomain>
Workgroup: ourcompanydomain

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:

Workgroup: ourcompanydomain
Server: <blank>
Share: \\jason\\hpoffice
User name: ourcompanydomaon\myusername
Password: <mypasswordforthedomain>

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):

How reproducible:

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.

Additional info:

I'm not exactly sure which component the printer configuration wizard belongs to
but I think its the one I provided (redhat-config-printer)

Comment 1 Matthew Lenz 2003-04-04 19:05:16 UTC
Created attachment 90907 [details]
left: redhat 9, right: redhat 8 printer config

Thought this might be useful.

Comment 2 Matthew Lenz 2003-04-04 19:06:04 UTC
fixed typo in Summary.

Comment 3 Tim Waugh 2003-04-07 09:53:26 UTC
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?

Comment 4 Matthew Lenz 2003-04-07 12:51:47 UTC
[root@localhost root]# /usr/bin/smbclient //Jason/HPOffice mypasswordhere -W
metroexpressinc -N -P -c quit -U metroexpressinc/myusernamehere
added interface ip= bcast= nmask=
Got a positive name query response from ( )
Domain=[METROEXPRESSINCM] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]

Looks good to me.

Comment 5 Tim Waugh 2003-04-07 13:33:56 UTC
Created attachment 90950 [details]

Please save this as /usr/share/printconf/util/addQueue.py

Comment 6 Tim Waugh 2003-04-07 13:34:38 UTC
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.

Comment 7 Matthew Lenz 2003-04-07 14:27:00 UTC
Yes, now it works as expected.  I printed a test page and everything looks correct.

Comment 8 Tim Waugh 2003-04-07 14:32:33 UTC
Fixed package is redhat-config-printer-0.6.52-1, which will shortly appear in
rawhide.  Thanks for testing.

Comment 9 Tim Waugh 2003-07-07 16:36:35 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.