From c50c8d0dc31b95a98e09b1cfdd2e54e4bac336f2 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Sun, 14 Jan 2007 17:58:24 +0000 Subject: r20774: I thought I committed this before Xmas holidays ... This change is needed to make it possible to not expire caches in disconnected mode. Jerry, please can you look at this and confirm it is ok? Simo. (This used to be commit 9e8715e4e15d9cede8f4aa9652642995392617e6) --- source3/include/smb.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'source3/include') diff --git a/source3/include/smb.h b/source3/include/smb.h index c029e09120..c03fdd89e4 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -273,6 +273,12 @@ typedef struct dom_sid { #define dom_sid2 dom_sid #define dom_sid28 dom_sid +enum id_mapping { + ID_UNKNOWN, + ID_MAPPED, + ID_UNMAPPED +}; + enum id_type { ID_TYPE_UID, ID_TYPE_GID @@ -286,7 +292,7 @@ struct unixid { struct id_map { DOM_SID *sid; struct unixid xid; - BOOL mapped; + enum id_mapping status; }; #include "librpc/ndr/misc.h" -- cgit