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 Date: Tue, 19 Aug 2003 10:00:57 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: cron and network drives Message-ID: <20030819080057.GI3101@cygbert.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <3F3D500B DOT 2030305 AT cygwin DOT com> <20030818181955 DOT GA22397 AT emcb DOT co DOT uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i On Mon, Aug 18, 2003 at 02:25:03PM -0700, Andrew DeFaria wrote: > My understanding of accessing mount points (shares that have been > mounted to a drive letter) is that if you telnet or login (or > switchuser) in such a way as to have a passwordless login then mount > points are marked as unavailable. Further I understand that cron runs as > SYSTEM and switches user to the owner of the crontab. Thus a > passwordless login has occurred therefore mount points are unavailable. > Yet on hosta it works but on hostb it fails. I don't pretend to understand how the SMB code in Windows works. It seems to be different on different machines. On my machine `net use' doesn't even bother to print any of the active shares when in a passwordless session: $ net use New connections will not be remembered. There are no entries in the list. But I can access shares from within a passwordless session if I create the sharing inside of the session using `net use'. Well, sometimes. And it's a bit tricky, since it only works when not using drive letters (so I have to use the //server/share path for accessing the share) and only if I specify the full user name including domain or password server respectively: $ net use \\\\server\\share password /user:SERVER_OR_DOMAIN\\corinna *shrug* Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- 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/