This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: New to Cygwin - Problems with Cygwin NFS



Larry Hall wrote:
> 
> 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,

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]