Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
To: cygwin@cygwin.com
From: Andrew DeFaria <Andrew@DeFaria.com>
Subject: Re: how to set up a "mounter" service? (network drives disconnecting)
Date: Wed, 31 Mar 2004 10:46:41 -0800
Lines: 36
Message-ID: <c4f3mi$lha$1@sea.gmane.org>
References: <1080744961.1411.11501.camel@gv-rduran.dalair.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@sea.gmane.org
X-Gmane-NNTP-Posting-Host: 12.9.207.201
User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207)
In-Reply-To: <1080744961.1411.11501.camel@gv-rduran.dalair.com>

Richard Duran wrote:

> We've set up a cygrunsrv "mounter" service that maps network drives to 
> Samba shares. 

Are you sure? Because it seems like this mounter mounts Samba shares to 
drive letters...

> We needed to do this to implement other cygrunsrv services that run 
> from scripts sitting on these shares. The main problem is that 
> throughout the day, connectivity to these shares is lost, and when I 
> try to access these shares from Explorer, I'll see the following error 
> message:
>
> [DRIVE]:\ is not accessible.
> The referenced account is currently locked out and may not be logged 
> on to.
>
> I'll check the account on the PDC only to find that it isn't locked

Have you reported this problem to Microsoft?

> After a while, the maps will reconnect/reestablish/refresh/whatever.
>
> Any one else seen this behavior?

Not much that Cygwin will be able to do if the problem is inherently in 
Windows to start with.

> Also, this might be related, but Explorer alwas identifies these 
> mounted drives as "network drive" instead of "<share> on 'server'". 
> FYI, we have the "mounter" service Login account set to the same 
> domain account that we've set up for autologin.

Ditch the drive letters and just use UNCs (forward slashed UNCs, e.g. 
//server/share/path/file). No need to use up drive letters either...


--
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/

