summaryrefslogtreecommitdiffstats
path: root/source/include/smb.h
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2006-12-12 14:52:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:16:25 -0500
commit50cd8bffeeed2cac755f75fc3d76fe41c451976b (patch)
treed042e53bf07143d39ae8a7167fc9a302b5a44256 /source/include/smb.h
parent67c4d5e73fe066910f7b1ca4624541a9bbbf7750 (diff)
downloadsamba-50cd8bffeeed2cac755f75fc3d76fe41c451976b.tar.gz
samba-50cd8bffeeed2cac755f75fc3d76fe41c451976b.tar.xz
samba-50cd8bffeeed2cac755f75fc3d76fe41c451976b.zip
r20116: Start merging in the work done to create the new idmap subsystem.
Simo.
Diffstat (limited to 'source/include/smb.h')
-rw-r--r--source/include/smb.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/source/include/smb.h b/source/include/smb.h
index aefc06548e3..0e06ce1d791 100644
--- a/source/include/smb.h
+++ b/source/include/smb.h
@@ -273,6 +273,22 @@ typedef struct dom_sid {
#define dom_sid2 dom_sid
#define dom_sid28 dom_sid
+enum id_type {
+ ID_TYPE_UID,
+ ID_TYPE_GID
+};
+
+struct unixid {
+ uint32_t id;
+ enum id_type type;
+};
+
+struct id_map {
+ DOM_SID *sid;
+ struct unixid xid;
+ BOOL mapped;
+};
+
#include "librpc/ndr/misc.h"
#include "librpc/ndr/security.h"
#include "librpc/ndr/libndr.h"