public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
From: corinna@sourceware.org
To: cygwin-apps-cvs@sourceware.org
Subject: [csih] branch master, updated. 87a95f05e40697ea96ecd2b83145d20642db4cf9
Date: Thu, 10 Sep 2015 17:23:00 -0000	[thread overview]
Message-ID: <20150910172303.57600.qmail@sourceware.org> (raw)




https://sourceware.org/git/gitweb.cgi?p=cygwin-csih.git;h=87a95f05e40697ea96ecd2b83145d20642db4cf9

commit 87a95f05e40697ea96ecd2b83145d20642db4cf9
Author: Takashi Yano <takashi.yano@nifty.ne.jp>
Date:   Thu Sep 10 19:22:22 2015 +0200

    Fix creating cyg_server user when running under Microsoft Account
    
    	Fixes https://cygwin.com/ml/cygwin/2015-06/msg00265.html
    
    Signed-off-by: Corinna Vinschen <vinschen@redhat.com>


Diff:
---
 cygwin-service-installation-helper.sh |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/cygwin-service-installation-helper.sh b/cygwin-service-installation-helper.sh
index d3c98af..87993be 100755
--- a/cygwin-service-installation-helper.sh
+++ b/cygwin-service-installation-helper.sh
@@ -2866,7 +2866,8 @@ csih_select_privileged_username()
     if ! csih_use_file_etc "passwd"
     then
       # This test succeeds on domain member machines only, not on DCs.
-      if [ "\\\\${COMPUTERNAME,,*}" != "${LOGONSERVER,,*}" ]
+      if [ "\\\\${COMPUTERNAME,,*}" != "${LOGONSERVER,,*}" \
+	   -a "${LOGONSERVER}" != "\\\\MicrosoftAccount" ]
       then
 	# Lowercase of USERDOMAIN
       	csih_PRIVILEGED_USERNAME="${COMPUTERNAME,,*}+${username}"


                 reply	other threads:[~2015-09-10 17:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150910172303.57600.qmail@sourceware.org \
    --to=corinna@sourceware.org \
    --cc=cygwin-apps-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).