DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 51PG0bOk3915226 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 51PG0bOk3915226 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=qI9CgDoo X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 017083858C52 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1740499236; bh=QEDkaVCo6jkvFCddsRbm/yIF98Dtht57sf6Wk9/jhdU=; 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=qI9CgDooeslYVXLT30NO8ojfK8c3DCUDhmEXWigSRH8gjMnPW+ln+jCQL+624C3jv DHlmXVuL/ORx7KNFDgESnScao3g2pOPb81m8yj5vJ8mFvu6MHz+qUWsxk8Iv3GzRao 2uOhbKnCFL1DPkKL46aoU39OvUjLPy0YqWTxEidY= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4A1273858D28 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 4A1273858D28 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1740499209; cv=none; b=jcs6KZBwf1CD20JsY2EysZKfyjKFp93WDuKwgDM0HYg4z/PDpITCi9Op6fTWlS9WEEHQ/vbPLd3k9FHY83OqwiJl9L8PXnWUZ+aMVi7hdmuFSOD1qZLcM5ihoeIBDyGPuNLBhgp8NFrj7R+/hl2IUVZknI1xVTcV4XyDWRlwr7M= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1740499209; c=relaxed/simple; bh=F6N5UgNP84v4Cm8V0SSvC4gFqoN5oyFD60/YgE2T0qI=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=FIjUtWlCmYrvdxQGW72/z+GXqHxBNtIIduvrepM72MQKBr0EbqgBQG9+0VNWgnPweLBXqQatvOSIJR5UTzGrp8s219WpRhd9dMeNcV1KgI7SJ7x+pWQ04rM0SamjUOgyPLT8sAkkEkLos0s5Y2ACBoPh8q36DZJukjx0SuxBvWY= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4A1273858D28 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740499207; x=1741104007; 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=HOvTumELNvdqGXperWs6pHUGglMHwsmCTnJEPQ5vGRY=; b=pZoSirHAW50Uv0ipnoJG7FOYis3EUhNeTxNp2uGl8ULYRcryRXxLRLoNrleI7KFh20 Zj37lD8cFXP8QTbPK6o1z1F/Zaqmh3McPt/iuzlmW9SoxGr9zmiLyUZ5iP9anVVC5Gkt O3c6DrBEne3r2/l+8/whoACT/qhWN3e3tCLZkzlApALWlBIFSptqz9WOIZK+ZKo0spSA 3jOaE6dm22n0FxfBXfky8k3IhWsjTVFXFZsOOeEAUfvHOBc4oyWg4f3HkSTsnfD5gi0B xJ9NcVD5B26eqYTOVsuO3fDtQLjH7jUXK2a088ycHDTwC2s9Z23V7OephsSR4twErZO0 Zhug== X-Gm-Message-State: AOJu0YyefTOP79Ut2sJzRQ7VVKd2JQJhehFm9GuS7LhTVUvlD8IoLlUJ fhoQI91xQOOo2cBjzBqkiQRWhca1CoLxRsyjJKmK0rvDmfgxqo/npygSZB4vsSj0GPdRe7LWu62 PTVCBmZwKZlw0HunQzRtg8BLwUqhz0Dpw X-Gm-Gg: ASbGncvuEWcTFeBKV+wetU/7wbXSmDQkzY8CqMp3RqoECau37bOtyeoncVic0LSw6Wr 448NrVBPi+v+h9uEnHxbxcjl2i+Wq5wNzifZkg8+TpyrWCVIlQgBlOEF4Is/CHQiRg/8aGZ1zOB 2C35QzUe7O X-Google-Smtp-Source: AGHT+IFmFvV5vCWe1qOL1/i9XJzm9MGMpRi79Z8fYcR+G6mUD/XPhVWY6g3kPLCRPJDIKlDxMjevfCCM71veXatNwbM= X-Received: by 2002:a17:906:18b1:b0:abe:ea8d:a8a2 with SMTP id a640c23a62f3a-abeea8da98emr45511366b.33.1740499206537; Tue, 25 Feb 2025 08:00:06 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Tue, 25 Feb 2025 16:59:30 +0100 X-Gm-Features: AQ5f1JpIDtfwuA4aEELbE7kNw7U-iy7DobFvqaHEbJF-2oaz9sllgUuw-oBqMDU Message-ID: Subject: 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 List-Archive: List-Post: List-Help: List-Subscribe: , From: Takeshi Nishimura via Cygwin Reply-To: Takeshi Nishimura Content-Type: text/plain; charset="utf-8" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 51PG0bOk3915226 Subject says it all, please document that @ characters in UNC paths are now supported, for WebDAV and BeeGFS ---------- Forwarded message --------- From: Takeshi Nishimura 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: On Sat, Feb 22, 2025 at 12:20 PM Corinna Vinschen via Cygwin wrote: > > On Feb 21 22:04, Takeshi Nishimura via Cygwin wrote: > > On Fri, Feb 21, 2025 at 11:28 AM Corinna Vinschen via Cygwin > > 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 -- Internationalization&localization dev / 大阪大学 Takeshi Nishimura -- 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