X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 58714385042B Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=towo.net Authentication-Results: sourceware.org; spf=none smtp.mailfrom=towo AT towo DOT net Subject: Re: Cannot access network drive or shares To: cygwin AT cygwin DOT com References: From: Thomas Wolff X-Tagtoolbar-Keys: D20200824115514113 Message-ID: Date: Mon, 24 Aug 2020 11:55:14 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: X-Provags-ID: V03:K1:ETux3z79JKgLNb+hNDeWE4oBy6k+wN/5mfprAuzIa6REiWc/TEy 8SOekbvz/BWo9vujq6UQMowugr5CvuICqi+Hf4cK/X8w+v4HdI/2bsu3oVrzfHSIi0Mcbgh XjlRrHD5JHDtvRGShPqhp9FtF/jedMv8wU1wjY/HKYWCzPzChRt8vLQBd7TzJkVp2i07yQK JVJd6QXxcrwmJbskwvwXw== X-UI-Out-Filterresults: notjunk:1;V03:K0:vz6h2DtpnlI=:1GROUyR1HXJKQGzH1KFuWW c9G8yjDwcK5f3tQFgy+418eBmcDSRgJtihf3x37znu9O3aWSENmUcorWVhgn5+n0CzuHL1FI3 lkzxIQE8cGPeBAgWMnejQqwf0g1ofUYpR0ym0MyBV9T2wvsQvdxSVObjPGlanD1ykMUfPxXQF WGSt06yMXxX+h9RGbAiMPXdM+C2pUCIX9RLXj6kjQyQnoygeRdV8hRGalmrmrhy6ApgsuH8n6 tj406QQ02tLdiQPNdIysp7noFDoed5OXJLBYN2Uyaw+LDwLQoHWbxpdBK1M9ItNQzBfJtc243 j70r8m0ceSvb/AJF2QzBxLEj2Kszz4/AfwdNQo4J7yWzv+vQ/PvRhGCMsTjlY8Oaox+cF+ViC J7GXqI/lu1uTP4CxRccZTUZ5msoerc4ua9k5K7dNr2mAnzpnNa/rcjAwhZGfEpS16Pzv77fHn CGnJQoHgdM2sR5o+UERgKYwDES+KOtBV4A9YYdWnzX0suN3Nv0aTboBmnOdanGzyEc63KVjvn FNQOOHwkFCaexYRCrdKJ5vv+MAbl04Nh6qhnfHT2gagjBhF4CeDZ8S9k0xTc36C2BXT8ghWmo q45h+m0Jed5FKUxtu7RPWrHW6nz0beWk6L2Fb3jtowmEVm8pFsWbCyR3uKtsqi37T9ynK9KZ7 dDLY8xaKtczoGrs20AMGJWRxU39Apiq0u8OFoBFq6qBSmGRkewAwqwTukQo9ddt6z/yH2IC0d L0zOr65jBxscw7Yv/yAJV1FhEkXRhsGny/Kdd3xsepDPLI/j18RRydEw1hyEuYrjxEGm2ESb7 aLj9c6BXuyE/wxcKH/DmXiGUeVO+6lWwEP5Wcfu7vmQA5eJk64A4DJKFinPC07NbKnXff1w X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, 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-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" Am 24.08.2020 um 06:50 schrieb C Goh via Cygwin: > 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. If you run this from a cygwin shell, do you use single quotes to escape the backslashes? ('\\11..') > > 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 -- 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