summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/winbindd/winbindd_dual.c28
-rw-r--r--source3/winbindd/winbindd_proto.h2
2 files changed, 0 insertions, 30 deletions
diff --git a/source3/winbindd/winbindd_dual.c b/source3/winbindd/winbindd_dual.c
index eb9ace23d6..073749eb7e 100644
--- a/source3/winbindd/winbindd_dual.c
+++ b/source3/winbindd/winbindd_dual.c
@@ -428,34 +428,6 @@ static void async_domain_request_done(struct tevent_req *req)
state->continuation(state->private_data_data, true);
}
-static void recvfrom_child(void *private_data_data, bool success)
-{
- struct winbindd_cli_state *state =
- talloc_get_type_abort(private_data_data, struct winbindd_cli_state);
- enum winbindd_result result = state->response->result;
-
- /* This is an optimization: The child has written directly to the
- * response buffer. The request itself is still in pending state,
- * state that in the result code. */
-
- state->response->result = WINBINDD_PENDING;
-
- if ((!success) || (result != WINBINDD_OK)) {
- request_error(state);
- return;
- }
-
- request_ok(state);
-}
-
-void sendto_domain(struct winbindd_cli_state *state,
- struct winbindd_domain *domain)
-{
- async_domain_request(state->mem_ctx, domain,
- state->request, state->response,
- recvfrom_child, state);
-}
-
static void child_process_request(struct winbindd_child *child,
struct winbindd_cli_state *state)
{
diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h
index 2bf33cbc1e..981b2f644f 100644
--- a/source3/winbindd/winbindd_proto.h
+++ b/source3/winbindd/winbindd_proto.h
@@ -276,8 +276,6 @@ void async_domain_request(TALLOC_CTX *mem_ctx,
struct winbindd_response *response,
void (*continuation)(void *private_data_data, bool success),
void *private_data_data);
-void sendto_domain(struct winbindd_cli_state *state,
- struct winbindd_domain *domain);
void setup_child(struct winbindd_domain *domain, struct winbindd_child *child,
const struct winbindd_child_dispatch_table *table,
const char *logprefix,