winbind: Use one queue for all domain children
[samba.git] / source3 / winbindd / winbindd.h
index 396f7f7946eeba2752704cc1bfb7d6dd23d88470..081722f6a901bb9317f6a837af2b55e7ce710096 100644 (file)
@@ -100,7 +100,6 @@ struct winbindd_cm_conn {
 
        struct rpc_pipe_client *netlogon_pipe;
        struct netlogon_creds_cli_context *netlogon_creds_ctx;
-       uint32_t netlogon_flags;
        bool netlogon_force_reauth;
 };
 
@@ -139,9 +138,11 @@ struct winbindd_domain {
        char *alt_name;                        /* alt Domain name, if any (FQDN for ADS) */
        char *forest_name;                     /* Name of the AD forest we're in */
        struct dom_sid sid;                           /* SID for this domain */
+       enum netr_SchannelType secure_channel_type;
        uint32_t domain_flags;                   /* Domain flags from netlogon.h */
        uint32_t domain_type;                    /* Domain type from netlogon.h */
        uint32_t domain_trust_attribs;           /* Trust attribs from netlogon.h */
+       struct winbindd_domain *routing_domain;
        bool initialized;                      /* Did we already ask for the domain mode? */
        bool native_mode;                      /* is this a win2k domain in native mode ? */
        bool active_directory;                 /* is this a win2k active directory ? */
@@ -183,6 +184,9 @@ struct winbindd_domain {
 
        struct winbindd_child *children;
 
+       struct tevent_queue *queue;
+       struct dcerpc_binding_handle *binding_handle;
+
        /* Callback we use to try put us back online. */
 
        uint32_t check_online_timeout;