diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-02-16 10:59:45 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-02-16 10:59:45 +0100 |
commit | 81e556f366322e3c07c1d7be4e989542380aed0e (patch) | |
tree | 155728c4414e36b0c8b309bbd6dca4205ce3b96e /librpc/gen_ndr/cli_netlogon.c | |
parent | 8339969ed39e4cf3577971869ef2fd127f1c3ae3 (diff) | |
download | samba-81e556f366322e3c07c1d7be4e989542380aed0e.tar.gz samba-81e556f366322e3c07c1d7be4e989542380aed0e.tar.xz samba-81e556f366322e3c07c1d7be4e989542380aed0e.zip |
librpc: rerun make idl
metze
Diffstat (limited to 'librpc/gen_ndr/cli_netlogon.c')
-rw-r--r-- | librpc/gen_ndr/cli_netlogon.c | 32 |
1 files changed, 20 insertions, 12 deletions
diff --git a/librpc/gen_ndr/cli_netlogon.c b/librpc/gen_ndr/cli_netlogon.c index 456bb71a3d..eb726f0ed6 100644 --- a/librpc/gen_ndr/cli_netlogon.c +++ b/librpc/gen_ndr/cli_netlogon.c @@ -1086,23 +1086,33 @@ NTSTATUS rpccli_netr_DsRGetDCName(struct rpc_pipe_client *cli, return werror_to_ntstatus(r.out.result); } -NTSTATUS rpccli_netr_NETRLOGONDUMMYROUTINE1(struct rpc_pipe_client *cli, - TALLOC_CTX *mem_ctx, - WERROR *werror) +NTSTATUS rpccli_netr_LogonGetCapabilities(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + const char *server_name /* [in] [charset(UTF16)] */, + const char *computer_name /* [in] [unique,charset(UTF16)] */, + struct netr_Authenticator *credential /* [in] [ref] */, + struct netr_Authenticator *return_authenticator /* [in,out] [ref] */, + uint32_t query_level /* [in] */, + union netr_Capabilities *capabilities /* [out] [ref,switch_is(query_level)] */) { - struct netr_NETRLOGONDUMMYROUTINE1 r; + struct netr_LogonGetCapabilities r; NTSTATUS status; /* In parameters */ + r.in.server_name = server_name; + r.in.computer_name = computer_name; + r.in.credential = credential; + r.in.return_authenticator = return_authenticator; + r.in.query_level = query_level; if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(netr_NETRLOGONDUMMYROUTINE1, &r); + NDR_PRINT_IN_DEBUG(netr_LogonGetCapabilities, &r); } status = cli->dispatch(cli, mem_ctx, &ndr_table_netlogon, - NDR_NETR_NETRLOGONDUMMYROUTINE1, + NDR_NETR_LOGONGETCAPABILITIES, &r); if (!NT_STATUS_IS_OK(status)) { @@ -1110,7 +1120,7 @@ NTSTATUS rpccli_netr_NETRLOGONDUMMYROUTINE1(struct rpc_pipe_client *cli, } if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_NETRLOGONDUMMYROUTINE1, &r); + NDR_PRINT_OUT_DEBUG(netr_LogonGetCapabilities, &r); } if (NT_STATUS_IS_ERR(status)) { @@ -1118,13 +1128,11 @@ NTSTATUS rpccli_netr_NETRLOGONDUMMYROUTINE1(struct rpc_pipe_client *cli, } /* Return variables */ + *return_authenticator = *r.out.return_authenticator; + *capabilities = *r.out.capabilities; /* Return result */ - if (werror) { - *werror = r.out.result; - } - - return werror_to_ntstatus(r.out.result); + return r.out.result; } NTSTATUS rpccli_netr_NETRLOGONSETSERVICEBITS(struct rpc_pipe_client *cli, |