summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr/ndr_misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'source4/librpc/ndr/ndr_misc.h')
-rw-r--r--source4/librpc/ndr/ndr_misc.h51
1 files changed, 25 insertions, 26 deletions
diff --git a/source4/librpc/ndr/ndr_misc.h b/source4/librpc/ndr/ndr_misc.h
index 1621bf6e05..8869b535ec 100644
--- a/source4/librpc/ndr/ndr_misc.h
+++ b/source4/librpc/ndr/ndr_misc.h
@@ -1,32 +1,31 @@
-/*
- Unix SMB/CIFS implementation.
+/* header auto-generated by pidl */
- definitions for marshalling/unmarshalling miscellaneous structures
+struct dom_sid {
+ uint8 sid_rev_num;
+ uint8 num_auths;
+ uint8 id_auth[6];
+ uint32 *sub_auths;
+};
- Copyright (C) Andrew Tridgell 2003
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-*/
+struct security_ace {
+ uint8 type;
+ uint8 flags;
+ uint32 access_mask;
+ struct dom_sid trustee;
+};
-/* policy handles are used all over the place */
-struct policy_handle {
- char data[20];
+struct security_acl {
+ uint16 revision;
+ uint32 num_aces;
+ struct security_ace *aces;
};
-/* A buffer of uint8s */
-struct uint8_buf {
- uint32 size;
- uint8 *data;
+struct security_descriptor {
+ uint8 revision;
+ uint16 type;
+ struct dom_sid *owner_sid;
+ struct dom_sid *group_sid;
+ struct security_acl *sacl;
+ struct security_acl *dacl;
};
+