www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/02/25/17:19:03

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 51PMJ2kK4017925
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 51PMJ2kK4017925
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=hL0Zpe7a
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EBBEC3858C62
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1740521941;
bh=enmBnClO4gygzgRWZXzwFBpPbuarhHrkfn6+UTPPs/k=;
h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=hL0Zpe7aT5QEZyMHT8Raohddl1d3vDRpUGSHihhWKGArQGoVSG9yirG+zEBshNJM8
LMkEj4MZ3I+e6am4oCZx0WSO2Ao6PsK0dOq/a8oO4Q4unwOoqxJ9rpM2h/NERuy11Q
KKWoEvsB1rkxqrQwrILOoFIXs0Fsg9I2Vj4Dgi30=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E8B723858D29
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org E8B723858D29
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1740521916; cv=none;
b=Gpp8BTy3tWZ10sQwinBogqVwxK3Hb9pcswqzdjEC9Yt70rHUaHB+G0W2usPV754mRgTT6RGLIW0D9lG/UHlfcm8ddKGJLL7Vj/Wb+kVrEgZcTCoILlOKhnTp9jf9zePKIRH+iBxfGzF/0Y5WwFCRudpLdgI2+ZxOBvxUFg4XqvU=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1740521916; c=relaxed/simple;
bh=Ucs2/lwGe959pGI2+Kte1PKWI7xGAV7DOqRoFY9qs9w=;
h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To;
b=W0MKFPR0F7iNhoYhcLWPMO+9MSlfAvBqCQbW3djgSIhrcEpPrk82Ts/nQ8Q8pkDdWghOe+IA4Cmz9dHyXOn9iB562eIJe92qYBJvCCTmeAgHV143iPSstynXWGih5Cx6S7WF5w2xPyi4Cc/8ExU5loMcdMjJvKqi9LeC/T/vp9Y=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E8B723858D29
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1740521914; x=1741126714;
h=content-transfer-encoding:to:subject:message-id:date:from
:in-reply-to:references:mime-version:x-gm-message-state:from:to:cc
:subject:date:message-id:reply-to;
bh=35nFe67dcdKOWLSWdqeafpQbyRyph9IqQ31PibmphrU=;
b=E1fTQG+q7NGnPDdVmvGpnfGOpJ4GmzCc+i+NAah3SFeflsWVlj8neACaxx1CMpAJWA
0CqEcsDtIZC90iCGGijcgrFDekIyGJ1qnSWH9cLtGIaZLgFL9NLK9N5fyhVaH79ejyn+
bQudUiKA93kq1TIFYHLle9kLAhqIJAVQkLpOAbdNoylAYryZR6efpu1vhE4VN0Y8oHj3
RnXW5fdUjR6U59qXp1BSZz1CKjdAdam4jbwGymRVQqNukAyL2nNdDUkYOY0JzdSrxFbr
oPKehN7/HvZ5YO/PSUtluWASXLp9qRFSYnin0Zr+/C/DUAWfhPNBAPXHnDbcegI+WmHo
zmSQ==
X-Gm-Message-State: AOJu0Yy0PK9aFvaP0D4gJOWKu06IR9JT2+oUyz4KcjTlhs84iFt4Jro0
54JxGGIhkV1bXGwktbfY153Naxwh8tEv2VJygnX8vzEnJHxnU+t2KwSoEEfwDqh7zzJ7kzgPHsc
RdpvQyxEU1Jm7fzyNYHLoUycPFkn93g==
X-Gm-Gg: ASbGncuvITJL0cl/vQ/CD10wgxzD7pykqtPm3W75m1HrRGmLc5S8wjDvB0MUiPwyb9I
UQyaK73Za+bcA5+7++z/pP/gRE1u/c9ANfvt6+ZbH/W/LLvgP27jleJBFxf2js790ribvoV0h3O
ZmxdQHlHzH
X-Google-Smtp-Source: AGHT+IHsjdkYBVNuxZdCxkNr0ACM2WOYSXqpVmlrY2KakwepyrKIEKf88vbvegNBWsKhwdTrPWfJk760GhkBu4I20vY=
X-Received: by 2002:a17:90a:e70b:b0:2fc:aaf:74d3 with SMTP id
98e67ed59e1d1-2fccc0f97e8mr36380380a91.4.1740521914046; Tue, 25 Feb 2025
14:18:34 -0800 (PST)
MIME-Version: 1.0
References: <CALXu0UdHbasuyBiVZveyvJ1+K168QKBu0wn_cEVG8z+zfqQQeg AT mail DOT gmail DOT com>
<CAPJSo4XR+vG=RLrOwdo=TsVhLj+qRhDdu0CFrnDZn4Z0oSoqhQ AT mail DOT gmail DOT com>
<Z7dgP35hc_jd_dK7 AT calimero DOT vinschen DOT de>
<CAPJSo4WrUzuGyTzz=Pp8oPnnbcawLNGZBb5dCE67AazVh8B2bA AT mail DOT gmail DOT com>
<Z7eSVamMjrs5XsBm AT calimero DOT vinschen DOT de>
<CANH4o6NW7NnygLoRgWmMMV7qY4UwK6vKnVKCRX2u=9MCWhdMdg AT mail DOT gmail DOT com>
<Z7hVWK1_pzYrIzBG AT calimero DOT vinschen DOT de>
<CALWcw=E4kcJ+UbsRkqkFpgRx734H33NhJhspuVH2KgDzV4jL3g AT mail DOT gmail DOT com>
<Z7my7gejHoLjf2F1 AT calimero DOT vinschen DOT de>
<CALWcw=EqzTv-J5pm1DVT8Un+J2QWLtV70nF1nU9DO_P3Cg4OOg AT mail DOT gmail DOT com>
<CALWcw=GDQ0kPGXBXMa3-9LdFX3fjsVdUK-VS1TpwdO_XtFvXMA AT mail DOT gmail DOT com>
In-Reply-To: <CALWcw=GDQ0kPGXBXMa3-9LdFX3fjsVdUK-VS1TpwdO_XtFvXMA@mail.gmail.com>
Date: Tue, 25 Feb 2025 23:18:00 +0100
X-Gm-Features: AWEUYZlSLXP3Rab7gd35xTmIbgroUluElbregTBBVElXkRzblw1ZOfF0iY8FSIc
Message-ID: <CALXu0UcjiJt4=MnuCWb_97FY9NVMM6Ak-5a87H2uR7qO+50Gzg@mail.gmail.com>
Subject: Re: Document support for @ character in UNC paths
To: cygwin AT cygwin DOT com
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
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: Cedric Blancher via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Cedric Blancher <cedric DOT blancher AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 51PMJ2kK4017925

