s3-passdb: move lsa_dom_info and lsa_name_info out of smb.h into passdb.
authorGünther Deschner <gd@samba.org>
Fri, 25 Mar 2011 10:40:00 +0000 (11:40 +0100)
committerGünther Deschner <gd@samba.org>
Tue, 29 Mar 2011 23:13:09 +0000 (01:13 +0200)
Guenther

source3/include/smb.h
source3/passdb/lookup_sid.h

index 338cd5b5e7cc33a44608e289489001186d183f26..b7fe64984bb2ce9f8d633937bec9504ad2b25e4d 100644 (file)
@@ -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.
index 74761d3f6dc67ce599a45587f7fab32a18e2bac6..81303f87cb827d10f94d850be2a3d5a64f108218 100644 (file)
@@ -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  */