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:in-reply-to:references:from:date :message-id:subject:to:content-type; q=dns; s=default; b=sGultKC jxeWQeKqEnEm5+yg094z1PCbEH1ixrs0LqReP36l9fsTBOJJ1bqPs5Fw8Z2B6+nJ Ibd3YRNNS4rf2dkpoB8c24ZFtOL6oG3QH2U4IKuegqVF2hK2bb1PSMz5Bz8gnU13 dz/WunLtHnORJPF0WiH9zeeix7Y60+4xMXZk= 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:in-reply-to:references:from:date :message-id:subject:to:content-type; s=default; bh=9PEmAeiXs83RQ qmLWEyRi9qB9Nc=; b=qZ7YaKVdRCYZ6KMIth/sOa/EzVDRsNd6dbYWQhhkono1Q LNRWYjmYRncyoZ9PtRy/w7Fq73Q5l0rmoJBtB9U5/fqVTsHBiufY5tteP2P4rmp5 j57rttEtgkwcFiQD6pwylROQesy74/+Ix+OC77TZVEVkcKfqklfxm/yP6HHaoQ= 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=-10.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=improvements, Effective, rights X-HELO: mail-qt0-f176.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=nCaTnUSVHI2YctXsVfsM5LgwUdUqHx0Wm39q7L3diDo=; b=hvVamFyjptaJRl3+GT06m7AGxtfSbyo3EiU8CtgckZsws2SALgMOUajSVZ/CebXG09 8DHjg7sH60bCS1zh0Au5S6oKPFiackwRx8PmleFzNN8mSNLPrUX9qO7tF3G58DU49E+P TKRSnyT+0qkHm5ie14Gn9KWUI8pIhoNTA+KpZRolnmFAxHt1ZscWppgYXYFVvUyqYWFo 5qq6v7tNNAksvFfBpQhkE8XyxjySQETDLmgiu+cN4e6A6KtyzELek10Ap44h+jpyoVxZ 4nRYBDNNJ8dsIPIa0qJoZCHFSI1r60HbkdELs7CNJRQYdSWoYaoaW8C/X7fx0EwUDGOn 3FYA== X-Gm-Message-State: APt69E35ceO7heuzAPePONcIVKjr2byIYYZV6UyUyAPfEEfPxfDWxTiV QOBJIofwfBmFHwId9I2OJEHwIcihe8u+SZfk/GY= X-Google-Smtp-Source: ADUXVKJl38q+5m0pWIvsQsEUY6MIy4+UpEI/KBVRUZdpPVvTYEqOQxXnA92tSE0l5JJjMp88fpCTR7dAGrcoRVWPanY= X-Received: by 2002:ac8:172a:: with SMTP id w39-v6mr4684831qtj.96.1528900762959; Wed, 13 Jun 2018 07:39:22 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20180613224901.d2cf679cef8eab89a834c494@nifty.ne.jp> References: <20180613224901 DOT d2cf679cef8eab89a834c494 AT nifty DOT ne DOT jp> From: Csaba Raduly Date: Wed, 13 Jun 2018 16:39:22 +0200 Message-ID: Subject: Re: [bug: csih] Setting privileged rights to cyg_server fails on Windows 7. To: cygwin list Content-Type: text/plain; charset="UTF-8" Hi Takashi-san, On Wed, Jun 13, 2018 at 3:49 PM, Takashi Yano wrote: > Hi, > > I have found that iu-config of inetutils package fails to set > the privileged rights to cyg_server on Windows 7 if the machine > is not domain member. > > I looked into this problem, and found that this is the problem > of csih package. > > In other words, csih expects environment variable LOGONSERVER > is set, but it is not set on Windows 7 without domain. > > This issue is resoleved with following simple patch. > > I hope fixed version of csih will be released. > > --- cygwin-service-installation-helper.sh.orig 2015-10-28 18:23:35.000000000 +0900 > +++ cygwin-service-installation-helper.sh 2018-06-13 22:24:30.353515600 +0900 > @@ -2883,6 +2883,7 @@ > then > # This test succeeds on domain member machines only, not on DCs. > if [ "\\\\${COMPUTERNAME,,*}" != "${LOGONSERVER,,*}" \ > + -a "${LOGONSERVER}" != "" \ > -a "${LOGONSERVER}" != "\\\\MicrosoftAccount" ] > then > # Lowercase of USERDOMAIN > Won't this break Windows 7 computers which *are* on a domain ? Csaba -- You can get very substantial performance improvements by not doing the right thing. - Scott Meyers, An Effective C++11/14 Sampler So if you're looking for a completely portable, 100% standards-conformat way to get the wrong information: this is what you want. - Scott Meyers (C++TDaWYK) -- 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