diff options
-rw-r--r-- | source3/include/smb.h | 15 | ||||
-rw-r--r-- | source3/passdb/lookup_sid.h | 16 |
2 files changed, 16 insertions, 15 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h index 338cd5b5e7..b7fe64984b 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -177,21 +177,6 @@ typedef union unid_t { #include "librpc/gen_ndr/dcerpc.h" #include "librpc/gen_ndr/security.h" -struct lsa_dom_info { - bool valid; - struct dom_sid sid; - const char *name; - int num_idxs; - int *idxs; -}; - -struct lsa_name_info { - uint32 rid; - enum lsa_SidType type; - const char *name; - int dom_idx; -}; - /* * The complete list of SIDS belonging to this user. * Created when a vuid is registered. diff --git a/source3/passdb/lookup_sid.h b/source3/passdb/lookup_sid.h index 74761d3f6d..81303f87cb 100644 --- a/source3/passdb/lookup_sid.h +++ b/source3/passdb/lookup_sid.h @@ -1,3 +1,19 @@ +#include "../librpc/gen_ndr/lsa.h" + +struct lsa_dom_info { + bool valid; + struct dom_sid sid; + const char *name; + int num_idxs; + int *idxs; +}; + +struct lsa_name_info { + uint32 rid; + enum lsa_SidType type; + const char *name; + int dom_idx; +}; /* The following definitions come from passdb/lookup_sid.c */ |