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:mime-version:from:date:message-id:subject:to :content-type:content-transfer-encoding; q=dns; s=default; b=rfB LsC35eer360vH1Lu4uaPISAHeLfdQldtRukhzAUsRgqPqkMirK62df37MnUemyBr UYlpE8udwIcOiqM0jJfAxok58COTGaQOyRLz0Sq3jcMpBcMckWE5hC/M4j0eeM0d OSpurNd+fwrzGnxMG6+9b5QCaauXYieZ7jzaVt5Q= 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:mime-version:from:date:message-id:subject:to :content-type:content-transfer-encoding; s=default; bh=/KHlFSGH4 NtG1GG6CpQrbD131J8=; b=szo/4Zu65i54pKWHGeDGm4muYCdZl6cOgJ81qUNK8 OHtVPEEUZP6rxfxr0jTWxuDUP0PP0miaMXgyXOS6yZjC0tzZTTRS2UTJIH3EOq3a /9CAWsaKZvbgnwd8VEz92cQY0I+yVpEeYHue/tNK4TpN9qbOpwI7DbAMYJI39dju sM= 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: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1120, kindly X-HELO: mail-io0-f170.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=zj2sKOJHpxwSM1S2FcJ0kuIui1TMrYk5UKc3OCclmwI=; b=Wm+Lwc/CO+kifhQUXFKY4eBPPYqlIBIX5t+nsRG6KV/jNnbH81i984cc/TCHwy1D+w qw1inAOCQBu+Bj2gagBPRYrF7sOj9siTXG14FImHWO1rbGQ9qP4YSAhfyhHjAPVBIKAz /SLJTOjJo2braWOfDUmQ+kTPIa5Ip8cFywwiXRyH1iUlpeIf8h1KNmApKnP0J4ojbI23 Q7nAYaszqWDotjWSQZxqwcX1zHX6BMdYtJEjIKf4WKK152xPoVPXrGZhuHW1tPNPmHIg XRBSEFFASVOynn2uY5ZITjMs5qgVJihWED5sk5J4OHCwU2Yit8ESAAcoCikTviT+yGZc puVQ== X-Gm-Message-State: AD7BkJLmLgcqtgULbwkVH86cqbu7r5EBczi8HFSADy+bl3eA+vRwpyZIVtA6ND7rk24r70ba+0/H6R9+AAJvbOuu X-Received: by 10.107.151.133 with SMTP id z127mr630678iod.191.1459452207789; Thu, 31 Mar 2016 12:23:27 -0700 (PDT) MIME-Version: 1.0 From: Pete Moore Date: Thu, 31 Mar 2016 21:23:08 +0200 Message-ID: Subject: Re: strange cygwin sshd user generated (user name includes machine name) To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u2VJNrNM011421 RESOLVED! =) I’m happy to report Brian McGeorge found a solution, which was kindly passed on to me via Ben Stragnell. The answer is to set the environment variable LOGONSERVER to \\%COMPUTERNAME%. This works by not executing the body of the if statement in: https://cygwin.com/git/gitweb.cgi?p=cygwin-csih.git;a=blob;f=cygwin-service-installation-helper.sh;h=10ab4fb6d47803c9ffabdde51923fc2c3f0496bb;hb=7ca191bebb52ae414bb2a2e37ef22d94f2658dc7#l2884 (lines 2884 to 2890) My working user data now looks like this (note - you need to see both links for context - different parts of the same user data file). * https://github.com/taskcluster/generic-worker/blob/b0786db002921d3ec7d40053ac2e6799679ab290/worker_types/win2012r2/userdata#L4 * https://github.com/taskcluster/generic-worker/blob/b0786db002921d3ec7d40053ac2e6799679ab290/worker_types/win2012r2/userdata#L81-L101 The addition to the powershell script was simply: $env:LOGONSERVER = "\\" + $env:COMPUTERNAME I can confirm this fix works! Thanks again to Brian and Ben. =) Pete -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple