diff --git a/librpc/idl/winbind.idl b/librpc/idl/winbind.idl index 4acad1b091f..c7ca95d1a69 100644 --- a/librpc/idl/winbind.idl +++ b/librpc/idl/winbind.idl @@ -13,7 +13,7 @@ interface winbind { /* Private methods */ - void wbint_Ping( + NTSTATUS wbint_Ping( [in] uint32 in_data, [out] uint32 *out_data ); diff --git a/source3/winbindd/winbindd_dual_srv.c b/source3/winbindd/winbindd_dual_srv.c index 3daa8468ddc..a59ecafe695 100644 --- a/source3/winbindd/winbindd_dual_srv.c +++ b/source3/winbindd/winbindd_dual_srv.c @@ -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,