Ignore:
Timestamp:
Nov 27, 2012, 4:43:17 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: updated trunk to 3.6.0

Location:
trunk/server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/source4/winbind/wb_server.h

    r414 r745  
    2525#include "libnet/libnet.h"
    2626
    27 #define WINBINDD_SAMBA3_SOCKET "pipe"
    28 /* the privileged socket is in smbd_tmp_dir() */
    29 #define WINBINDD_SAMBA3_PRIVILEGED_SOCKET "winbind_pipe"
    30 
    3127/* this struct stores global data for the winbind task */
    3228struct wbsrv_service {
     
    3430
    3531        const struct dom_sid *primary_sid;
     32        enum netr_SchannelType sec_channel_type;
    3633        struct wbsrv_domain *domains;
    3734        struct idmap_context *idmap_ctx;
    38 
    39         const char *priv_socket_path;
     35        const char *priv_pipe_dir;
     36        const char *pipe_dir;
    4037};
    4138
     
    5249        const char *dns_name;
    5350        const struct dom_sid *sid;
    54 
    55         int num_dcs;
    56         struct nbt_dc_name *dcs;
     51        struct nbt_dc_name *dc;
    5752};
    5853
     
    10196        uint32_t pending_calls;
    10297
    103         struct packet_context *packet;
     98        struct tstream_context *tstream;
     99
     100        struct tevent_queue *send_queue;
    104101
    105102        struct loadparm_context *lp_ctx;
     
    107104
    108105#define WBSRV_SAMBA3_SET_STRING(dest, src) do { \
     106        memset(dest, 0, sizeof(dest));\
    109107        safe_strcpy(dest, src, sizeof(dest)-1);\
    110108} while(0)
     
    116114        /* Current UserList structure, contains 1+ user structs */
    117115        struct libnet_UserList *user_list;
     116
     117        /* Index of the next user struct in the current UserList struct */
     118        uint32_t page_index;
     119
     120        /* The libnet_ctx to use for the libnet_UserList call */
     121        struct libnet_context *libnet_ctx;
     122};
     123/*
     124  state of a grent query
     125*/
     126struct wbsrv_grent {
     127        /* Current UserList structure, contains 1+ user structs */
     128        struct libnet_GroupList *group_list;
    118129
    119130        /* Index of the next user struct in the current UserList struct */
     
    149160        struct wbsrv_connection *wbconn;
    150161
    151         /* the backend should use this event context */
    152         struct tevent_context *event_ctx;
    153 
    154162        /* here the backend can store stuff like composite_context's ... */
    155163        void *private_data;
    156164
    157165        /* the request structure of the samba3 protocol */
    158         struct winbindd_request request;
     166        struct winbindd_request *request;
    159167       
    160168        /* the response structure of the samba3 protocol*/
    161         struct winbindd_response response;
     169        struct winbindd_response *response;
     170
     171        DATA_BLOB in;
     172        DATA_BLOB out;
     173        struct iovec out_iov[1];
    162174};
    163175
     
    165177struct netr_UserSessionKey;
    166178struct winbind_SamLogon;
     179struct winbind_DsrUpdateReadOnlyServerDnsRecords;
    167180
    168181#include "winbind/wb_async_helpers.h"
Note: See TracChangeset for help on using the changeset viewer.