summaryrefslogtreecommitdiffstats
path: root/source3/include/smb.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-05-24 10:51:10 +1000
committerMichael Adam <obnox@samba.org>2010-06-01 10:33:13 +0200
commitb05c18cff275650b4caa74db6ba82975df3abe9d (patch)
treee23e909467cc8d0e62a99a6662e5b9f546765bce /source3/include/smb.h
parentc256eb84565566a930bcadc60d03138878d2d0b0 (diff)
downloadsamba-b05c18cff275650b4caa74db6ba82975df3abe9d.tar.gz
samba-b05c18cff275650b4caa74db6ba82975df3abe9d.tar.xz
samba-b05c18cff275650b4caa74db6ba82975df3abe9d.zip
s3:idmap Use idmap.idl defined structures and constants
This allows these structures to be shared across all of Samba The additional name type ID_TYPE_BOTH is unused in source3 code at this time. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r--source3/include/smb.h25
1 files changed, 1 insertions, 24 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index a93caa7bf1..89b3572d67 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -197,30 +197,7 @@ typedef union unid_t {
|LOOKUP_NAME_WKN\
|LOOKUP_NAME_DOMAIN)
-enum id_mapping {
- ID_UNKNOWN = 0,
- ID_MAPPED,
- ID_UNMAPPED,
- ID_EXPIRED
-};
-
-enum id_type {
- ID_TYPE_NOT_SPECIFIED = 0,
- ID_TYPE_UID,
- ID_TYPE_GID
-};
-
-struct unixid {
- uint32_t id;
- enum id_type type;
-};
-
-struct id_map {
- struct dom_sid *sid;
- struct unixid xid;
- enum id_mapping status;
-};
-
+#include "librpc/gen_ndr/idmap.h"
#include "librpc/gen_ndr/epmapper.h"
#include "librpc/gen_ndr/krb5pac.h"
#include "librpc/gen_ndr/dcerpc.h"