pastebin - collaborative debugging tool
nrubsig.kpaste.net RSS

Difference between
modified post 24d30 by Anonymous on Thu 8th Feb 2024 11:53
original post b20ee by Anonymous on Thu 8th Feb 2024 10:58
Download diff
Show old version | new version | both versions

    
1-
diff --git a/daemon/acl.c b/daemon/acl.c
1+
$ ksh93 -c 'builtin id ; rm -f x ; touch x ; chown "$(id -u -n):$(id -g -n)" x && print OK'
2-
index 3e9e69d..3dd4552 100644
2+
OK
3-
--- a/daemon/acl.c
3+
4-
+++ b/daemon/acl.c
4+
5-
@@ -513,6 +513,9 @@ static int map_nfs4ace_who(PSID sid, PSID owner_sid, PSID group_sid, char *who_o
5+
6-
      * SIDs, and Unix_User+<uid> or Unix_Group+<gid> SIDs
6+
7-
      */
7+
8-
     switch (status) {
8+
9-
+        case 0:
9+
10-
+            /* |LookupAccountSidA()| success */
10+
11-
+            break;
11+
12-
         /* This happens for Unix_User+<uid> or Unix_Group+<gid> SIDs */
12+
13-
         case ERROR_NONE_MAPPED:
13+
14-
         /* Catch other cases */
14+
1515

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at