1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

s3:winbind: Return NTSTATUS from wbint_Ping() RPC function

There are no users of this function but the next commit will convert the
struct-based WINBINDD_PING call to a local RPC wbint_Ping() call.

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
Samuel Cabrero 2022-03-09 11:56:33 +01:00 committed by Stefan Metzmacher
parent 00ea654961
commit 0d668dfb75
2 changed files with 3 additions and 2 deletions

View File

@ -13,7 +13,7 @@ interface winbind
{
/* Private methods */
void wbint_Ping(
NTSTATUS wbint_Ping(
[in] uint32 in_data,
[out] uint32 *out_data
);

View File

@ -40,9 +40,10 @@
#include "libsmb/dsgetdcname.h"
#include "lib/global_contexts.h"
void _wbint_Ping(struct pipes_struct *p, struct wbint_Ping *r)
NTSTATUS _wbint_Ping(struct pipes_struct *p, struct wbint_Ping *r)
{
*r->out.out_data = r->in.in_data;
return NT_STATUS_OK;
}
bool reset_cm_connection_on_error(struct winbindd_domain *domain,