Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <42CD70BC.3E59F608@cox.net> Date: Thu, 07 Jul 2005 14:13:16 -0400 From: ohaya MIME-Version: 1.0 To: Cygwin List Subject: Re: New to Cygwin - Problems with Cygwin NFS References: <42CCB8F9 DOT CAB6635D AT cox DOT net> <42CCC8E3 DOT A25ED762 AT cox DOT net> <6 DOT 2 DOT 1 DOT 2 DOT 0 DOT 20050707122047 DOT 03cdf278 AT pop DOT prospeed DOT net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Larry Hall wrote: > > At 02:17 AM 7/7/2005, you wrote: > > > > >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. > > > > >> 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, I'll take a look at that document. Thanks, Jim -- 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/