]> sourceware.org Git - newlib-cygwin.git/commitdiff
Change "nodomain+nobody" to "no+body"
authorCorinna Vinschen <corinna@vinschen.de>
Fri, 22 Jul 2016 07:41:23 +0000 (09:41 +0200)
committerCorinna Vinschen <corinna@vinschen.de>
Fri, 22 Jul 2016 07:41:23 +0000 (09:41 +0200)
Per https://cygwin.com/ml/cygwin-apps/2016-07/msg00059.html

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
winsup/cygwin/uinfo.cc

index bc2a2d8212c8eeab4bb38ba8233c89854979235f..77e8e8da7bef48b0069b5c40065a60bc9cf124d6 100644 (file)
@@ -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;
     }
This page took 0.034557 seconds and 5 git commands to generate.