Ensure we only return NT_STATUS_DELETE_PENDING if the share modes are valid.
commit50fdb32a4d30128d3e23d98833b31b84fc3f8215
authorJeremy Allison <jra@samba.org>
Tue, 22 May 2012 19:28:04 +0000 (22 12:28 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 25 May 2012 16:19:38 +0000 (25 09:19 -0700)
tree8fe743df1f5bcab8682373891a254520d4274250
parent89cf7ea944b8947d5b64b5e2819936ea8af1e661
Ensure we only return NT_STATUS_DELETE_PENDING if the share modes are valid.

Ensure we only return *file_existed = true if there were valid share modes.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
source3/smbd/open.c