delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/03/26/21:50:46

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=r/qZqFlqPxOqNVC5
g1SzXRIU1LXjbVg9YjD+026Go/JwuryFSD369xqsD5D3uFzPpqlvFnRx6EKBa5Dn
HBATS9aI6elwTAZVwG/1wZoMXToGxHtrZOvccwT9yGTLw/cSVQCYmwfoXtKc7KBX
tGKyLjwAMNj+k2EyOAKkpCqtkJU=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=D3nmCnmQdWTR7ros0sSwpR
8beHo=; b=Jke8KeG7cbtVC2XMvvusvmaVXu2R+9kbKNoCxRQDL+IOsx9y5HbzxQ
0gIg1j8BeWcoV7SkU0RaSKPBtrkP5YigWsst4IVwJDhy3pKWsgA3BR4SEPOL+RX2
1ssmuVt0j7+XrOdhIoAQww90wLbNbJirM+ahXey9oKXp9wRgOyw2w=
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
X-Spam-SWARE-Status: No, score=-0.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_THEBAT,KHOP_THREADED,MIME_BASE64_BLANKS,SPF_SOFTFAIL autolearn=no version=3.3.1
Date: Wed, 27 Mar 2013 05:49:14 +0400
From: Andrey Repin <anrdaemon AT freemail DOT ru>
Reply-To: Andrey Repin <cygwin AT cygwin DOT com>
Message-ID: <1794935083.20130327054914@mtu-net.ru>
To: mcforum <mcforum AT bellsouth DOT net>, cygwin AT cygwin DOT com
Subject: Re: Cygwin, Windows Shared Drive Access
In-Reply-To: <1364307966.75066.YahooMailRC@web181701.mail.ne1.yahoo.com>
References: <1364307966 DOT 75066 DOT YahooMailRC AT web181701 DOT mail DOT ne1 DOT yahoo DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id r2R1ohYU024223

Greetings, mcforum!

> A new Windows 7 32 system with a fresh install of CYGWIN can't see any mapped 
> network or shared drives on my other systems.

Stop using mapped drives already...
UNC is there to help you.

> On the older XP system IT tells 
> me to replace and on another older Windows 7 32 system, CYGWIN could access all 
> drives.  What am I missing in the install that enables access to those drives?

...seriously, don't use mapped drives.

>  
> From the startup window from CYGWIN.BAT the net use command works successfully

You're using it wrong.

>>>>>>>>>>>>>>>>>>>>
>  
> RM3 AT McBroomRC4 ~
> $ net use \\\\mcbroomrc2\\e
> The command completed successfully.
>  
> RM3 AT McBroomRC4 ~
> $ net use \\\\mcbroomrc2\\mcrc2
> The command completed successfully.
>  
>  
> RM3 AT McBroomRC4 ~
> $ net use
> New connections will be remembered.
>  
>  
> Status       Local     Remote                    Network
>  
> -------------------------------------------------------------------------------
> Unavailable  T:        \\Mcbroomrc2\e            Microsoft Windows Network
> Unavailable  U:        \\oro-fbbe-fs1nts\rm3     Microsoft Windows Network
> Unavailable  W:        \\Mcbroomrc2\mcrc2        Microsoft Windows Network
> OK                     \\mcbroomrc2\e            Microsoft Windows Network
> OK                     \\mcbroomrc2\mcrc2        Microsoft Windows Network
> The command completed successfully.
>  

> RM3 AT McBroomRC4 ~
> $ ls -l //mcbroomrc2/e
> total 364
> d---------+ 1 Administrators Domain Users      0 Nov 13 09:42 $RECYCLE.BIN
> -rwxrwxrwx+ 1 Administrators Domain Users     35 Jul 29  2010 Autorun.inf
> drwxrwxrwx+ 1 Administrators Domain Users      0 Nov 13 15:09 Criticality
> drwxrwxrwx+ 1 Administrators Domain Users      0 Feb 25 10:04 Downloads
> drwxrwxrwx+ 1 Administrators Domain Users      0 Mar 19 16:37 exper
> dr-xr-x---+ 1 Administrators Domain Users      0 Feb 25 11:48 hdrive
> drwxrwxrwx+ 1 Administrators Domain Users      0 Nov 13 12:39 isotope
>  

Now, try the same without any dances around the tree.

> The shares don't seem to be shown anywhere on the system tree but I can soft
> link them to a directory name and then access them.

...sorry, but they are indeed shown where they are - network places - windows
network ... there they all. Should be, if your network configured properly.

> On a CYGWIN restart "net use" shows the network names as being disconnected and 
> reissuing the command doesn't change the status.  However, re-establishing the 
> soft link allows full usability.
>  
> Gremlins?

There's nothing to do with cygwin. You don't have a control connection to the
remote server.

net use \\server\IPC$

Once you're authenticated with remote server, you can just use UNC names
directly.


--
WBR,
Andrey Repin (anrdaemon AT freemail DOT ru) 27.03.2013, <05:42>

Sorry for my terrible english...

- Raw text -


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