This is the mail archive of the
cygwin
mailing list for the Cygwin project.
[bug: csih] Setting privileged rights to cyg_server fails on Windows 7.
- From: Takashi Yano <takashi dot yano at nifty dot ne dot jp>
- To: cygwin at cygwin dot com
- Date: Wed, 13 Jun 2018 22:49:01 +0900
- Subject: [bug: csih] Setting privileged rights to cyg_server fails on Windows 7.
- Dkim-filter: OpenDKIM Filter v2.10.3 conssluserg-04.nifty.com w5DDmvSj014201
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.yano@nifty.ne.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