Solution for:"Cygwin NFS server problems - cannot mount from client (HPUX 11)"

Andrey KISHKEVITCH (akh) a-kishkevitch@mdtvision.com
Wed Nov 26 14:58:00 GMT 2003


  Hello Robb, Sam.
I've found the solution for the problem described in "Cygwin NFS server 
problems - cannot mount from client (HPUX 11)".
I had the same problem . I could mount from any UNIX (Solaris, HP-UX, 
Irix). The solution is :
1.Replace in /etc/passwd the line: "SYSTEM:*:18:544:,S-1-5-18::" with 
"SYSTEM:*:0:544:,S-1-5-18::" . That means SYSTEM == root. Because there 
is not exist a user with uid 0 in CYGWIN by default (and after 
seteuid(ROOT_UID), were  ROOT_UID==0 readdir and stat return something 
strange).
or
2. Before build the NFS server set the variabvle CFLAGS to 
"-DROOT_UID=18 $CFLAGS"

Everything will be OK I hope.

Best regards.
Andrey


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



More information about the Cygwin mailing list