This is the mail archive of the cygwin-cvs@cygwin.com 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]

[newlib-cygwin] Change "nodomain+nobody" to "no+body"


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=25cb82a55ebdc42005198a670830897ed39e6330

commit 25cb82a55ebdc42005198a670830897ed39e6330
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Fri Jul 22 09:41:23 2016 +0200

    Change "nodomain+nobody" to "no+body"
    
    Per https://cygwin.com/ml/cygwin-apps/2016-07/msg00059.html
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 winsup/cygwin/uinfo.cc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/winsup/cygwin/uinfo.cc b/winsup/cygwin/uinfo.cc
index bc2a2d8..77e8e8d 100644
--- a/winsup/cygwin/uinfo.cc
+++ b/winsup/cygwin/uinfo.cc
@@ -1894,7 +1894,7 @@ pwdgrp::fetch_account_from_windows (fetch_user_arg_t &arg, cyg_ldap *pldap)
 	}
       if (!ret)
 	{
-	  if (!strcmp (arg.name, "nodomain+nobody"))
+	  if (!strcmp (arg.name, "no+body"))
 	    {
 	      /* Special case "nobody" for reproducible construction of a
 		 nobody SID for WinFsp and similar services.  We use the
@@ -2451,8 +2451,8 @@ pwdgrp::fetch_account_from_windows (fetch_user_arg_t &arg, cyg_ldap *pldap)
 	 nobody SID for WinFsp and similar services.  We use the
 	 value 65534 which is -2 with 16 bit uid/gids. */
       uid = gid = 0xfffe;
-      wcpcpy (dom, L"nodomain");
-      wcpcpy (name = namebuf, L"nobody");
+      wcpcpy (dom, L"no");
+      wcpcpy (name = namebuf, L"body");
       fully_qualified_name = true;
       acc_type = SidTypeUnknown;
     }


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