DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 51LL5t0G1020420
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 51LL5t0G1020420
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=K7B2O959
X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 643D83858C2C
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1740171953;
	bh=9shG1m3kH+l1Tw1KXJGrSEVKDcs9VBIqH5481rKrAko=;
	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=K7B2O959KLj1hGHWpzcM3uT9tgw0yqaZFF7KEnT5MNoKvd/gmTtgh45BS6wLNJZL9
	 AsuQWdZGifd/hv/poMo7aB3QX/FwqUieMwB00oT/cW3zHi5xTSm4jVk0/2NTXmR+WA
	 XA2ay1fXkZMmTGp2njqUksEM95mjWXiHGG70Z3yE=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 43F803858401
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 43F803858401
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1740171923; cv=none;
 b=h6Q/Kk7HqhoXJgGX/E8O1lkQtm9ghWIeaMMu00Zn96RJ2yOIBO49G/wk7EujElc/s18IuHWyJO83ENOS4M1i5cV4SKKXkhQzuxlPOU6A23yj0HjEHrBn/9WEGaR+SzV8vXSdkSHaPdQTzZxuR5yIUj4DouFpcG/nEB/L65b4HVE=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
 t=1740171923; c=relaxed/simple;
 bh=8ZBDHQdiDYsMN0pRCJMmTQ6lBs1TuAPf1Q0WKMgpFps=;
 h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To;
 b=Pl4nZ5xpKVZoZsQoF4guzsesQfOJ9lrAWVjQuHozuYDY6uXI23qCilwKUlBWckbZBUvJgc7qdHMLyLmPaq0oEmCpqhEQ02mWNJ5y2OVfL9LB0SR40DJxOzZXj2mcrk7lHuMTiaccF5cqrt3ckbzZaWlugkRB9TsRvED9xSEHJVI=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 43F803858401
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1740171922; x=1740776722;
 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=oah/I5jCbSZMoPASHiKcqPu2m7GCZfREG5+idSTvdnQ=;
 b=n2AD1Ee1uxhH6N2HGHFPHxQYXTbnc5w7h+Ac1RNZfHWoQa0Vbfr0KsV7zXA+L1uXIK
 ZFFDTQOemgh/Nyww2zxfZglxT36rM6k7iQKRdbyOSfoPD+LfanSkHbiHY/CJJs4YlZAK
 28YH2QX1gKtbrreSVmh5TjF3bMaCxUfsKrvCQ8gFaDyF3FIXHq0lOYzeWjT6DGs8EyQf
 TpinJpEDyQzlxOU+5me3pS6bP7OIyNLPhG4toLb9qDDNepzvFHEUxRL8cSSksfqsWaUM
 uRRDjW208KpOHEYyDiu0nyNqWyiwl/EVvXbiFL/zFuZF3x1jHAubT7qris0mWq8dbarH
 NLsQ==
X-Gm-Message-State: AOJu0YxwoCuJs+f7IL74kqZPiV/WeO5vjHdVQeOXgpqrYIwfm3obtU/c
 Rrcx9MS3gP2GA1J5ov1lQTFatZNSA2CZBVd5QizoW3MM1ocGE+rvfNc0+Sz5Co1xwvaE4Mzux2P
 9zyrsLbX7qq/pFy6wdgg8bdYxsZJkl1ei
X-Gm-Gg: ASbGnct/JMlOh5jmgytUcXgUko9jVVJ1giEjZyxdvngYIwDbC9CqYrFMrNADucctzzp
 1ybBgeku9F5ktz2SQm2AUwNH91BklMHBAOZ9XOrC3ybFPfo1STjFo95ReT2eVTDLsyNyZdI1zQO
 w1TFYgrpqc
X-Google-Smtp-Source: AGHT+IFES9tCWqoyL5shHsXX/3uGJpOeQSPLli1VUTq9G3Hw7p76IjFc8lAzv21LHpl6qA6+ykOoBrKyKaR+ecS0aVc=
X-Received: by 2002:a17:906:3293:b0:abb:cdca:1c08 with SMTP id
 a640c23a62f3a-abc09a0bfcfmr412296966b.16.1740171921380; Fri, 21 Feb 2025
 13:05:21 -0800 (PST)
MIME-Version: 1.0
References: <CALXu0UdHbasuyBiVZveyvJ1+K168QKBu0wn_cEVG8z+zfqQQeg@mail.gmail.com>
 <CAPJSo4XR+vG=RLrOwdo=TsVhLj+qRhDdu0CFrnDZn4Z0oSoqhQ@mail.gmail.com>
 <Z7dgP35hc_jd_dK7@calimero.vinschen.de>
 <CAPJSo4WrUzuGyTzz=Pp8oPnnbcawLNGZBb5dCE67AazVh8B2bA@mail.gmail.com>
 <Z7eSVamMjrs5XsBm@calimero.vinschen.de>
 <CANH4o6NW7NnygLoRgWmMMV7qY4UwK6vKnVKCRX2u=9MCWhdMdg@mail.gmail.com>
 <Z7hVWK1_pzYrIzBG@calimero.vinschen.de>
In-Reply-To: <Z7hVWK1_pzYrIzBG@calimero.vinschen.de>
Date: Fri, 21 Feb 2025 22:04:44 +0100
X-Gm-Features: AWEUYZkaax_0pHV0x1OAPRn7rKglBlqQ2OqMa0P-gMG7Lye611gFAQHQcAOhFfA
Message-ID: <CALWcw=E4kcJ+UbsRkqkFpgRx734H33NhJhspuVH2KgDzV4jL3g@mail.gmail.com>
Subject: Re: UNC path for WebDAV with cd '\\webdavsrv@SSL\path' or cd
 '\\webdavsrv@23456\path' will not work
To: cygwin@cygwin.com
X-BeenThere: cygwin@cygwin.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@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Takeshi Nishimura via Cygwin <cygwin@cygwin.com>
Reply-To: Takeshi Nishimura <takeshi.nishimura.linux@gmail.com>
Content-Type: text/plain; charset="utf-8"
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 51LL5t0G1020420

On Fri, Feb 21, 2025 at 11:28 AM Corinna Vinschen via Cygwin
<cygwin@cygwin.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@SSL\path or
> > \\webdavserver@23456\path, or \\webdavserver@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.example.com@14\beegfs\dir1\dir2....
-- 
Internationalization&localization dev / 大阪大学
Takeshi Nishimura <takeshi.nishimura.linux@gmail.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

