/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source3/winbindd/ |
H A D | wb_seqnum.c | 34 struct tevent_req *req, *subreq; local 37 req = tevent_req_create(mem_ctx, &state, struct wb_seqnum_state); 38 if (req == NULL) { 43 if (tevent_req_nomem(subreq, req)) { 44 return tevent_req_post(req, ev); 46 tevent_req_set_callback(subreq, wb_seqnum_done, req); 47 return req; 52 struct tevent_req *req = tevent_req_callback_data( local 55 req, struct wb_seqnum_state); 61 tevent_req_nterror(req, statu 71 wb_seqnum_recv(struct tevent_req *req, uint32_t *seqnum) argument [all...] |
H A D | winbindd_allocate_gid.c | 35 struct tevent_req *req, *subreq; local 39 req = tevent_req_create(mem_ctx, &state, 41 if (req == NULL) { 51 if (tevent_req_nomem(subreq, req)) { 52 return tevent_req_post(req, ev); 54 tevent_req_set_callback(subreq, winbindd_allocate_gid_done, req); 55 return req; 60 struct tevent_req *req = tevent_req_callback_data( local 63 req, struct winbindd_allocate_gid_state); 69 tevent_req_nterror(req, statu 79 winbindd_allocate_gid_recv(struct tevent_req *req, struct winbindd_response *response) argument [all...] |
H A D | winbindd_allocate_uid.c | 35 struct tevent_req *req, *subreq; local 39 req = tevent_req_create(mem_ctx, &state, 41 if (req == NULL) { 51 if (tevent_req_nomem(subreq, req)) { 52 return tevent_req_post(req, ev); 54 tevent_req_set_callback(subreq, winbindd_allocate_uid_done, req); 55 return req; 60 struct tevent_req *req = tevent_req_callback_data( local 63 req, struct winbindd_allocate_uid_state); 69 tevent_req_nterror(req, statu 79 winbindd_allocate_uid_recv(struct tevent_req *req, struct winbindd_response *response) argument [all...] |
H A D | winbindd_getpwsid.c | 35 struct tevent_req *req, *subreq; local 38 req = tevent_req_create(mem_ctx, &state, 40 if (req == NULL) { 52 tevent_req_nterror(req, NT_STATUS_INVALID_PARAMETER); 53 return tevent_req_post(req, ev); 57 if (tevent_req_nomem(subreq, req)) { 58 return tevent_req_post(req, ev); 60 tevent_req_set_callback(subreq, winbindd_getpwsid_done, req); 61 return req; 66 struct tevent_req *req local 79 winbindd_getpwsid_recv(struct tevent_req *req, struct winbindd_response *response) argument [all...] |
H A D | winbindd_getpwent.c | 38 struct tevent_req *req, *subreq; local 41 req = tevent_req_create(mem_ctx, &state, 43 if (req == NULL) { 53 tevent_req_nterror(req, NT_STATUS_NO_MORE_ENTRIES); 54 return tevent_req_post(req, ev); 58 tevent_req_nterror(req, NT_STATUS_NO_MORE_ENTRIES); 59 return tevent_req_post(req, ev); 64 tevent_req_nterror(req, NT_STATUS_INVALID_PARAMETER); 65 return tevent_req_post(req, ev); 70 if (tevent_req_nomem(state->users, req)) { 85 struct tevent_req *req = tevent_req_callback_data( local 125 winbindd_getpwent_recv(struct tevent_req *req, struct winbindd_response *response) argument [all...] |
H A D | wb_queryuser.c | 35 struct tevent_req *req, *subreq; local 39 req = tevent_req_create(mem_ctx, &state, struct wb_queryuser_state); 40 if (req == NULL) { 47 tevent_req_nterror(req, NT_STATUS_NO_SUCH_USER); 48 return tevent_req_post(req, ev); 52 if (tevent_req_nomem(state->info, req)) { 53 return tevent_req_post(req, ev); 58 if (tevent_req_nomem(subreq, req)) { 59 return tevent_req_post(req, ev); 61 tevent_req_set_callback(subreq, wb_queryuser_done, req); 67 struct tevent_req *req = tevent_req_callback_data( local 86 wb_queryuser_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, struct wbint_userinfo **pinfo) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source3/winbindd/ |
H A D | wb_lookupusergroups.c | 37 struct tevent_req *req, *subreq; local 40 req = tevent_req_create(mem_ctx, &state, 42 if (req == NULL) { 49 if (tevent_req_nomem(subreq, req)) { 50 return tevent_req_post(req, ev); 52 tevent_req_set_callback(subreq, wb_lookupusergroups_done, req); 53 return req; 58 struct tevent_req *req = tevent_req_callback_data( local 61 req, struct wb_lookupusergroups_state); 67 tevent_req_nterror(req, statu 77 wb_lookupusergroups_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, int *num_sids, struct dom_sid **sids) argument [all...] |
H A D | wb_query_user_list.c | 34 struct tevent_req *req, *subreq; local 37 req = tevent_req_create(mem_ctx, &state, 39 if (req == NULL) { 46 if (tevent_req_nomem(subreq, req)) { 47 return tevent_req_post(req, ev); 49 tevent_req_set_callback(subreq, wb_query_user_list_done, req); 50 return req; 55 struct tevent_req *req = tevent_req_callback_data( local 58 req, struct wb_query_user_list_state); 64 tevent_req_nterror(req, statu 78 wb_query_user_list_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, int *num_users, struct wbint_userinfo **users) argument [all...] |
H A D | wb_seqnum.c | 34 struct tevent_req *req, *subreq; local 37 req = tevent_req_create(mem_ctx, &state, struct wb_seqnum_state); 38 if (req == NULL) { 43 if (tevent_req_nomem(subreq, req)) { 44 return tevent_req_post(req, ev); 46 tevent_req_set_callback(subreq, wb_seqnum_done, req); 47 return req; 52 struct tevent_req *req = tevent_req_callback_data( local 55 req, struct wb_seqnum_state); 61 tevent_req_nterror(req, statu 71 wb_seqnum_recv(struct tevent_req *req, uint32_t *seqnum) argument [all...] |
H A D | winbindd_allocate_gid.c | 35 struct tevent_req *req, *subreq; local 39 req = tevent_req_create(mem_ctx, &state, 41 if (req == NULL) { 51 if (tevent_req_nomem(subreq, req)) { 52 return tevent_req_post(req, ev); 54 tevent_req_set_callback(subreq, winbindd_allocate_gid_done, req); 55 return req; 60 struct tevent_req *req = tevent_req_callback_data( local 63 req, struct winbindd_allocate_gid_state); 69 tevent_req_nterror(req, statu 79 winbindd_allocate_gid_recv(struct tevent_req *req, struct winbindd_response *response) argument [all...] |
H A D | winbindd_allocate_uid.c | 35 struct tevent_req *req, *subreq; local 39 req = tevent_req_create(mem_ctx, &state, 41 if (req == NULL) { 51 if (tevent_req_nomem(subreq, req)) { 52 return tevent_req_post(req, ev); 54 tevent_req_set_callback(subreq, winbindd_allocate_uid_done, req); 55 return req; 60 struct tevent_req *req = tevent_req_callback_data( local 63 req, struct winbindd_allocate_uid_state); 69 tevent_req_nterror(req, statu 79 winbindd_allocate_uid_recv(struct tevent_req *req, struct winbindd_response *response) argument [all...] |
H A D | winbindd_getpwsid.c | 35 struct tevent_req *req, *subreq; local 38 req = tevent_req_create(mem_ctx, &state, 40 if (req == NULL) { 52 tevent_req_nterror(req, NT_STATUS_INVALID_PARAMETER); 53 return tevent_req_post(req, ev); 57 if (tevent_req_nomem(subreq, req)) { 58 return tevent_req_post(req, ev); 60 tevent_req_set_callback(subreq, winbindd_getpwsid_done, req); 61 return req; 66 struct tevent_req *req local 79 winbindd_getpwsid_recv(struct tevent_req *req, struct winbindd_response *response) argument [all...] |
H A D | winbindd_getpwent.c | 38 struct tevent_req *req, *subreq; local 41 req = tevent_req_create(mem_ctx, &state, 43 if (req == NULL) { 53 tevent_req_nterror(req, NT_STATUS_NO_MORE_ENTRIES); 54 return tevent_req_post(req, ev); 58 tevent_req_nterror(req, NT_STATUS_NO_MORE_ENTRIES); 59 return tevent_req_post(req, ev); 64 tevent_req_nterror(req, NT_STATUS_INVALID_PARAMETER); 65 return tevent_req_post(req, ev); 70 if (tevent_req_nomem(state->users, req)) { 85 struct tevent_req *req = tevent_req_callback_data( local 125 winbindd_getpwent_recv(struct tevent_req *req, struct winbindd_response *response) argument [all...] |
H A D | wb_queryuser.c | 35 struct tevent_req *req, *subreq; local 39 req = tevent_req_create(mem_ctx, &state, struct wb_queryuser_state); 40 if (req == NULL) { 47 tevent_req_nterror(req, NT_STATUS_NO_SUCH_USER); 48 return tevent_req_post(req, ev); 52 if (tevent_req_nomem(state->info, req)) { 53 return tevent_req_post(req, ev); 58 if (tevent_req_nomem(subreq, req)) { 59 return tevent_req_post(req, ev); 61 tevent_req_set_callback(subreq, wb_queryuser_done, req); 67 struct tevent_req *req = tevent_req_callback_data( local 86 wb_queryuser_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, struct wbint_userinfo **pinfo) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source3/smbd/ |
H A D | smb2_server.c | 98 static int smbd_smb2_request_parent_destructor(struct smbd_smb2_request **req) argument 100 if (*req) { 101 (*req)->parent = NULL; 102 (*req)->mem_pool = NULL; 108 static int smbd_smb2_request_destructor(struct smbd_smb2_request *req) argument 110 if (req->out.vector) { 111 DLIST_REMOVE(req->sconn->smb2.requests, req); 114 if (req->parent) { 115 *req 126 struct smbd_smb2_request *req; local 158 struct smbd_smb2_request *req; local 237 smbd_smb2_request_validate(struct smbd_smb2_request *req) argument 317 smbd_smb2_request_setup_out(struct smbd_smb2_request *req) argument 423 smbd_smb2_request_pending_queue(struct smbd_smb2_request *req, struct tevent_req *subreq) argument 524 smbd_smb2_request_process_cancel(struct smbd_smb2_request *req) argument 576 smbd_smb2_request_dispatch(struct smbd_smb2_request *req) argument 803 smbd_smb2_request_reply(struct smbd_smb2_request *req) argument 854 struct smbd_smb2_request *req = tevent_req_callback_data(subreq, local 874 struct smbd_smb2_request *req = tevent_req_callback_data(subreq, local 890 smbd_smb2_request_error_ex(struct smbd_smb2_request *req, NTSTATUS status, DATA_BLOB *info, const char *location) argument 930 smbd_smb2_request_done_ex(struct smbd_smb2_request *req, NTSTATUS status, DATA_BLOB body, DATA_BLOB *dyn, const char *location) argument 1140 struct tevent_req *req; local 1179 struct smbd_smb2_request *req = state->smb2_req; local 1452 struct tevent_req *req = local 1469 smbd_smb2_request_read_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, struct smbd_smb2_request **_smb2_req) argument 1495 struct smbd_smb2_request *req; local 1539 struct smbd_smb2_request *req = NULL; local [all...] |
H A D | pipes.c | 88 void reply_open_pipe_and_X(connection_struct *conn, struct smb_request *req) argument 97 srvstr_pull_req_talloc(ctx, req, &pipe_name, req->buf, STR_TERMINATE); 99 reply_botherror(req, NT_STATUS_OBJECT_NAME_NOT_FOUND, 108 reply_nterror(req, NT_STATUS_ACCESS_DENIED); 122 reply_nterror(req, NT_STATUS_ACCESS_DENIED); 127 status = open_np_file(req, fname, &fsp); 130 reply_botherror(req, NT_STATUS_OBJECT_NAME_NOT_FOUND, 134 reply_nterror(req, status); 139 reply_outbuf(req, 1 166 reply_pipe_write(struct smb_request *req) argument 210 struct smb_request *req = tevent_req_callback_data( local 260 reply_pipe_write_and_X(struct smb_request *req) argument 326 struct smb_request *req = tevent_req_callback_data( local 377 reply_pipe_read_and_X(struct smb_request *req) argument 433 struct smb_request *req = tevent_req_callback_data( local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source3/smbd/ |
H A D | smb2_server.c | 98 static int smbd_smb2_request_parent_destructor(struct smbd_smb2_request **req) argument 100 if (*req) { 101 (*req)->parent = NULL; 102 (*req)->mem_pool = NULL; 108 static int smbd_smb2_request_destructor(struct smbd_smb2_request *req) argument 110 if (req->out.vector) { 111 DLIST_REMOVE(req->sconn->smb2.requests, req); 114 if (req->parent) { 115 *req 126 struct smbd_smb2_request *req; local 158 struct smbd_smb2_request *req; local 237 smbd_smb2_request_validate(struct smbd_smb2_request *req) argument 317 smbd_smb2_request_setup_out(struct smbd_smb2_request *req) argument 423 smbd_smb2_request_pending_queue(struct smbd_smb2_request *req, struct tevent_req *subreq) argument 524 smbd_smb2_request_process_cancel(struct smbd_smb2_request *req) argument 576 smbd_smb2_request_dispatch(struct smbd_smb2_request *req) argument 803 smbd_smb2_request_reply(struct smbd_smb2_request *req) argument 854 struct smbd_smb2_request *req = tevent_req_callback_data(subreq, local 874 struct smbd_smb2_request *req = tevent_req_callback_data(subreq, local 890 smbd_smb2_request_error_ex(struct smbd_smb2_request *req, NTSTATUS status, DATA_BLOB *info, const char *location) argument 930 smbd_smb2_request_done_ex(struct smbd_smb2_request *req, NTSTATUS status, DATA_BLOB body, DATA_BLOB *dyn, const char *location) argument 1140 struct tevent_req *req; local 1179 struct smbd_smb2_request *req = state->smb2_req; local 1452 struct tevent_req *req = local 1469 smbd_smb2_request_read_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, struct smbd_smb2_request **_smb2_req) argument 1495 struct smbd_smb2_request *req; local 1539 struct smbd_smb2_request *req = NULL; local [all...] |
H A D | pipes.c | 88 void reply_open_pipe_and_X(connection_struct *conn, struct smb_request *req) argument 97 srvstr_pull_req_talloc(ctx, req, &pipe_name, req->buf, STR_TERMINATE); 99 reply_botherror(req, NT_STATUS_OBJECT_NAME_NOT_FOUND, 108 reply_nterror(req, NT_STATUS_ACCESS_DENIED); 122 reply_nterror(req, NT_STATUS_ACCESS_DENIED); 127 status = open_np_file(req, fname, &fsp); 130 reply_botherror(req, NT_STATUS_OBJECT_NAME_NOT_FOUND, 134 reply_nterror(req, status); 139 reply_outbuf(req, 1 166 reply_pipe_write(struct smb_request *req) argument 210 struct smb_request *req = tevent_req_callback_data( local 260 reply_pipe_write_and_X(struct smb_request *req) argument 326 struct smb_request *req = tevent_req_callback_data( local 377 reply_pipe_read_and_X(struct smb_request *req) argument 433 struct smb_request *req = tevent_req_callback_data( local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source3/smbd/ |
H A D | smb2_server.c | 98 static int smbd_smb2_request_parent_destructor(struct smbd_smb2_request **req) argument 100 if (*req) { 101 (*req)->parent = NULL; 102 (*req)->mem_pool = NULL; 108 static int smbd_smb2_request_destructor(struct smbd_smb2_request *req) argument 110 if (req->out.vector) { 111 DLIST_REMOVE(req->sconn->smb2.requests, req); 114 if (req->parent) { 115 *req 126 struct smbd_smb2_request *req; local 158 struct smbd_smb2_request *req; local 237 smbd_smb2_request_validate(struct smbd_smb2_request *req) argument 317 smbd_smb2_request_setup_out(struct smbd_smb2_request *req) argument 423 smbd_smb2_request_pending_queue(struct smbd_smb2_request *req, struct tevent_req *subreq) argument 524 smbd_smb2_request_process_cancel(struct smbd_smb2_request *req) argument 576 smbd_smb2_request_dispatch(struct smbd_smb2_request *req) argument 803 smbd_smb2_request_reply(struct smbd_smb2_request *req) argument 854 struct smbd_smb2_request *req = tevent_req_callback_data(subreq, local 874 struct smbd_smb2_request *req = tevent_req_callback_data(subreq, local 890 smbd_smb2_request_error_ex(struct smbd_smb2_request *req, NTSTATUS status, DATA_BLOB *info, const char *location) argument 930 smbd_smb2_request_done_ex(struct smbd_smb2_request *req, NTSTATUS status, DATA_BLOB body, DATA_BLOB *dyn, const char *location) argument 1140 struct tevent_req *req; local 1179 struct smbd_smb2_request *req = state->smb2_req; local 1452 struct tevent_req *req = local 1469 smbd_smb2_request_read_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, struct smbd_smb2_request **_smb2_req) argument 1495 struct smbd_smb2_request *req; local 1539 struct smbd_smb2_request *req = NULL; local [all...] |
H A D | pipes.c | 88 void reply_open_pipe_and_X(connection_struct *conn, struct smb_request *req) argument 97 srvstr_pull_req_talloc(ctx, req, &pipe_name, req->buf, STR_TERMINATE); 99 reply_botherror(req, NT_STATUS_OBJECT_NAME_NOT_FOUND, 108 reply_nterror(req, NT_STATUS_ACCESS_DENIED); 122 reply_nterror(req, NT_STATUS_ACCESS_DENIED); 127 status = open_np_file(req, fname, &fsp); 130 reply_botherror(req, NT_STATUS_OBJECT_NAME_NOT_FOUND, 134 reply_nterror(req, status); 139 reply_outbuf(req, 1 166 reply_pipe_write(struct smb_request *req) argument 210 struct smb_request *req = tevent_req_callback_data( local 260 reply_pipe_write_and_X(struct smb_request *req) argument 326 struct smb_request *req = tevent_req_callback_data( local 377 reply_pipe_read_and_X(struct smb_request *req) argument 433 struct smb_request *req = tevent_req_callback_data( local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source3/winbindd/ |
H A D | winbindd_getpwent.c | 38 struct tevent_req *req, *subreq; local 41 req = tevent_req_create(mem_ctx, &state, 43 if (req == NULL) { 53 tevent_req_nterror(req, NT_STATUS_NO_MORE_ENTRIES); 54 return tevent_req_post(req, ev); 58 tevent_req_nterror(req, NT_STATUS_NO_MORE_ENTRIES); 59 return tevent_req_post(req, ev); 64 tevent_req_nterror(req, NT_STATUS_INVALID_PARAMETER); 65 return tevent_req_post(req, ev); 70 if (tevent_req_nomem(state->users, req)) { 85 struct tevent_req *req = tevent_req_callback_data( local 125 winbindd_getpwent_recv(struct tevent_req *req, struct winbindd_response *response) argument [all...] |
H A D | wb_queryuser.c | 35 struct tevent_req *req, *subreq; local 39 req = tevent_req_create(mem_ctx, &state, struct wb_queryuser_state); 40 if (req == NULL) { 47 tevent_req_nterror(req, NT_STATUS_NO_SUCH_USER); 48 return tevent_req_post(req, ev); 52 if (tevent_req_nomem(state->info, req)) { 53 return tevent_req_post(req, ev); 58 if (tevent_req_nomem(subreq, req)) { 59 return tevent_req_post(req, ev); 61 tevent_req_set_callback(subreq, wb_queryuser_done, req); 67 struct tevent_req *req = tevent_req_callback_data( local 86 wb_queryuser_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, struct wbint_userinfo **pinfo) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source4/libcli/smb2/ |
H A D | negprot.c | 35 struct smb2_request *req; local 40 req = smb2_request_init(transport, SMB2_OP_NEGPROT, size, false, 0); 41 if (req == NULL) return NULL; 44 SSVAL(req->out.body, 0x00, 0x24); 45 SSVAL(req->out.body, 0x02, io->in.dialect_count); 46 SSVAL(req->out.body, 0x04, io->in.security_mode); 47 SSVAL(req->out.body, 0x06, io->in.reserved); 48 SIVAL(req->out.body, 0x08, io->in.capabilities); 49 ndr_err = smbcli_push_guid(req->out.body, 0x0C, &io->in.client_guid); 51 talloc_free(req); 67 smb2_negprot_recv(struct smb2_request *req, TALLOC_CTX *mem_ctx, struct smb2_negprot *io) argument 111 struct smb2_request *req = smb2_negprot_send(transport, io); local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source4/libcli/smb2/ |
H A D | negprot.c | 35 struct smb2_request *req; local 40 req = smb2_request_init(transport, SMB2_OP_NEGPROT, size, false, 0); 41 if (req == NULL) return NULL; 44 SSVAL(req->out.body, 0x00, 0x24); 45 SSVAL(req->out.body, 0x02, io->in.dialect_count); 46 SSVAL(req->out.body, 0x04, io->in.security_mode); 47 SSVAL(req->out.body, 0x06, io->in.reserved); 48 SIVAL(req->out.body, 0x08, io->in.capabilities); 49 ndr_err = smbcli_push_guid(req->out.body, 0x0C, &io->in.client_guid); 51 talloc_free(req); 67 smb2_negprot_recv(struct smb2_request *req, TALLOC_CTX *mem_ctx, struct smb2_negprot *io) argument 111 struct smb2_request *req = smb2_negprot_send(transport, io); local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source4/libcli/smb2/ |
H A D | negprot.c | 35 struct smb2_request *req; local 40 req = smb2_request_init(transport, SMB2_OP_NEGPROT, size, false, 0); 41 if (req == NULL) return NULL; 44 SSVAL(req->out.body, 0x00, 0x24); 45 SSVAL(req->out.body, 0x02, io->in.dialect_count); 46 SSVAL(req->out.body, 0x04, io->in.security_mode); 47 SSVAL(req->out.body, 0x06, io->in.reserved); 48 SIVAL(req->out.body, 0x08, io->in.capabilities); 49 ndr_err = smbcli_push_guid(req->out.body, 0x0C, &io->in.client_guid); 51 talloc_free(req); 67 smb2_negprot_recv(struct smb2_request *req, TALLOC_CTX *mem_ctx, struct smb2_negprot *io) argument 111 struct smb2_request *req = smb2_negprot_send(transport, io); local [all...] |