s3:smb2_create: don't take 'state->te' as indication for "was_deferred" (bug #9196)
commit4604219ceba96955b3c4bf6ab31aa70c11442d61
authorStefan Metzmacher <metze@samba.org>
Wed, 26 Sep 2012 01:04:20 +0000 (26 03:04 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 26 Sep 2012 04:16:06 +0000 (26 06:16 +0200)
tree1d6638734ff0b86bea0990d08d65cea3cb26567e
parent3c4d0ce46995f82921f538757783fa7a678a7fc1
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
source3/smbd/smb2_create.c