From b05c18cff275650b4caa74db6ba82975df3abe9d Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 24 May 2010 10:51:10 +1000 Subject: 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 Signed-off-by: Michael Adam --- source3/include/smb.h | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) (limited to 'source3/include/smb.h') 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" -- cgit