Bug 719922 - Connection profile is created even if admin authentication fails or is canceled
Summary: Connection profile is created even if admin authentication fails or is canceled
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: NetworkManager
Version: 6.1
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Dan Williams
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-08 12:36 UTC by Jiri Koten
Modified: 2013-02-19 18:13 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-19 18:13:14 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Jiri Koten 2011-07-08 12:36:48 UTC
Description of problem:
If creation of Ad-Hoc network is restricted (see bug 705806) and the required authentication fails, the connection profile is still created and present in NM connection editor. It's created even when creation is not allowed at all. 

Version-Release number of selected component (if applicable):
NetworkManager-0.8.1-9.el6_1.1

How reproducible:
100%

Steps to Reproduce:
1. Modify
/usr/share/polkit-1/actions/org.freedesktop.network-manager-settings.system.policy
line 299 from:
<allow_active>any</allow_active>
to:
<allow_active>auth_admin</allow_active>
2.  Create an insecure wireless network by clicking on the nm-applet, go to
Create New Wireless Network
Network name: test
Wireless security: none
Hit Create
3. When authentication dialog appears enter wrong passwd or hit cancel.
4. Open nm-connection-editor  
  
Actual results:
Connection profile "test" is present.

Expected results:
No profile is created.

Comment 1 RHEL Program Management 2011-10-07 16:00:18 UTC
Since RHEL 6.2 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 2 Dan Williams 2013-02-19 18:13:14 UTC
Yes, the profile is created, but the user is never able to start that wifi network; they are always denied when they attempt to do so.  To prevent the user from changing any network connections, the "system.modify" permission can be changed for that user.


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