Bug 233020

Summary: DOC: AEP: access denied exception during child domain proxy configuration
Product: Red Hat Certificate System Reporter: Chandrasekar Kannan <ckannan>
Component: Auto-EnrollmentAssignee: Matthew Harmsen <mharmsen>
Status: CLOSED WONTFIX QA Contact: Chandrasekar Kannan <ckannan>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3CC: benl, cfu, jmagne, mharmsen
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-06 23:36:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 445047    

Description Chandrasekar Kannan 2007-03-19 22:00:53 UTC
[root.redhat.com]: cat /export/kchandra/ad.txt
************** Exception Text **************
System.UnauthorizedAccessException: General access denied error

   at System.DirectoryServices.Interop.IAdsContainer.Delete(String className,
String relativeName)
   at System.DirectoryServices.DirectoryEntries.Remove(DirectoryEntry entry)
   at ProxyPanel.ProxyPanel.addCertificationAuthorities(DirectoryEntry d,
Byte[] cacert)
   at ProxyPanel.ProxyPanel.populateLDAP_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button,
Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.2300
    CodeBase:
file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
System
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.2300
    CodeBase:
file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Drawing
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.2300
    CodeBase:
file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
System.DirectoryServices
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.2300
    CodeBase:
file:///c:/windows/assembly/gac/system.directoryservices/1.0.5000.0__b03f5f7f11d50a3a/system.directoryservices.dll
----------------------------------------
System.Messaging
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.2300
    CodeBase:
file:///c:/windows/assembly/gac/system.messaging/1.0.5000.0__b03f5f7f11d50a3a/system.messaging.dll
----------------------------------------
System.ServiceProcess
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.2300
    CodeBase:
file:///c:/windows/assembly/gac/system.serviceprocess/1.0.5000.0__b03f5f7f11d50a3a/system.serviceprocess.dll
----------------------------------------
System.Data
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.2300
    CodeBase:
file:///c:/windows/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll
----------------------------------------
ProxyPanel
    Assembly Version: 1.0.2623.29471
    Win32 Version: 1.0.2623.29471
    CodeBase: file:///C:/Program%20Files/RHCSProxy/ProxyPanel.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.2300
    CodeBase:
file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System.Xml
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.2300
    CodeBase:
file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.




============================
Configuration Naming Context: CN=Configuration,DC=india,DC=com
Services base: LDAP://CN=Services,CN=Configuration,DC=india,DC=com
Services base: LDAP://CN=Public Key
Services,CN=Services,CN=Configuration,DC=india,DC=com
Searching for 'CN=Red Hat Certificate System Proxy' under base
CN=Certification Authorities
Found CN=Red Hat Certificate System Proxy
Removing

Comment 1 Steve Parkinson 2007-03-29 17:44:51 UTC
This occurred because you need to run the panel as a user with the right
permissions.

I have changed the populate dialog so that it catches this error, and displays a
helpful message to the user.

We also need to document this behavior.

Comment 2 Red Hat Bugzilla 2007-11-05 04:21:16 UTC
User sparkins's account has been closed