DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 51QJKubP298632 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 51QJKubP298632 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=sleocssy X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7B98F3858401 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1740597654; bh=RfmT9PuBYwdnsSmAqUSAXv86TfVKCgGIsK7bDMawbEw=; h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=sleocssy2hEdZGwcWoumir2amS32dXMOQX3lZkuW/Nd3jTQ/uklfljcCxlceB2M7S +xkTS0LRAGeh3+ItByXjAoxJe5BTpSTtYch4Bh6DkFUPbTW13D+8UrlbmErqOKC9c8 v3Uy8xxaLTUnb2TdkRGsx9jdAv4l4UZYj2UL/nlI= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CF3A33858D28 Date: Wed, 26 Feb 2025 20:20:28 +0100 To: cygwin AT cygwin DOT com Subject: Re: Document support for @ character in UNC paths Message-ID: Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Corinna Vinschen via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Corinna Vinschen Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" On Feb 26 15:45, Corinna Vinschen via Cygwin wrote: > On Feb 25 16:59, Jeremy Drake via Cygwin wrote: > D'uh. My reading skills are detoriating. I tried RESOURCE_CONNECTED > and RESOURCE_REMEMBERED, but always with lpNetResource set up for a > certain server... *facepalm* > > I reworked the netdrive code now, so it works a little bit more > generically. The problem is still that some servers never show > up if you try to enumerate servers with WSD or WNet functions. > SMB servers are not enumerated with WNet at all, and WSD shows some > servers but not all servers in the neighbourhood. So when trying > to enumerate shares, we still need some kind of heuristic. > See the latest commit 323729f654ae. > > I added more comments and two FIXMEs in terms of WNNC_NET_DAV. > Changing the loop (or better, adding another loop) which handles > remembered or connected resources sounds like a good idea, but > still needs implementing. I'm open to patches here. I implemented finding servers by enumerating the container WNet resources from the top level and added enumerating connected disk resources. The latter is only enabled for WebDAV right now since connected resources are a subset of all shared resources and only WebDAV is known (yet!) to suffer from the problem. Give the next test release cygwin-3.6.0-0.406.g15b52ba69d64 a try, please. > The way if and how to handle WNNC_NET_RDR2SAMPLE isn't still quite > clear, too. If multiple drivers actually use the same network type, > doesn't that mean you can only ever install one of them? Or is there no > kind of collision and they co-exist? This is still something I'd like to learn... Corinna -- 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