Web lists-archives.com

[bug: csih] Setting privileged rights to cyg_server fails on Windows 7.




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

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