delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/08/03/14:46:49

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C977F3857C4F
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1691088408;
bh=kic0Z+nz9Sf5ohIObLlczU3WvRCIB0M+dOEr9YaRWzM=;
h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=fHe6m6cswq9TiHM0WlrtreV9IgZ+82vanIRrRIS5kCN4fg6HUD10ooQ+Fi2bpN0Ce
g9h8vfvZ2G2VWZtwB7yzDmX+X8d8GlYf0prAC23yp/dhSuye5C2JPJ/Fz7r3vhRATI
o209D+oKFg+pmfbQ9+YfVU277j2DdHhpoBjMB+0Y=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AF9AC3858438
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20221208; t=1691088393; x=1691693193;
h=to:subject:message-id:date:from:mime-version:x-gm-message-state
:from:to:cc:subject:date:message-id:reply-to;
bh=QRcABJelXeGbDdzcttbVBEFUvss/BU+foXnErw9jcFY=;
b=ZDboExWtiPT/ThDw3sukOS9sTIHG0KtO4o9d0GKlpM+DWte0giEpbKILOcOvDSpeGR
s/YhBk2FhvXkoYnoL6oAZvbCxhLKMYcyWf/Dr2aeR90X8LOuNL956tZe16BIJydhPBgo
qLSI8vZlkdj6Cx0luLJBqDzsAfYZYoRr1sQfRvq1Vqj1/UQZqz9mKry695gE0wecOZdS
Z14gV+A0qDzjuiIYXkQmST6GTNHXcsjBQUvG91T34D2Q9D+g5KT/a+UJTlOJ7XB3ZSzH
tx/fcHp+RYMgtfGaImqkTCNi2xyzoRWm/G3dNTsFeLSW/FLozFiz2Brz+FWgiUCwJcaS
drKw==
X-Gm-Message-State: ABy/qLafGn/JNjDmmFA2S9GWmkH/TsapbteRHzrXH+xK56LXnzEG0hCa
4cIX4TbQAv77xbmNqttQ1NfON3rmP8zUmlZ4jTkS3HrG2ynaQmWR
X-Google-Smtp-Source: APBJJlGAEL1NSLJyUi0Lqo99kCV90OiMuNrqOi8V8E1J+Fp1y9jjYK+Y77azvAA1AYXMrbujnVZ6waXPpdtbK7Gmbf0=
X-Received: by 2002:a05:6870:3293:b0:1bb:8040:24e1 with SMTP id
q19-20020a056870329300b001bb804024e1mr20413739oac.28.1691088392938; Thu, 03
Aug 2023 11:46:32 -0700 (PDT)
MIME-Version: 1.0
Date: Thu, 3 Aug 2023 20:46:21 +0200
Message-ID: <CANH4o6NGYsDPgnW7F6qdMWcEnET2yNKFwS-E=DUQtR9t8Q2Njg@mail.gmail.com>
Subject: ms-nfs41 mount: Where does Unix_User+0 and Unix_Group+0 come from?
To: ms-nfs41-client-devel AT lists DOT sourceforge DOT net, cygwin AT cygwin DOT com
X-Spam-Status: No, score=2.7 required=5.0 tests=BAYES_05, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,
SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE,
URI_DOTEDU autolearn=no autolearn_force=no version=3.4.6
X-Spam-Level: **
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
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: Martin Wege via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Martin Wege <martin DOT l DOT wege AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

Hello,

We are working to deploy the ms-nfs41-nfs-filesystem on our Windows
machines, and encounter some issues with Cygwin (latest stable).

For example, if we go to the ms-nfs41-nfs-filesystem (not the NFS
version 3 client from Windows!!!) with cd X: ; cd tmp/data9/, and do a
ls -l we get 'Unix_User+0' and 'Unix_Group+0' for user and group
names.
The question is: Where do these names come from - Windows,
ms-nfs41-nfs-filesystem or Cygwin?
getent passwd and getent group do not list this on Cygwin.
NFS version 4 server "lordbatman" has user mlw=uid(3620) and group mlw=gid(3620)

Steps to reproduce:
1. Download and install cygwin.
2. Download http://www.citi.umich.edu/projects/nfsv4/windows/120612/
and install it.
3. Start NFS version 4 client daemon:
ms-nfs41-client-x64/nfsd_debug.exe -d 3 --noldap --gid 3620 --uid 3620
4. Mount NFS version 4 directory:
ms-nfs41-client-x64/ms-nfs41-client-x64/nfs_mount.exe -p -o sec=sys X
'lordbatman.bias.dfn.de:/export/home/mlw'

Expectation:
Cygwin ls -l should list file user/group as mlw/mlw

Actual results:
Cygwin ls -l lists file user/group as Unix_User+0/Unix_Group+0

How do we fix this?

Thanks,
Martin

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