summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-03-25 11:40:00 +0100
committerGünther Deschner <gd@samba.org>2011-03-30 01:13:09 +0200
commit1d383daf399b08c3833e55d11135796e34cc2689 (patch)
treeb4cd16a41d51470684d21edc1091bfe2fa03e424 /source3/passdb
parent6e3f0d28a4c0bc79cdbe4cfb50d105c4fe479d2b (diff)
downloadsamba-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/passdb')
-rw-r--r--source3/passdb/lookup_sid.h16
1 files changed, 16 insertions, 0 deletions
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 */