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:date:from:to:subject:message-id:mime-version
	:content-type:content-transfer-encoding; q=dns; s=default; b=RUO
	u01G+Z2CsB6hiMQ/oeK46pwYhy0oPoIFqfdzdULsnvSF7eFzkP+btiSBGOSlXNiL
	lS1jgCoOiGPxKdiEynm6OPSgUICGxCbXLx3nn5qmR2gpA0F7KPmVlZ44hKm/ZyIb
	xNAkHwYpjNkedtyRJCUkTi8vWVnM3sFiNE9hyw3o=
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:date:from:to:subject:message-id:mime-version
	:content-type:content-transfer-encoding; s=default; bh=YSN/HOkEA
	vbqTsCtYVDUzzYjl/w=; b=xrobfe63IZ3sR7Wna+TSlg0OB8ntbofOjFCCgyx6S
	p1P8XkxLq14NuAma8etmcAZRX2DFi7MRIWzTPPvqOGtpuHvfCxQFVKlY6ntr9Nje
	QVsnt9do+aHKq9G9CpYCd7+S3IU5vCdW6ZlnZldtpuJPsjq41cBiDQfqQn8ouxth
	r0=
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
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,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=dcs, Hx-languages-length:989, 0900, H*F:D*ne.jp
X-HELO: conssluserg-04.nifty.com
DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-04.nifty.com w5DDmvSj014201
X-Nifty-SrcIP: [125.3.30.127]
Date: Wed, 13 Jun 2018 22:49:01 +0900
From: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
To: cygwin AT cygwin DOT com
Subject: [bug: csih] Setting privileged rights to cyg_server fails on Windows 7.
Message-Id: <20180613224901.d2cf679cef8eab89a834c494@nifty.ne.jp>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

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

-- 
Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>

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