{
struct tevent_req *req, *subreq;
struct wb_getpwsid_state *state;
+ struct dom_sid_buf buf;
req = tevent_req_create(mem_ctx, &state, struct wb_getpwsid_state);
if (req == NULL) {
return NULL;
}
+ D_INFO("WB command getpwsid start.\nQuery user SID %s.\n", dom_sid_str_buf(user_sid, &buf));
sid_copy(&state->sid, user_sid);
state->ev = ev;
state->pw = pw;
NTSTATUS wb_getpwsid_recv(struct tevent_req *req)
{
- return tevent_req_simple_recv_ntstatus(req);
+ NTSTATUS status = tevent_req_simple_recv_ntstatus(req);
+ D_INFO("WB command getpwsid end.\nReturn status %s.\n", nt_errstr(status));
+ return status;
}