s3-build: use talloc_dict.h only where needed.
[metze/samba/wip.git] / source3 / winbindd / winbindd.h
index b8835c0b0ba38ea3eb99bab00166ebabbcdac861..d7a53e2d6649ff409b30d0420858d080ba9986ed 100644 (file)
@@ -27,6 +27,8 @@
 #include "nsswitch/libwbclient/wbclient.h"
 #include "librpc/gen_ndr/wbint.h"
 
+#include "talloc_dict.h"
+
 #ifdef HAVE_LIBNSCD
 #include <libnscd.h>
 #endif
@@ -131,7 +133,7 @@ struct winbindd_child {
 
        int sock;
        struct tevent_queue *queue;
-       struct rpc_pipe_client *rpccli;
+       struct dcerpc_binding_handle *binding_handle;
 
        struct timed_event *lockout_policy_event;
        struct timed_event *machine_password_change_event;
@@ -385,4 +387,7 @@ struct WINBINDD_CCACHE_ENTRY {
 #define WINBINDD_PAM_AUTH_KRB5_RENEW_TIME 2592000 /* one month */
 #define DOM_SEQUENCE_NONE ((uint32)-1)
 
+#define winbind_event_context server_event_context
+#define winbind_messaging_context server_messaging_context
+
 #endif /* _WINBINDD_H */