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:
parent
00ea654961
commit
0d668dfb75
@ -13,7 +13,7 @@ interface winbind
|
||||
{
|
||||
/* Private methods */
|
||||
|
||||
void wbint_Ping(
|
||||
NTSTATUS wbint_Ping(
|
||||
[in] uint32 in_data,
|
||||
[out] uint32 *out_data
|
||||
);
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user