On Tue, 25 Feb 2025 at 17:00, Takeshi Nishimura via Cygwin
<cygwin AT cygwin DOT com> wrote:
>
> Subject says it all, please document that @ characters in UNC paths
> are now supported, for WebDAV and BeeGFS
>

WebDAV and BeeGFS are not alone, the Windows ms-nfs41-client and
ms-nfs42-client ALWAYS (even with default NFSv4.1 port TCP/2049) use
UNC paths with "@" character, like
\\stripe02 DOT zebracluster DOT intra DOT pasteur DOT fr AT 2049\nfs4\disk02\
OpenText NFSv4.0 client also supports that, but only if you not use
the default NFSv4.0 TCP port.

So it's pretty common in UNC paths to have one @ (for port) or more @
(for other options like WebDAV's @SSL) in the UNC paths.

So yes, please, Cygwin should document this as a supported configuration.

Ced


> ---------- Forwarded message ---------
> From: Takeshi Nishimura <takeshi DOT nishimura DOT linux AT gmail DOT com>
> Date: Tue, Feb 25, 2025 at 4:58 PM
> Subject: Re: UNC path for WebDAV with cd '\\webdavsrv AT SSL\path' or cd
> '\\webdavsrv AT 23456\path' will not work
> To: <cygwin AT cygwin DOT com>
>
>
> On Sat, Feb 22, 2025 at 12:20 PM Corinna Vinschen via Cygwin
> <cygwin AT cygwin DOT com> wrote:
> >
> > On Feb 21 22:04, Takeshi Nishimura via Cygwin wrote:
> > > On Fri, Feb 21, 2025 at 11:28 AM Corinna Vinschen via Cygwin
> > > <cygwin AT cygwin DOT com> wrote:
> > > >
> > > > On Feb 20 23:36, Martin Wege via Cygwin wrote:
> > > > > On Thu, Feb 20, 2025 at 9:37 PM Corinna Vinschen via Cygwin
> > > > > > And here's the problem.  It works fine for me on all shares, be it SMB,
> > > > > > Samba, or NFS:
> > > > > >
> > > > > > https://cygwin.com/pipermail/cygwin/2025-February/257438.html
> > > > > >
> > > > > > > Maybe the hostname resolution in fhandler_netdrive::exists() failed?
> > > > > >
> > > > > > If so, it would be a problem on your side.
> > > > > > Does `nslookup ember.data4.local' return a valid address?
> > > > > >
> > > > > > I just pushed a patch to print a debug statement in strace output
> > > > > > to see what error code GetAddrInfoW returned.
> > > > >
> > > > > The code in https://cygwin.com/git/?p=newlib-cygwin.git;a=commitdiff;h=df307349a09e6f1ba75c78b1427dcea40f435e6e;hp=8a8fb570d7c5310a03a34b3dd6f9f8bb35ee9f40
> > > > > is not going to work, because you only give ret as argument, but not
> > > > > "name+2" as hostname.
> > > >
> > > > Yeah, it was obviously too late yesterday.  The patch was wrong twice.
> > > >
> > > > I pushed a patch for the patch which should show up in the just
> > > > building cygwin-3.6.0-0.381.g8cc55d819bb7 test release.
> > > >
> > > > > And speaking of the "hostname", is this the \\hostname\path of an UNC?
> > > > > In that case this will not work with WebDAV/SSL or WebDAV with custom
> > > > > port, which might be \\webdavserver AT SSL\path or
> > > > > \\webdavserver AT 23456\path, or \\webdavserver AT SSL@23456\path
> > > > > You need to replace the L'@' with L'\0' before calling GetAddrInfoW(),
> > > > > or it is not going to work with WebDAV
> > > >
> > > > I never saw that before.  Is that syntax really usable?
> > > >
> > > > I just spent half an hour trying to connect to a nextcloud instance
> > > > using this syntax, but to no avail.  https://... works.
> > > >
> > > > I have a local patch removing this at-sign, but I would first like
> > > > to hear if this is really usable and used.
> > >
> > > The BeeGFS Windows client uses that syntax to support more than one
> > > metadata server config per host, i.e.
> > > \\beegfs DOT example DOT com AT 14\beegfs\dir1\dir2....
> >
> > Oh, cool.  Can you check the latest Cygwin test release if it works
> > better with BeeGFS?
>
> https://cygwin.com/git/?p=newlib-cygwin.git;a=commit;h=4bcc6adec765ee8354bfc9e6c060c9d1c0c7bf46
> works with BeeGFS, with @ in the UNC path
> --
> Internationalization&localization dev / 大阪大学
> Takeshi Nishimura <takeshi DOT nishimura DOT linux AT gmail DOT com>
>
>
> --
> Internationalization&localization dev / 大阪大学
> Takeshi Nishimura <takeshi DOT nishimura DOT linux AT gmail DOT com>
>
> --
> 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



--
Cedric Blancher <cedric DOT blancher AT gmail DOT com>
[https://plus.google.com/u/0/+CedricBlancher/]
Institute Pasteur

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