public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
* [csih - Cygwin service installation helper, a helper script and tools to create service installation scripts] branch master, updated. v0_9_9-5-g0314976
@ 2018-06-14  9:15 corinna
  0 siblings, 0 replies; only message in thread
From: corinna @ 2018-06-14  9:15 UTC (permalink / raw)
  To: cygwin-apps-cvs




https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/csih.git;h=0314976752132c8b90871c014393d6e06dd4c469

commit 0314976752132c8b90871c014393d6e06dd4c469
Author: Takashi Yano <takashi.yano@nifty.ne.jp>
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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-06-14  9:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-14  9:15 [csih - Cygwin service installation helper, a helper script and tools to create service installation scripts] branch master, updated. v0_9_9-5-g0314976 corinna

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).