summaryrefslogtreecommitdiff
path: root/source3/librpc/idl
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-15 15:57:39 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-15 15:57:39 +0200
commit0c840bd8d2f650e805bd7d03c2b3fe530b431a4f (patch)
tree8cbf02b27578ea8a4fc382c35691778dd8539660 /source3/librpc/idl
parent760dfa76d9c912fd352e26be9be8a3d567f12375 (diff)
downloadsamba-0c840bd8d2f650e805bd7d03c2b3fe530b431a4f.tar.gz
samba-0c840bd8d2f650e805bd7d03c2b3fe530b431a4f.tar.bz2
samba-0c840bd8d2f650e805bd7d03c2b3fe530b431a4f.zip
Share xattr implementation.
Diffstat (limited to 'source3/librpc/idl')
-rw-r--r--source3/librpc/idl/xattr.idl54
1 files changed, 0 insertions, 54 deletions
diff --git a/source3/librpc/idl/xattr.idl b/source3/librpc/idl/xattr.idl
deleted file mode 100644
index 23af2df404..0000000000
--- a/source3/librpc/idl/xattr.idl
+++ /dev/null
@@ -1,54 +0,0 @@
-#include "idl_types.h"
-
-/*
- IDL structures for xattrs
-*/
-
-[
- pointer_default(unique)
-]
-interface xattr
-{
- /* xattrs for file systems that don't have any */
-
- typedef [public] struct {
- utf8string name;
- DATA_BLOB value;
- } tdb_xattr;
-
- typedef [public] struct {
- uint32 num_xattrs;
- tdb_xattr xattrs[num_xattrs];
- } tdb_xattrs;
-
- /* we store the NT ACL a NTACL xattr. It is versioned so we
- can later add other acl attribs (such as posix acl mapping)
-
- we put this xattr in the security namespace to ensure that
- only trusted users can write to the ACL
-
- 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.
- */
-
- const char *XATTR_NTACL_NAME = "security.NTACL";
-
- typedef [public] struct {
- security_descriptor *sd;
- NTTIME last_changed;
- } security_descriptor_timestamp;
-
- typedef [switch_type(uint16)] union {
- [case(1)] security_descriptor *sd;
- [case(2)] security_descriptor_timestamp *sd_ts;
- } xattr_NTACL_Info;
-
- typedef [public] struct {
- uint16 version;
- [switch_is(version)] xattr_NTACL_Info info;
- } xattr_NTACL;
-
-}