delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/02/15/19:20:36

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: =?ISO-8859-1?Q?Claudius_Schn=F6rr?= <Claudius DOT Schnoerr AT gmx DOT de>
Subject: Q: nfsd: Unable to seteuid(-2)
Date: Thu, 16 Feb 2006 01:16:04 +0100
Lines: 37
Message-ID: <dt0g7v$gr4$1@sea.gmane.org>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax)
X-IsSubscribed: yes
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

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/

- Raw text -


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