Ignore:
Timestamp:
Nov 14, 2012, 12:59:34 PM (12 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: update vendor to 3.6.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified vendor/current/source4/torture/raw/lockbench.c

    r414 r740  
    2121
    2222#include "includes.h"
    23 #include "torture/torture.h"
    2423#include "libcli/raw/libcliraw.h"
    2524#include "libcli/raw/raw_proto.h"
     
    189188        io->in.dest_host    = state->dest_host;
    190189        io->in.dest_ports   = state->dest_ports;
    191         io->in.gensec_settings = lp_gensec_settings(state->mem_ctx, state->tctx->lp_ctx);
    192         io->in.socket_options = lp_socket_options(state->tctx->lp_ctx);
     190        io->in.gensec_settings = lpcfg_gensec_settings(state->mem_ctx, state->tctx->lp_ctx);
     191        io->in.socket_options = lpcfg_socket_options(state->tctx->lp_ctx);
    193192        io->in.called_name  = state->called_name;
    194193        io->in.service      = share;
     
    196195        io->in.credentials  = cmdline_credentials;
    197196        io->in.fallback_to_anonymous = false;
    198         io->in.workgroup    = lp_workgroup(state->tctx->lp_ctx);
    199         io->in.iconv_convenience = lp_iconv_convenience(state->tctx->lp_ctx);
    200         lp_smbcli_options(state->tctx->lp_ctx, &io->in.options);
    201         lp_smbcli_session_options(state->tctx->lp_ctx, &io->in.session_options);
     197        io->in.workgroup    = lpcfg_workgroup(state->tctx->lp_ctx);
     198        lpcfg_smbcli_options(state->tctx->lp_ctx, &io->in.options);
     199        lpcfg_smbcli_session_options(state->tctx->lp_ctx, &io->in.session_options);
    202200
    203201        /* kill off the remnants of the old connection */
     
    206204
    207205        ctx = smb_composite_connect_send(io, state->mem_ctx,
    208                                          lp_resolve_context(state->tctx->lp_ctx),
     206                                         lpcfg_resolve_context(state->tctx->lp_ctx),
    209207                                         state->ev);
    210208        if (ctx == NULL) {
     
    228226        if (!NT_STATUS_IS_OK(status)) {
    229227                if (NT_STATUS_EQUAL(status, NT_STATUS_END_OF_FILE) ||
    230                     NT_STATUS_EQUAL(status, NT_STATUS_LOCAL_DISCONNECT)) {
     228                    NT_STATUS_EQUAL(status, NT_STATUS_LOCAL_DISCONNECT) ||
     229                    NT_STATUS_EQUAL(status, NT_STATUS_CONNECTION_RESET)) {
    231230                        talloc_free(state->tree);
    232231                        state->tree = NULL;
     
    266265        NTSTATUS status = smbcli_request_simple_recv(req);
    267266        if (NT_STATUS_EQUAL(status, NT_STATUS_END_OF_FILE) ||
    268             NT_STATUS_EQUAL(status, NT_STATUS_LOCAL_DISCONNECT)) {
     267            NT_STATUS_EQUAL(status, NT_STATUS_LOCAL_DISCONNECT) ||
     268            NT_STATUS_EQUAL(status, NT_STATUS_CONNECTION_RESET)) {
    269269                talloc_free(state->tree);
    270270                state->tree = NULL;
Note: See TracChangeset for help on using the changeset viewer.