s4-idmap: Add mapping using uidNumber and gidNumber like idmap_ad
[samba.git] / source4 / winbind / wb_async_helpers.h
index 6c4f1d84a8f2ab38388ae3a5d4737517f551d5b5..c930bc02a0f982b0a97b041fdf34038aae703e02 100644 (file)
@@ -7,7 +7,7 @@
    
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 2 of the License, or
+   the Free Software Foundation; either version 3 of the License, or
    (at your option) any later version.
    
    This program is distributed in the hope that it will be useful,
    GNU General Public License for more details.
    
    You should have received a copy of the GNU General Public License
-   along with this program; if not, write to the Free Software
-   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
-struct wb_finddcs {
-       struct {
-               struct messaging_context *msg_ctx;
-               const char *domain;
-       } in;
+#ifndef __WB_ASYNC_HELPERS_H__
+#define __WB_ASYNC_HELPERS_H__
 
-       struct {
-               int num_dcs;
-               struct nbt_dc_name {
-                       const char *address;
-                       const char *name;
-               } *dcs;
-       } out;
+struct dcerpc_pipe;
+
+#include "librpc/gen_ndr/lsa.h"
+
+struct wb_sid_object {
+       enum lsa_SidType type;
+       struct dom_sid *sid;
+       const char *domain;
+       const char *name;
 };
+
+#endif /* __WB_ASYNC_HELPERS_H__ */