delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/10/29/17:20:30

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Adrian Hill <ahpulsar AT hotmail DOT com>
Subject: Access Denied to registry keys HKLM\Software
Date: Mon, 29 Oct 2007 11:13:08 +0000 (UTC)
Lines: 37
Message-ID: <loom.20071029T101337-891@post.gmane.org>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

I am new to Cygwin, we are running version 1.59. Cygwin used is for account 
management for our Active Directory. Cygwin is used to launch an C-based 
program (that is running as service) that calls a VB6 Program, which is called 
via a SSH connection from our central account management system that runs on a 
Unix.

We recently updated the VB6 code to VB.NET, with the changes is the ability to 
created Exchange Mailboxes using CDOEXM.DLL.  A AD-account is running the C-
based program as a service ( which was setup via cygrunsrv), Cygwin executes 
that C-based program under that account. 

The problem I am having is the AD-account that executes the new vb.net code 
via the C-based program gets an access denied to the Registry: HKLM\Software  
in particular:

HKLM\System\CurrentControlSet\Services\EventLog\Application\ESE
HKLM\Software\Microsoft\Exchange

And a bunch of others from HKLM\Software

Which causes the VB.Net code to crash indicating access denied to application  
event log..due to CDOEXM.DLL not getting access to 
HKLM\System\CurrentControlSet\Services\EventLog\Application\ESE

But it can access HKLM\System\CurrentControlSet\Services\Eventlog\Application 
and a few others which have the same security…

I have also given the account administration rights within cygwin, and still 
get the same problem. However, under windows within cygwin the code runs 
fine..without going over the SSH connection…


I have noticed the security on proc/registry contains ???????? with no rights 
is that normal..

Has anyone point me in the right direction.



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019