X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:to:subject:date:message-id:references
	:content-type:content-transfer-encoding:mime-version; q=dns; s=
	default; b=IUJMeSti98YJTPyt7dZMKsgTzLsboHZ7DamZ8E9C6JtkqA8cEMwRi
	xH7vwIF22aINbMlIQyUGTtaKrwrIfBSBuQjicqvbHyXlPwpIwwcl+h3PZhMNr1B4
	MGroCZrDwWEHb9xNaoWPO5EsjBdXLYYgDXzNQ3KFeb/ByVxe4OYC1o=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:to:subject:date:message-id:references
	:content-type:content-transfer-encoding:mime-version; s=default;
	 bh=yAoUaXkygTFexCmQkdx532Z3SG0=; b=HKrlEYa4cDjC0o/0QQ1eLxmnvLRe
	ZOdlP3fv5I4icqH3dHQuBdo6xEX0ZhyNEAPt5LhFL6me1HNDfKlT9xw2JJnCg9AR
	PMJFb4vT/8GS0UIT/lZQoQ6KIH0O5IBY7o55wKOf3PjVdq+8PfBTUiGgKbGintW9
	8By7nBPQ3yX2p2o=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: Yes, score=5.0 required=5.0 tests=AWL,BAYES_80,KAM_LAZY_DOMAIN_SECURITY,MIME_BASE64_BLANKS,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=no version=3.3.2 spammy=baker, Baker, intercepted, sk:telecom
X-HELO: mail1.bemta3.messagelabs.com
X-Env-Sender: Nick.Battle@uk.fujitsu.com
X-Msg-Ref: server-8.tower-169.messagelabs.com!1458056549!26120761!1
X-StarScan-Received:
X-StarScan-Version: 8.11; banners=uk.fujitsu.com,-,-
X-VirusChecked: Checked
From: "Nick.Battle@uk.fujitsu.com" <Nick.Battle@uk.fujitsu.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: RE: Problem with ssh-host-config?
Date: Tue, 15 Mar 2016 15:42:28 +0000
Message-ID: <74652658081042b6aed140a56c397df0@R01UKEXCASM112.r01.fujitsu.local>
References: <869e15d0ccf54bd5ac85e8896f61592e@R01UKEXCASM112.r01.fujitsu.local> <loom.20160311T145910-774@post.gmane.org> <20160311154058.GC31269@calimero.vinschen.de>
x-ms-exchange-transport-fromentityheader: Hosted
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id u2FFgqSL019475

Hi Corinna,

>> In theory this should only happen if you *only* use passwd in
>> /etc/nsswitch.conf.  If you use default settings (passwd db), this
>> branch should not be hit either.
>>
>> So I wonder how your /etc/nsswitch.conf looks like.  Are you using 
>>
>>  passwd: passwd
>>  group: passwd
>
> We install the following in nsswitch.conf just before running ssh-host-config:
>
> passwd:   files
> group:    files 
> db_home:  windows
>
> Does that explain the path we're taking?

Looking at the csih scripts, that would take the code into the mkpasswd branch with the bug.
So perhaps no one has noticed this before simply because the default behaviour skips it.

-- 
Cheers,
-nick




Unless otherwise stated, this email has been sent from Fujitsu Services Limited, from Fujitsu (FTS) Limited, or from Fujitsu Telecommunications Europe Limited, together "Fujitsu".

This email is only for the use of its intended recipient.  Its contents are subject to a duty of confidence and may be privileged.  Fujitsu does not guarantee that this email has not been intercepted and amended or that it is virus-free.

Fujitsu Services Limited, registered in England No 96056, registered office 22 Baker Street, London W1U 3BW.

Fujitsu (FTS) Limited, registered in England No 03808613, registered office 22 Baker Street, London W1U 3BW.

PFU Imaging Solutions Europe Limited, registered in England No 1578652, registered office Hayes Park Central, Hayes End Road, Hayes, Middlesex, UB4 8FE.

Fujitsu Telecommunications Europe Limited, registered in England No 2548187, registered office Solihull Parkway, Birmingham Business Park, Birmingham, B37 7YU.

