pastebin - collaborative debugging tool
nrubsig.kpaste.net RSS

Difference between
modified post 2cca0 by Anonymous on Tue 25th Jun 2024 16:33
original post 6b18776ee by Anonymous on Tue 25th Jun 2024 13:47
Download diff
Show old version | new version | both versions

    
1-
1524/impersonated_user='roland_mainz'/Kein' --> handle_setacl(state->path.path='\bigdisk\builds\acltest3\t3\test1.txt')
1+
diff --git a/daemon/acl.c b/daemon/acl.c
2-
1524/impersonated_user='roland_mainz'/Kein' win2nfs: nfs4_acl->aces[0]=(who='siegfried_wulsch@GLOBAL.LOC', acetype='ACE4_ACCESS_ALLOWED_ACE_TYPE', aceflag=''/0x0, acemask='WD,AD,WEA,RA,RACL,S'/0x120116(=win_mask=0x120116)), who_sid_type='SidTypeUser'
2+
index 0725e24..182b6d5 100644
3-
1524/impersonated_user='roland_mainz'/Kein' win2nfs: nfs4_acl->aces[1]=(who='OWNER@', acetype='ACE4_ACCESS_ALLOWED_ACE_TYPE', aceflag=''/0x0, acemask='RD,WD,AD,REA,WEA,RA,RA,RACL,WACL,S'/0x16019f(=win_mask=0x16019f)), who_sid_type='SidTypeUser'
3+
--- a/daemon/acl.c
4-
1524/impersonated_user='roland_mainz'/Kein' win2nfs: nfs4_acl->aces[2]=(who='GROUP@', acetype='ACE4_ACCESS_ALLOWED_ACE_TYPE', aceflag='(G)'/0x40, acemask='RD,REA,RA,RACL,S'/0x120089(=win_mask=0x120089)), who_sid_type='SidTypeGroup'
4+
+++ b/daemon/acl.c
5-
1524/impersonated_user='roland_mainz'/Kein' win2nfs: nfs4_acl->aces[3]=(who='EVERYONE@', acetype='ACE4_ACCESS_ALLOWED_ACE_TYPE', aceflag='(G)'/0x40, acemask='RD,REA,RA,RACL,S'/0x120089(=win_mask=0x120089)), who_sid_type='SidTypeGroup'
5+
@@ -1081,6 +1081,12 @@ static int map_dacl_2_nfs4acl(PACL acl, PSID sid, PSID gsid, nfsacl41 *nfs4_acl,
6-
1524/impersonated_user='roland_mainz'/Kein' win2nfs: nfs4_acl->aces[4]=(who='OWNER@', acetype='ACE4_ACCESS_ALLOWED_ACE_TYPE', aceflag='(I)'/0x80, acemask='RD,WD,AD,REA,WEA,X,DC,RA,RA,RACL,WACL,S'/0x1601ff(=win_mask=0x1601ff)), who_sid_type='SidTypeUser'
6+
                 file_type, named_attr_support,
7-
1524/impersonated_user='roland_mainz'/Kein' win2nfs: nfs4_acl->aces[5]=(who='GROUP@', acetype='ACE4_ACCESS_ALLOWED_ACE_TYPE', aceflag='(G),(I)'/0xc0, acemask='RD,REA,X,RA,RACL,S'/0x1200a9(=win_mask=0x1200a9)), who_sid_type='SidTypeGroup'
7+
                 &nfs4_acl->aces[i].acemask);
118
12-
1524/impersonated_user='roland_mainz'/Kein' COMPOUND failed with status 10032.
9+
+#if 1
13-
1524/impersonated_user='roland_mainz'/Kein' handle_setacl: nfs41_setattr() failed with error 'NFS4ERR_ATTRNOTSUPP'.
10+
+            if (nfs4_acl->aces[i].aceflag & ACE4_INHERITED_ACE) {
14-
11+
+                nfs4_acl->aces[i].aceflag &= ~ACE4_INHERITED_ACE;
15-
12+
+                DPRINTF(ACLLVL3, ("clearning ACE4_INHERITED_ACE\n"));
16-
13+
+            }
17-
14+
+#endif
18-
15+
             /*
19-
16+
              * Treat |SidTypeAlias| as (local) group
20-
17+
              *
2118

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