Bug 705170

Summary: firstboot proxy dialog doesn't blank username and password auth when unchecked
Product: Red Hat Enterprise Linux 6 Reporter: J.C. Molet <jmolet>
Component: subscription-managerAssignee: Bryan Kearney <bkearney>
Status: CLOSED WONTFIX QA Contact: J.C. Molet <jmolet>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.2CC: spandey
Target Milestone: beta   
Target Release: 6.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-01 18:37:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 738066    

Description J.C. Molet 2011-05-16 20:39:51 UTC
Description of problem:
If you had set a proxy username and password in the advance network configuration dialog in firstboot, you cannot unset it by unchecking the option as you can in subscription-manager-gui.

Version-Release number of selected component (if applicable):
subscription-manager-firstboot-0.96.1-1.git.186.1107890.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1. Fire up firstboot
2. Go through the menus until you get to register updates
3. Choose to register with subscription manager
4. Set your proxies by going to 'advanced network configuration'
 - pick a proxy server that allows you to authenticate with a user name and password
5. Hit forward, and register subscription manager.
6. Change your mind about the proxy.
7. Hit the back button until you get to the advanced network configuration again.
8. Pick a proxy server that does not allow authentication and choose not to use a proxy username and password by UNCHECKING the "use username and password" box.
9. Go forward and register again, completing firstboot.

  
Actual results:
In your /etc/rhsm/rhsm.conf file, you will notice that your proxy_username and proxy_password are still set to the old values.

Expected results:
The two values have been blanked as you opted not to use them with the checkbox. (just like subscription-manager-gui).