summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr/ndr_sec.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-15 04:42:48 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-15 04:42:48 +0000
commit099899a7cc01fab5faba82e59650aa76bac8143e (patch)
tree581b349e1562b198be22c46e3f6c2e1238a86e10 /source4/librpc/ndr/ndr_sec.h
parent5a1779b982569201decc8a09765d5361212813d7 (diff)
downloadsamba-099899a7cc01fab5faba82e59650aa76bac8143e.tar.gz
samba-099899a7cc01fab5faba82e59650aa76bac8143e.tar.bz2
samba-099899a7cc01fab5faba82e59650aa76bac8143e.zip
added lsa_QuerySecObj() and the necessary sec_desc_buf supporting code
also adding printing of security descriptors (This used to be commit 1f93cbc1d597b973ab1a5005ede093c1bcefff87)
Diffstat (limited to 'source4/librpc/ndr/ndr_sec.h')
-rw-r--r--source4/librpc/ndr/ndr_sec.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/source4/librpc/ndr/ndr_sec.h b/source4/librpc/ndr/ndr_sec.h
index 79ba5b1564..81a3d6a944 100644
--- a/source4/librpc/ndr/ndr_sec.h
+++ b/source4/librpc/ndr/ndr_sec.h
@@ -72,6 +72,23 @@ struct security_descriptor {
struct security_acl *dacl; /* user (discretionary) ACL */
};
+
+/*
+ a security descriptor encapsulated in a buffer.
+ It is like this IDL:
+ typedef struct {
+ uint32 size;
+ [size_is(size)] uint8 *buf;
+ } sec_desc_buf;
+*/
+struct sec_desc_buf {
+ uint32 size; /* the sd wire size - auto-generated */
+ struct security_descriptor *sd;
+};
+
+
+
+
/* query security descriptor */
struct smb_query_secdesc {
struct {