Fix bug #8922.
authorJeremy Allison <jra@samba.org>
Fri, 11 May 2012 10:27:01 +0000 (03:27 -0700)
committerKarolin Seeger <kseeger@samba.org>
Fri, 22 Jun 2012 19:50:31 +0000 (21:50 +0200)
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 <jra@samba.org>
Autobuild-Date: Fri May 11 14:55:53 CEST 2012 on sn-devel-104
(cherry picked from commit 633093685734e44afd7a0de1d58a0ffe905ae13a)

source3/client/clitar.c

index 3c08734e92f0172197ae1a3549f932fa13a59776..b6586886df0c5b8bf1c2e86733c31200b506fc78 100644 (file)
@@ -907,7 +907,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);