From: Jeremy Allison Date: Fri, 11 May 2012 10:27:01 +0000 (-0700) Subject: Fix bug #8922. X-Git-Tag: samba-4.0.0alpha21~215 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0fefe24d6f9d013b0cbb0db9d238ea473e1716ea;p=thirdparty%2Fsamba.git Fix bug #8922. Looking at the do_list status returns was historically ignored, allowing tar to continue after NT_STATUS_ACCESS_DENIED. Return to this state. Autobuild-User: Jeremy Allison Autobuild-Date: Fri May 11 14:55:53 CEST 2012 on sn-devel-104 --- diff --git a/source3/client/clitar.c b/source3/client/clitar.c index b02ada427e8..c0b6e4e7f19 100644 --- a/source3/client/clitar.c +++ b/source3/client/clitar.c @@ -891,7 +891,7 @@ strlen(finfo->name)=%d\nname=%s,cur_dir=%s\n", return NT_STATUS_NO_MEMORY; } DEBUG(5, ("Doing list with mtar_mask: %s\n", mtar_mask)); - status = do_list(mtar_mask, attribute, do_tar, False, True); + do_list(mtar_mask, attribute, do_tar, False, True); client_set_cur_dir(saved_curdir); TALLOC_FREE(saved_curdir); TALLOC_FREE(new_cd);