The branch, master has been updated via e7daa0d7049933e5a743f7e6db886f624490c53d (commit) via 20f40d1c5065d909f4274b86de20fa941fa20405 (commit) from 5f295eb6f5fe60394b764a2e0bc76b77f6160664 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit e7daa0d7049933e5a743f7e6db886f624490c53d Author: Bo Yang <boy...@samba.org> Date: Sat Jul 18 08:03:57 2009 +0800 s3: don't do this, upper callbacks will check it Signed-off-by: Bo Yang <boy...@samba.org> commit 20f40d1c5065d909f4274b86de20fa941fa20405 Author: Bo Yang <boy...@samba.org> Date: Sat Jul 18 08:01:56 2009 +0800 s3: Fix crsh in net usershare list Signed-off-by: Bo Yang <boy...@samba.org> ----------------------------------------------------------------------- Summary of changes: source3/utils/net_usershare.c | 1 + source3/winbindd/winbindd_dual.c | 4 ---- 2 files changed, 1 insertions(+), 4 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/utils/net_usershare.c b/source3/utils/net_usershare.c index d82d30b..6eacb13 100644 --- a/source3/utils/net_usershare.c +++ b/source3/utils/net_usershare.c @@ -974,6 +974,7 @@ static int net_usershare_list(struct net_context *c, int argc, pi.ctx = ctx; pi.op = US_LIST_OP; + pi.c = c; ret = process_share_list(info_fn, &pi); talloc_destroy(ctx); diff --git a/source3/winbindd/winbindd_dual.c b/source3/winbindd/winbindd_dual.c index 92f0d60..ab07c97 100644 --- a/source3/winbindd/winbindd_dual.c +++ b/source3/winbindd/winbindd_dual.c @@ -179,10 +179,6 @@ int wb_child_request_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, if (tevent_req_is_unix_error(req, err)) { return -1; } - if (state->response->result != WINBINDD_OK) { - *err = EIO; /* EIO doesn't fit, but what would be better? */ - return -1; - } *presponse = talloc_move(mem_ctx, &state->response); return 0; } -- Samba Shared Repository