diff options
author | Günther Deschner <gd@samba.org> | 2011-03-25 11:40:00 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-03-30 01:13:09 +0200 |
commit | 1d383daf399b08c3833e55d11135796e34cc2689 (patch) | |
tree | b4cd16a41d51470684d21edc1091bfe2fa03e424 /source3 | |
parent | 6e3f0d28a4c0bc79cdbe4cfb50d105c4fe479d2b (diff) | |
download | samba-1d383daf399b08c3833e55d11135796e34cc2689.tar.gz samba-1d383daf399b08c3833e55d11135796e34cc2689.tar.bz2 samba-1d383daf399b08c3833e55d11135796e34cc2689.zip |
s3-passdb: move lsa_dom_info and lsa_name_info out of smb.h into passdb.
Guenther
Diffstat (limited to 'source3')
-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 */ |