summaryrefslogtreecommitdiff
path: root/librpc/idl
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-11-13 17:18:41 -0800
committerJeremy Allison <jra@samba.org>2008-11-13 17:18:41 -0800
commit4c7033df5da52bded995f3e4cccd0b78bf55a74f (patch)
tree22201ac2f470b7366ca3a3f0041bbce092d66404 /librpc/idl
parente76e77c32d8fe999604939d43589b8f441daed43 (diff)
downloadsamba-4c7033df5da52bded995f3e4cccd0b78bf55a74f.tar.gz
samba-4c7033df5da52bded995f3e4cccd0b78bf55a74f.tar.bz2
samba-4c7033df5da52bded995f3e4cccd0b78bf55a74f.zip
Move v2 from timestamp to 16-byte hash. Got the change in before on disk format is fixed.
Jeremy.
Diffstat (limited to 'librpc/idl')
-rw-r--r--librpc/idl/xattr.idl10
1 files changed, 5 insertions, 5 deletions
diff --git a/librpc/idl/xattr.idl b/librpc/idl/xattr.idl
index c1af4791ae..4191ea67ce 100644
--- a/librpc/idl/xattr.idl
+++ b/librpc/idl/xattr.idl
@@ -117,20 +117,20 @@ interface xattr
stored in "security.NTACL"
Version 1. raw SD stored as Samba4 does it.
- Version 2. raw SD + last changed timestamp so we
- can discard if this doesn't match the POSIX st_ctime.
+ Version 2. raw SD + last changed hash so we
+ can discard if this doesn't match the underlying ACL hash.
*/
const char *XATTR_NTACL_NAME = "security.NTACL";
typedef [public] struct {
security_descriptor *sd;
- NTTIME last_changed;
- } security_descriptor_timestamp;
+ uint8 hash[16];
+ } security_descriptor_hash;
typedef [switch_type(uint16)] union {
[case(1)] security_descriptor *sd;
- [case(2)] security_descriptor_timestamp *sd_ts;
+ [case(2)] security_descriptor_hash *sd_hs;
} xattr_NTACL_Info;
typedef [public] struct {