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 Delivered-To: mailing list cygwin AT cygwin DOT com X-Server-Uuid: 2d3b7162-db1d-11d3-b8ee-0008c7dfb6f1 Message-ID: <718198F862F1D411B10F0002A50A4DB101A4F106@e90wwce3.dx.deere.com> From: "Polley Christopher W" Reply-to: cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com Subject: RE: Setting up user mode cron Date: Thu, 10 Jan 2002 13:58:33 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) X-WSS-ID: 10232DE41912401-01-02 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit You wrote: >At 01:45 PM 1/10/2002, Andrew DeFaria wrote: >> Anyway, cron has no access to them. It's running under SYSTEM >> account which has only access to publicly available net drives, that >> is, drives which are available w/o any form of authentication >> required. > > > >> No credentials, no authenticated network drive access. That's it. >> >>Questions: What is a publicly available net drive? How does one tell if it is publicly available vs. non publicly >available? > >I think the above quote from Corinna answers this question. In other words, >if Windows would ask you to identify yourself if you browsed to this share >as a user the domain doesn't know about, then you'll see a problem when >trying to use this share with cron (and some other) tools. > >Someone will correct me if I'm wrong. ;-) This seems correct to me, and I would add (or rather expand on how to become a "user the domain doesn't know about") that to find out what shares are publicly accessible, you need to log in to your workstation with unprivileged credentials, for example as \\localmachinedomain\guest (on NT, use the "User Manager" to see what accounts are defined on your machine). Accessing a non-public network share will then require you to enter a domain\userid and password, while a public share will be accessible without credentials. I don't know if NT caches userid/password combinations for network share attempts subsequent to a properly authenticated non-public share access, so be careful here. I have used batch files with NT's AT command and run into the same problem. My solution was to put a "net use : /user:\