delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/12/16/07:52:47

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
X-KeepSent: 9B3C4F38:B4D2EDAE-C1257520:003D7E18; type=4; name=$KeepSent
Message-ID: <OF9B3C4F38.B4D2EDAE-ONC1257520.003D7E18-C1257520.003D953D@nbg.sdv.spb.de>
From: Carsten DOT Porzler AT spb DOT de
Date: Mon, 15 Dec 2008 12:12:46 +0100
X-SafeGuard_MailGateway: Version: 5.30.1.7110 SGMG (smtpd: 6.71.2.3) Date: 20081215115141Z
Subject: Wrong output of id.exe respectively no SSH login possible...
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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,

on some servers (Windows Server 2003, SP2) we have the problem, that the 
passwd and group file are not interpreted correctly, obviously.

If  I execute the tool id.exe without parameters, I get back the following 
line:

uid=400(<username>) gid=401(mkpasswd) groups=401(mkpasswd)

If we we run id.exe withe any username as parameter, I get back the 
following line:

id: <username>: No such user

It seems, that the passwd and/or group file does/do not exist, but the 
files are correctly (the files are the same one we use on every of our 
servers). I test also with new created passwd and/or group files with only 
very few lines in it.

By every process using  the files passwd and group (e.g.  id.exe or an ssh 
authentication process) the files are accessed and read by these processes 
(I can see the on filemon tool within Windows).

But now the crazy thing: If I run id.exe with high frequenzy one after 
another (e.g. in a loop within a cmd-Skript), it works fine: id.exe gives 
back the correct resolution of the user- and group-ids, the ssh logon 
process works fine.

What could be the reason of such a problem?

Thanks for help in advance and

best regards

Carsten Porzler


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