s3:smb2_create: don't take 'state->te' as indication for "was_deferred" (bug #9196)
commitc92747f36048981dd6263b5171299ec1b2454ce2
authorStefan Metzmacher <metze@samba.org>
Wed, 26 Sep 2012 01:04:20 +0000 (26 03:04 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 29 Oct 2012 09:05:40 +0000 (29 10:05 +0100)
tree84f56d3e63bfb34ee05eadfb34bdd241f01e3496
parent758652ee1d9b2e6fd626323615279a68d7224501
s3:smb2_create: don't take 'state->te' as indication for "was_deferred" (bug #9196)

We always set state->te = NULL of TALLOC_FREE(state->te),
before calling smbd_smb2_request_dispatch(), so
open_was_deferred_smb2() always returned false, while dispatching
it again.

But it's remove_deferred_open_message_smb2_internal() which
should reset this state.

In developer mode validate_my_share_entries() did call smb_panic()
before.

metze
(cherry picked from commit 4604219ceba96955b3c4bf6ab31aa70c11442d61)
(cherry picked from commit 5eae9829f206fa5ac169420d897c875fea5f2fc6)
source3/smbd/smb2_create.c