[csih - Cygwin service installation helper, a helper script and tools to create service installation scripts] branch master, updated. v0_9_9-5-g0314976
corinna-9JcytcrH/[email protected]
| Newsgroups | gmane.os.cygwin.cvs.apps |
|---|---|
| Message-ID | <[email protected]> |
https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/csih.git;h=0314976752132c8b90871c014393d6e06dd4c469 commit 0314976752132c8b90871c014393d6e06dd4c469 Author: Takashi Yano <[email protected]> Date: Wed Jun 13 22:49:01 2018 +0900 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. Diff: --- cygwin-service-installation-helper.sh | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/cygwin-service-installation-helper.sh b/cygwin-service-installation-helper.sh index 14a40c1..abdb0ef 100755 --- a/cygwin-service-installation-helper.sh +++ b/cygwin-service-installation-helper.sh @@ -2883,6 +2883,7 @@ csih_select_privileged_username() then # This test succeeds on domain member machines only, not on DCs. if [ "\\\\${COMPUTERNAME,,*}" != "${LOGONSERVER,,*}" \ + -a "${LOGONSERVER}" != "" \ -a "${LOGONSERVER}" != "\\\\MicrosoftAccount" ] then # Lowercase of USERDOMAIN