smbd:smb2_create: fix return code for durable handle create blob combinations
authorMichael Adam <obnox@samba.org>
Wed, 25 Sep 2013 18:39:17 +0000 (20:39 +0200)
committerStefan Metzmacher <metze@samba.org>
Sat, 5 Oct 2013 12:04:08 +0000 (14:04 +0200)
commitea51681cc21f6e84af2f71309875c6692efcbc6e
tree776be594eec89647232a32c169d9e5486aa3440f
parent7b624cf856816851882d00d82658b756c0c29c1e
smbd:smb2_create: fix return code for durable handle create blob combinations

According to MS-SMB2:

3.3.5.9.7 Handling the SMB2_CREATE_DURABLE_HANDLE_RECONNECT Create Context
3.3.5.9.12 Handling the SMB2_CREATE_DURABLE_HANDLE_RECONNECT_V2 Create Context

and verified by test results.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/smbd/smb2_create.c