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

Samba Server: update vendor to 3.6.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/source3/lib/netapi/shutdown.c

    r594 r740  
    2424#include "lib/netapi/netapi_private.h"
    2525#include "lib/netapi/libnetapi.h"
    26 #include "../librpc/gen_ndr/cli_initshutdown.h"
     26#include "../librpc/gen_ndr/ndr_initshutdown_c.h"
     27#include "rpc_client/init_lsa.h"
    2728
    2829/****************************************************************
     
    3435        WERROR werr;
    3536        NTSTATUS status;
    36         struct rpc_pipe_client *pipe_cli = NULL;
    3737        struct lsa_StringLarge message;
     38
    3839
    39         werr = libnetapi_open_pipe(ctx, r->in.server_name,
    40                                    &ndr_table_initshutdown.syntax_id,
    41                                    &pipe_cli);
     40        werr = libnetapi_e(ctx, r->in.server_name,
     41                                   &ndr_table_initshutdown.syntax_id,
     42                                );
    4243        if (!W_ERROR_IS_OK(werr)) {
    4344                goto done;
     
    4647        init_lsa_StringLarge(&message, r->in.message);
    4748
    48         status = rpccli_initshutdown_Init(pipe_cli, talloc_tos(),
     49        status = , talloc_tos(),
    4950                                          NULL,
    5051                                          &message,
     
    7980        WERROR werr;
    8081        NTSTATUS status;
    81         struct rpc_pipe_client *pipe_cli = NULL;
     82        struct ;
    8283
    83         werr = libnetapi_open_pipe(ctx, r->in.server_name,
    84                                    &ndr_table_initshutdown.syntax_id,
    85                                    &pipe_cli);
     84        werr = libnetapi_e(ctx, r->in.server_name,
     85                                   &ndr_table_initshutdown.syntax_id,
     86                                );
    8687        if (!W_ERROR_IS_OK(werr)) {
    8788                goto done;
    8889        }
    8990
    90         status = rpccli_initshutdown_Abort(pipe_cli, talloc_tos(),
     91        status = , talloc_tos(),
    9192                                           NULL,
    9293                                           &werr);
Note: See TracChangeset for help on using the changeset viewer.