summaryrefslogtreecommitdiff
path: root/source3/smbd/proto.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2013-07-10 12:38:41 -0700
committerAndrew Bartlett <abartlet@samba.org>2013-07-19 17:52:39 +1000
commit50a288cb6a9bfff1d16cf488bbc0eedcb6ad4602 (patch)
tree25a7ec2194e8ef0da7415907c68212ee8903b2bc /source3/smbd/proto.h
parent21c92969b8d0ad7a77028d24c5b3fea63264e473 (diff)
downloadsamba-50a288cb6a9bfff1d16cf488bbc0eedcb6ad4602.tar.gz
samba-50a288cb6a9bfff1d16cf488bbc0eedcb6ad4602.tar.bz2
samba-50a288cb6a9bfff1d16cf488bbc0eedcb6ad4602.zip
Add the ability to send an NTSTATUS result back with a trans2 reply so we can return a parameter block with an error code.
This is needed when returning a STATUS_INVALID_NAME result (tested from Windows 2012). Bug 9992 - Windows error 0x800700FE when copying files with xattr names containing ":" Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/smbd/proto.h')
-rw-r--r--source3/smbd/proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index 38707d50ff..9c766096ed 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -1071,6 +1071,7 @@ NTSTATUS set_ea(connection_struct *conn, files_struct *fsp,
struct ea_list *read_ea_list_entry(TALLOC_CTX *ctx, const char *pdata, size_t data_size, size_t *pbytes_used);
void send_trans2_replies(connection_struct *conn,
struct smb_request *req,
+ NTSTATUS status,
const char *params,
int paramsize,
const char *pdata,