return;
}
-DEBUG(0,("%s:%s: %p\n", __location__, __FUNCTION__, (void *)fd));
state->cli = cli_state_create(state, fd, state->desthost,
state->signing_state, state->flags);
if (tevent_req_nomem(state->cli, req)) {
smb2_capabilities = SMB2_CAP_ALL;
-
-DEBUG(0,("%s:%s: %p\n", __location__, __FUNCTION__, (void *)fd));
cli->conn = smbXcli_conn_create(cli, fd, remote_name,
signing_state,
smb1_capabilities,
TALLOC_FREE(state->req_5445);
talloc_steal(NULL, state->smb_direct);
state->sock = (intptr_t)state->smb_direct;
-DEBUG(0,("%s:%s: %p %p\n", __location__, __FUNCTION__, (void *)state->sock, state->smb_direct));
state->port = 5445;
} else if (subreq == state->req_445) {
tevent_req_received(req);
return status;
}
-DEBUG(0,("%s:%s: %p\n", __location__, __FUNCTION__, (void *)state->sock));
*sock = state->sock;
state->sock = -1;
if (ret_port != NULL) {
* via smbsock_any_connect_cleanup().
*/
state->fd = fd;
-DEBUG(0,("%s:%s: %p\n", __location__, __FUNCTION__, (void *)fd));
state->chosen_port = chosen_port;
state->chosen_index = chosen_index;
tevent_req_done(req);
tevent_req_received(req);
return status;
}
-DEBUG(0,("%s:%s: %p\n", __location__, __FUNCTION__, (void *)state->fd));
*pfd = state->fd;
state->fd = -1;
if (chosen_index != NULL) {
goto fail;
}
status = smbsock_any_connect_recv(req, pfd, chosen_index, chosen_port);
-DEBUG(0,("%s:%s: %p\n", __location__, __FUNCTION__, (void *)*pfd));
fail:
TALLOC_FREE(frame);
return status;