summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2022-03-28 11:48:37 +0200
committerJeremy Allison <jra@samba.org>2022-03-31 23:01:37 +0000
commit643da37fd139413651a6198fb0f6e550f7de6584 (patch)
tree1d3ad9a9f338708ffc1a669f9d4bfb9c16a7312f /librpc
parent8ad0febd1347ddf355581da38eea89228f89507b (diff)
downloadsamba-643da37fd139413651a6198fb0f6e550f7de6584.tar.gz
smbd: remove itime and file_id logic and code
This bases File-Ids on the inode numbers again. The whole stuff was added because at that time Apple clients 1. would be upset by inode number reusage and 2. had a client side bug in their fallback implemetentation that assigns File-Ids on the client side in case the server provides File-Ids of 0. After discussion with folks at Apple it should be safe these days to rely on the Mac to generate its own File-Ids and let Samba return 0 File-Ids. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'librpc')
-rw-r--r--librpc/idl/xattr.idl7
1 files changed, 7 insertions, 0 deletions
diff --git a/librpc/idl/xattr.idl b/librpc/idl/xattr.idl
index a2c4f25d0fd..82d4ec5a473 100644
--- a/librpc/idl/xattr.idl
+++ b/librpc/idl/xattr.idl
@@ -94,12 +94,19 @@ interface xattr
NTTIME create_time;
} xattr_DosInfo4;
+ typedef struct {
+ xattr_DosInfoValidFlags valid_flags;
+ uint32 attrib;
+ NTTIME create_time;
+ } xattr_DosInfo5;
+
typedef [public,switch_type(uint16)] union {
[case(0xFFFF)] xattr_DosInfoFFFFCompat compatinfoFFFF;
[case(1)] xattr_DosInfo1 info1;
[case(2)] xattr_DosInfo2Old oldinfo2;
[case(3)] xattr_DosInfo3 info3;
[case(4)] xattr_DosInfo4 info4;
+ [case(5)] xattr_DosInfo5 info5;
} xattr_DosInfo;
typedef [public] struct {