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/source3/rpcclient/cmd_ntsvcs.c

    r414 r745  
    2121#include "includes.h"
    2222#include "rpcclient.h"
    23 #include "../librpc/gen_ndr/cli_ntsvcs.h"
     23#include "../librpc/gen_ndr/ndr_ntsvcs_c.h"
    2424
    2525static WERROR cmd_ntsvcs_get_version(struct rpc_pipe_client *cli,
     
    2828                                     const char **argv)
    2929{
     30        struct dcerpc_binding_handle *b = cli->binding_handle;
    3031        NTSTATUS status;
    3132        WERROR werr;
    3233        uint16_t version;
    3334
    34         status = rpccli_PNP_GetVersion(cli, mem_ctx,
     35        status = dcerpc_PNP_GetVersion(b, mem_ctx,
    3536                                       &version, &werr);
    3637        if (!NT_STATUS_IS_OK(status)) {
     
    5051                                           const char **argv)
    5152{
     53        struct dcerpc_binding_handle *b = cli->binding_handle;
    5254        NTSTATUS status;
    5355        WERROR werr;
     
    6668        }
    6769
    68         status = rpccli_PNP_ValidateDeviceInstance(cli, mem_ctx,
     70        status = dcerpc_PNP_ValidateDeviceInstance(b, mem_ctx,
    6971                                                   devicepath,
    7072                                                   flags,
     
    8284                                       const char **argv)
    8385{
     86        struct dcerpc_binding_handle *b = cli->binding_handle;
    8487        NTSTATUS status;
    8588        WERROR werr;
     
    97100        devicepath = argv[1];
    98101
    99         status = rpccli_PNP_HwProfFlags(cli, mem_ctx,
     102        status = dcerpc_PNP_HwProfFlags(b, mem_ctx,
    100103                                        0,
    101104                                        devicepath,
     
    120123                                          const char **argv)
    121124{
     125        struct dcerpc_binding_handle *b = cli->binding_handle;
    122126        NTSTATUS status;
    123127        WERROR werr;
     
    128132        ZERO_STRUCT(info);
    129133
    130         status = rpccli_PNP_GetHwProfInfo(cli, mem_ctx,
     134        status = dcerpc_PNP_GetHwProfInfo(b, mem_ctx,
    131135                                          idx,
    132136                                          &info,
     
    146150                                          const char **argv)
    147151{
     152        struct dcerpc_binding_handle *b = cli->binding_handle;
    148153        NTSTATUS status;
    149154        WERROR werr;
     
    171176        W_ERROR_HAVE_NO_MEMORY(buffer);
    172177
    173         status = rpccli_PNP_GetDeviceRegProp(cli, mem_ctx,
     178        status = dcerpc_PNP_GetDeviceRegProp(b, mem_ctx,
    174179                                             devicepath,
    175180                                             property,
     
    192197                                           const char **argv)
    193198{
     199        struct dcerpc_binding_handle *b = cli->binding_handle;
    194200        NTSTATUS status;
    195201        WERROR werr;
     
    211217        }
    212218
    213         status = rpccli_PNP_GetDeviceListSize(cli, mem_ctx,
     219        status = dcerpc_PNP_GetDeviceListSize(b, mem_ctx,
    214220                                              filter,
    215221                                              &size,
     
    230236                                      const char **argv)
    231237{
     238        struct dcerpc_binding_handle *b = cli->binding_handle;
    232239        NTSTATUS status;
    233240        WERROR werr;
     
    259266        }
    260267
    261         status = rpccli_PNP_GetDeviceList(cli, mem_ctx,
     268        status = dcerpc_PNP_GetDeviceList(b, mem_ctx,
    262269                                          filter,
    263270                                          buffer,
Note: See TracChangeset for help on using the changeset viewer.