summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/security.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-12-12 20:20:01 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-12-12 20:20:01 +0100
commitcd25b6245f8185e36a365dcf4c28e7df13090d3e (patch)
tree4ee68b9d5ea6cb4633f73146963640cb6a2781c9 /source3/librpc/gen_ndr/security.h
parentc4fc0b49f05f56174dc904a19d9e4dfc6d3ef523 (diff)
downloadsamba-cd25b6245f8185e36a365dcf4c28e7df13090d3e.tar.gz
samba-cd25b6245f8185e36a365dcf4c28e7df13090d3e.tar.bz2
samba-cd25b6245f8185e36a365dcf4c28e7df13090d3e.zip
Move dom_sid to the Samba 3 IDL file, remove the old definition.
Diffstat (limited to 'source3/librpc/gen_ndr/security.h')
-rw-r--r--source3/librpc/gen_ndr/security.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/source3/librpc/gen_ndr/security.h b/source3/librpc/gen_ndr/security.h
index fe23347fdf..99e1f4b1c9 100644
--- a/source3/librpc/gen_ndr/security.h
+++ b/source3/librpc/gen_ndr/security.h
@@ -4,6 +4,9 @@
#include "librpc/gen_ndr/misc.h"
#include "librpc/gen_ndr/dom_sid.h"
+#define dom_sid2 dom_sid
+#define dom_sid28 dom_sid
+#define dom_sid0 dom_sid
#ifndef _HEADER_security
#define _HEADER_security
@@ -129,6 +132,13 @@
#define DOMAIN_RID_ENTERPRISE_ADMINS ( 519 )
#define NT4_ACL_REVISION ( SECURITY_ACL_REVISION_NT4 )
#define SD_REVISION ( SECURITY_DESCRIPTOR_REVISION_1 )
+struct dom_sid {
+ uint8_t sid_rev_num;
+ int8_t num_auths;/* [range(0,15)] */
+ uint8_t id_auth[6];
+ uint32_t sub_auths[15];
+}/* [noprint,gensize,nopull,public,nopush,nosize] */;
+
enum sec_privilege
#ifndef USE_UINT_ENUMS
{