delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/08/24/00:51:08

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BC64C3851C19
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1598244621;
bh=Dq4xU7Sq4iz7F/PMNSxGnXcbB6y1BBI6iUYbxK5kN2I=;
h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=dPgrkVeTpggE53JyF1j2LABBjWG4orW8t9IA1wn+CVhwo61OTefZHdq5aL9lDXTB9
TR8a1j2Z06xLL0UnKPiCPFIabryrvvC7usQ9s4ty/kypC3lpMYByLbt3vixZ/F86wN
DskpXAo0LNq9rX9jKB5W+b+9JYmy9ND7yD3T+2Qw=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org B42D53857C53
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
bh=28+5wFY8Rmts8CJ9b79Ws+yUVlqFi32G1Bc8ZZPZ2MA=;
b=FVJCT0QuhFswyPkKtOEGewoANF671M8lZFDw6j3iv8Ng1lTD8gI+davWj/TLJRKSc6
glBPnybtbNFCswZoPF/Nt0g19KntoubBCJqPJaN6x9b7fVNlnZyhIFQrtpxQmNXjEz5p
McHhsaHTfd+E4kAlxBNuFCo3IRXWRKSnY3EzKNC2+cYxdH8WX2SczYR1eaSLh6SstQPI
awPify3R3PFLXWT0LteUeLgYoOZaLyPhz0rpcbwMLNdY0gCqEl0uevtJESy60o1+gNIJ
kQMMUy9tu+ZAPW8O1tSxrsG4uLQ0bSJCaTR/aaap9DTVaHM65kGp5ekwUV4SQFVQkZhp
pwYQ==
X-Gm-Message-State: AOAM531vBpRT48+Q1PLl7cNDAMcY1vaGluSgXUoh3g0N/SUKAAiCXd9o
8BIWizE2MYLp6fkDvbHD1HsSSWI5i9qsW6eGStBumPrrC9S6yg==
X-Google-Smtp-Source: ABdhPJxLP1w2azSRqseUtYzGKucQ6G+cw5P8UJSKYiiQ2MEEvhKr6PXn6wJaKrY26l2KntG74KNPZo0IWISZWVs5aQw=
X-Received: by 2002:ac8:1349:: with SMTP id f9mr3411248qtj.24.1598244617071;
Sun, 23 Aug 2020 21:50:17 -0700 (PDT)
MIME-Version: 1.0
Date: Mon, 24 Aug 2020 12:50:05 +0800
Message-ID: <CAKw1V5WhuFU5V+XbgB045trzuvzTSMHFzvDD5Gfp8hZ0T1Ggcg@mail.gmail.com>
Subject: Cannot access network drive or shares
To: cygwin AT cygwin DOT com
X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT,
FREEMAIL_FROM, HTML_MESSAGE, KAM_SHORT, NUMERIC_HTTP_ADDR, RCVD_IN_DNSWL_NONE,
SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: C Goh via Cygwin <cygwin AT cygwin DOT com>
Reply-To: C Goh <gohcc83 AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

Method 1: Map drive

I have some issue using cygwin to access the network drive. I have three
VM(A, B, C). Environment: VM A(11.11.11.1) is used as NAS and I also
created a share folder inside VM A. I Installed cygwin on window VM
B(11.11.11.2) and map a network drive(the share folder) from VM A. I used
another Linux VM C to SSH access to VM B successfully but I cant access the
network drive even I use net use command.

--------Error msg:-----------

$ net use z: \\11.11.11.1\share password /user:admin System error 5 has
occurred.

Access is denied. --------end of error msg---------------

Q1) How do I solve the above access denied issue?

Q2) How do I configure VM B such a way that I can ssh to VM B to access
network drive without specifiying the net use command

Method 2: network Share folder

I tried to use mklink also not working

lrwxrwxrwx 1 Administrators NODE1+None 18 Aug 22 07:25 share -> //
10.10.10.1/share lrwxrwxrwx 1 Administrators Domain Users 18 Aug 22 08:02
share1 -> //10.10.10.1/share

Without ssh-copy-id, I can ssh in and access the share folder

The moment i ssh-copy-id, I tried to access share or share1. I got
permission denied
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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