This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Hi Takashi-san,

On Wed, Jun 13, 2018 at 3:49 PM, Takashi Yano  wrote:
> 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
>

Won't this break Windows 7 computers which *are* on a domain ?

Csaba
-- 
You can get very substantial performance improvements
by not doing the right thing. - Scott Meyers, An Effective C++11/14 Sampler
So if you're looking for a completely portable, 100% standards-conformat way
to get the wrong information: this is what you want. - Scott Meyers (C++TDaWYK)

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]