s3:smb2_create: don't take 'state->te' as indication for "was_deferred" (bug #9196)
commit5eae9829f206fa5ac169420d897c875fea5f2fc6
authorStefan Metzmacher <metze@samba.org>
Wed, 26 Sep 2012 01:04:20 +0000 (26 03:04 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 1 Oct 2012 07:17:14 +0000 (1 09:17 +0200)
tree1e36a7ebef4fe1bc18ed10d0e61707e2951efba8
parent60a4b69933509273c4923c5593f6eb3b5afa0c3b
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)
source3/smbd/smb2_create.c