diff options
author | Volker Lendecke <vl@samba.org> | 2009-12-21 21:50:43 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-12-21 23:23:52 +0100 |
commit | 9b6b01aab6a6a0ebb34798bb78febb2df17b302d (patch) | |
tree | af8861a982ce0c9f95d65b2d8e5d5a0d280d00e2 /source3/librpc/gen_ndr/cli_wbint.h | |
parent | 2308ec70a53d3990ea98162bcbcc73326ef63687 (diff) | |
download | samba-9b6b01aab6a6a0ebb34798bb78febb2df17b302d.tar.gz samba-9b6b01aab6a6a0ebb34798bb78febb2df17b302d.tar.bz2 samba-9b6b01aab6a6a0ebb34798bb78febb2df17b302d.zip |
s3:winbind: Add a lower-cost alternative to wbinfo -t: wbinfo --ping-dc
This just does a NULL RPC call through an existing NETLOGON connection. If
someone knows an operation that "just works" and does not return NOT_SUPPORTED,
please tell me :-)
Diffstat (limited to 'source3/librpc/gen_ndr/cli_wbint.h')
-rw-r--r-- | source3/librpc/gen_ndr/cli_wbint.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/librpc/gen_ndr/cli_wbint.h b/source3/librpc/gen_ndr/cli_wbint.h index b08ef3fef1..4528d43efc 100644 --- a/source3/librpc/gen_ndr/cli_wbint.h +++ b/source3/librpc/gen_ndr/cli_wbint.h @@ -248,6 +248,14 @@ NTSTATUS rpccli_wbint_ChangeMachineAccount_recv(struct tevent_req *req, NTSTATUS *result); NTSTATUS rpccli_wbint_ChangeMachineAccount(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx); +struct tevent_req *rpccli_wbint_PingDc_send(TALLOC_CTX *mem_ctx, + struct tevent_context *ev, + struct rpc_pipe_client *cli); +NTSTATUS rpccli_wbint_PingDc_recv(struct tevent_req *req, + TALLOC_CTX *mem_ctx, + NTSTATUS *result); +NTSTATUS rpccli_wbint_PingDc(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx); struct tevent_req *rpccli_wbint_SetMapping_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct rpc_pipe_client *cli, |