X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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 DOT Battle AT uk DOT fujitsu DOT 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 DOT Battle AT uk DOT fujitsu DOT com" To: "cygwin AT cygwin DOT 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 AT R01UKEXCASM112 DOT r01 DOT fujitsu DOT local> <20160311154058 DOT GC31269 AT calimero DOT vinschen DOT 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.