summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr/ndr_misc.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-17 06:27:45 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-17 06:27:45 +0000
commit59df3ce5b5c5b484793a0e16faeb581ef343e167 (patch)
treecceb5d9fc8df01ec7c399ef690e86a34fba34a6b /source4/librpc/ndr/ndr_misc.h
parentfa83432e1085d32f1a3f4208b81b6e936ba63b38 (diff)
downloadsamba-59df3ce5b5c5b484793a0e16faeb581ef343e167.tar.gz
samba-59df3ce5b5c5b484793a0e16faeb581ef343e167.tar.bz2
samba-59df3ce5b5c5b484793a0e16faeb581ef343e167.zip
security descriptors are no longer a "special" type, they are handled
using the [relative] property this also fixes level3 of PrinterInfo (a relative secdesc) (This used to be commit d5a15257fdd5f6cfe2706765a7c29f623ec1c6f8)
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;
};
+