www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/02/26/14:20:56

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: <Z79pfLkR2RO88SZW@calimero.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <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>
<CALXu0UcjiJt4=MnuCWb_97FY9NVMM6Ak-5a87H2uR7qO+50Gzg AT mail DOT gmail DOT com>
<d3cc4542-4664-a756-ccd3-f05515cc1d7b AT jdrake DOT com>
<Z78pGVoryN-BPKh- AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
In-Reply-To: <Z78pGVoryN-BPKh-@calimero.vinschen.de>
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-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
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: Corinna Vinschen via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>

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

- Raw text -


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