Hello again,
after changing my clswork.map to
# remote local
uid 1010 1000 #nfsd -> user
uid 1000 1000 #user -> user
gid 1000 1000 #group bv -> group bv
a mount works, but the files still get the wrong uid:
drwxrwxrwx 37 4294967294 bv 0 2006-02-16 17:24 mnt/
The log of mountd seems ok.
The log of nfsd shows
nfsd[252] 02/16/106 18:51 auth_clnt.c 307 : Unable to setegid(-2):
Invalid argument
nfsd[252] 02/16/106 18:51 auth_clnt.c 332 : Unable to setgroups: Invalid
argument
nfsd[252] 02/16/106 18:51 auth_clnt.c 352 : Unable to seteuid(-2):
Invalid argument
nfsd[252] 02/16/106 18:51 auth_clnt.c 307 : Unable to setegid(-2):
Invalid argument
nfsd[252] 02/16/106 18:51 auth_clnt.c 332 : Unable to setgroups: Invalid
argument
nfsd[252] 02/16/106 18:51 auth_clnt.c 352 : Unable to seteuid(-2):
Invalid argument
nfsd[252] 02/16/106 18:52 auth_clnt.c 332 : Unable to setgroups: Invalid
argument
nfsd[252] 02/16/106 18:52 auth_clnt.c 352 : Unable to seteuid(1000):
Invalid argument
And portmapd issues no log entries at all.
The mount takes about 10 seconds to be accomplished.
How can I get the mounted file system to appear with the correct uid of
the user on the client side?
How can I prevent that delay when mounting the remote file system?
Claudius
Claudius Schnörr schrieb:
Hello,
I just started nfsd and get this error when auto-mounting some
filesystem from the server:
nfsd[1524] 02/16/106 00:52 auth_clnt.c 352 : Unable to seteuid(-2):
Invalid argument
The config files on the client (clswork):
/etc/exports:
/dokus/Claudius clswork(rw,map_static=/etc/nfs/clswork.map)
/work clswork(rw,map_static=/etc/nfs/clswork.map)
/etc/nfs/clswork:
# remote local
uid 1010 1000
gid 1000 1000
/etc/passwd:
Claudius::1000:1000::/dokus/Claudius:/bin/bash
nfsd:unused_by_nt/2000/xp:1010:1000:nfsd,U-CLSPC\nfsd,S-1-5-21-329068152-813497703-1957994488-1010:/home/nfsd:/bin/bash
If I mount by hand instead, it works, but ne files get the wrong userid
and groupid:
drwx------ 37 4294967294 4294967294 0 2006-02-16 00:25 mnt/
It should be 1000:1000 as on the server.
Can anyone help?
I thank you in advance,
Claudius
--
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/