delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/04/05/12:17:03

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:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=kfxAaxHEArcSTbooMHUglQAvTTOVLTn5bIH1Suei56ZNsyzYF8FY0
cDtROthV48nFx0iqywoTQy4TB3aP7qSziP/Sb1aAh3en9qF0swS75NmLIktiOcQq
uwJ3y7IqxEd8tYd3L/LlM6wcef8kkErtDPR9C9Jh5E0irl8cgIOYGY=
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:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=QSFCcg43laq2VNmYD+yDWFxpJ6c=; b=JpMUd0L6clgHiM0omk3JpzDb811o
knYzMtN4/Y/sZOVNHnI8MHmAtsCUSGojY2WNdw/xaWWj3QmfR84Td6Y/NJUSTnsB
kezIgCBrm3bd07rZOoKklTrD1MhGppg4Z69xxDxcMMLWZj7C49pNP3KkfxPKCm4V
kceL4njguIGyPHY=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-93.9 required=5.0 tests=BAYES_50,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_PBL,RDNS_DYNAMIC autolearn=ham version=3.3.2 spammy=UD:The, deni, Deni, mount
X-HELO: calimero.vinschen.de
Date: Tue, 5 Apr 2016 18:16:31 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Windows file share under Cygwin?
Message-ID: <20160405161631.GA31291@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <loom DOT 20160405T070317-59 AT post DOT gmane DOT org>
MIME-Version: 1.0
In-Reply-To: <loom.20160405T070317-59@post.gmane.org>
User-Agent: Mutt/1.5.24 (2015-08-30)

--G4iJoqBmSsgzjUCe
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Apr  5 05:04, Deni wrote:
> Hi, I have an issue with mounting Windows file share in Cygwin.
>=20
> We have Windows file share which is using NFS to share content. I was=20
> assigned to install Cygwin on it so some application can connect over SFT=
P=20
> to that server.
>=20
> Now they need to access the shared folder from that application and the=
=20
> app would pull data from that folder.The thing is that the folder is=20
> Windows shared folder (exmple; \\server\photos\). the current Windows=20
> users need to be able to connect to that share (it is mapped to their M=
=20
> drive) and the app need to connect to SFTP and pull the data from there.

So I take it that you already have the Windows NFS client installed.
Is it the builtin MS NFS client or a third-party NFS client?

Either way, you already have access to the share from Cygwin either
using the /cygdrive/m path, or the //server/share path, which also
works OOTB.

> My idea was to mount that NFS share in Cygwin and set it as /home=20
> directory so when the app connects, it automatically goes there.
>=20
> My questions are: is this possible,

Yes.

>and does anyone know any better solutions?

Nobody really can answer *that* question.  It depends on what your users
are doing.  A local home dir always has speed advantages, so it's more
about your users complaining or not if you do it that way.

As for how to do that, I suggest to take a look into
https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping

If you utilize AD you can keep the maintainance centralized easily.


HTH,
Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--G4iJoqBmSsgzjUCe
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJXA+TfAAoJEPU2Bp2uRE+geKQP/AjP+rVR/b6Yf88246SWiYgg
BqUXXiybbykmSQZqb5dz0e53OXqC8g5a7rAE00YI/9E4Bh5mvZXyeNTPTYqwkUEd
6VSbYa7iOVdQkGVM9InijglZoqLajj9taigysrNjYIGtnkASvQjeeewe8ZqmK+AB
pdz2ITEXJz62aWo+AszRf5VRkZcVLVvpoJjjxUbR/eiJAPdkFbripDkmT2pw0o3H
Joy7LBt77suWc/uB1TC8ZAZ9/pSQzXethTocpRi8n8hDPXM117eu0sfv/rzuoKAO
CPb3OkKp4z4EZ+w7RWs8h2Vl5MgQih7qbp4hYQwuMbI7Kbv0KOXiaWG7xmP+/dO6
ekRD5MS4XvlyA9loTiUO2xBxmRSyyG2sQKll6VPd5ev6EnoMpr0/8LxKbykaHXOP
aaDLuUUov/COSEhrKp0hYpz/zKF5e/ID7uTQ3fetD1PdNCfkZvFIEDNxJ2iLpcHZ
5D6gK7R/qnQoSKn1nA8k0T5UjYidQVEPKSHNWcl1LpvrU+KggKc1rzjdi8HNCSS0
SoeJ+BDfOTgrNtN31trS6mmfOKpDvKCiuUd/SjYH1tpwT/N+xc3RnsZwVDw9T0IF
UHnGVG5QgOoMtaJ20pK5DkSagIA2G4Sbhomrow8I7As0IM2127OMpTwB6x7HuEaE
r6bERRgfL4QyiQrOHSWC
=CgTA
-----END PGP SIGNATURE-----

--G4iJoqBmSsgzjUCe--

- Raw text -


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