delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/07/13:26:47

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.2.1.2.0.20050707122047.03cdf278@pop.prospeed.net>
Date: Thu, 07 Jul 2005 12:30:51 -0400
To: ohaya <ohaya AT cox DOT net>, cygwin AT cygwin DOT com
From: Larry Hall <lh-no-personal-replies-please AT cygwin DOT com>
Subject: Re: New to Cygwin - Problems with Cygwin NFS
In-Reply-To: <42CCC8E3.A25ED762@cox.net>
References: <42CCB8F9 DOT CAB6635D AT cox DOT net> <42CCC8E3 DOT A25ED762 AT cox DOT net>
Mime-Version: 1.0

At 02:17 AM 7/7/2005, you wrote:

<Reformatted top post>


>ohaya wrote:
>> 
>> Hi,
>> 
>> I've been trying to configure Cygwin NFS running on a Windows 2003
>> Server machine (machine: testwin2k3) to export directories so that I can
>> eventually use these directories as home directories on Solaris
>> machines.
>> 
>> I got Cygwin and Cygwin NFS installed, and somewhat working, but am
>> having problems with the uids of files being created on the NFS
>> directories.

<snip>

>> However, if I try to create a file after "su - jim1", the uid on the
>> file is set to nobody (uid=18?).  


UID 18 on Windows maps to the SYSTEM user.  I'm guessing that you're running
the services as SYSTEM then.


>>The gid seems to be ok, it's just the
>> uid on the files that seems to be wrong.
>> 
>> I've tried to add a "map_static=/etc/nfs/server.map-jim1":
>> 
>> /hometest/jim1  192.168.0.201(rw,map_static=/etc/nfs/server.map-jim1)
>> 
>>  where the /etc/nfs/server.map-jim1 file has:
>> 
>> uid     18      1000
>> gid     1000    1000
>> uid     1000    1000
>> gid     1000    1000
>> 
>> but, to no avail.
>> 
>> I've also tried setting "anonuid=1000,anongid=1000", but got the same
>> results.
>>


I would think this should work fine, with the caveat below.


> 
>I was just looking in /var/log/nfsd.log under Cygwin, and I am seeing
>lots of errors:
>
>auth_clnt.c 352 : Unable to seteuid(1000):  no such process


Wouldn't this be an indication of the known problem on W2K3 that
SYSTEM does not have permissions to change user contexts?  See 
'/usr/share/doc/Cygwin/openssh.README' for some solution details.


--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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