Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com From: Robert Schmidt Subject: Re: crontab/mount problem Date: Tue, 28 Sep 2004 11:29:55 +0200 Lines: 30 Message-ID: References: <20040928004522 DOT 64937 DOT qmail AT web21203 DOT mail DOT yahoo DOT com> <6 DOT 1 DOT 0 DOT 6 DOT 0 DOT 20040927225802 DOT 03f46470 AT pop DOT prospeed DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT sea DOT gmane DOT org X-Gmane-NNTP-Posting-Host: dhcp-068-039.oslo.eur.slb.com User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) In-Reply-To: <6.1.0.6.0.20040927225802.03f46470@pop.prospeed.net> X-IsSubscribed: yes Larry Hall wrote: > Read this: > > > > If you've installed cron as directed, you won't have access to non-publicly > accessible shares. Your options are to make the shares accessible to all > without authentication or run 'cron' as a service under the same user as > owns the crontab. The former opens up your share's permissions > significantly. The latter makes 'cron' usable by only you. > > There's plenty in the email archives about all this too if you're looking > for more reading. I'm wondering if this restriction also applies to e.g. DCOM permissions? I'm using cron to run a C# program (my own) which extracts contacts info from Outlook to an LDIF file, for importing into openldap. This works fine on the command line, and works with cron running as myself. With cron running as System, using setuid to myself, the Outlook COM object model refuses access. ("new Outlook.ApplicationClass" throws an UnauthorizedAccessException.) I'd rather avoid having to hardcode my user name and password into the cygrunsrv command line, so any ideas would be appreciated. Cheers, Rob -- 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/