summaryrefslogtreecommitdiff
path: root/source4/ntvfs
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-05-19 11:39:16 +1000
committerAndrew Tridgell <tridge@samba.org>2008-05-19 11:39:16 +1000
commit66cbf7eb59ab4a29dca1d30850c9aeb35a598b3d (patch)
treeeba9b89dd92dd582e7c423a527a907eabe6c1cde /source4/ntvfs
parentc7d7577fb978dfa822b4aab238440816188099c6 (diff)
downloadsamba-66cbf7eb59ab4a29dca1d30850c9aeb35a598b3d.tar.gz
samba-66cbf7eb59ab4a29dca1d30850c9aeb35a598b3d.tar.bz2
samba-66cbf7eb59ab4a29dca1d30850c9aeb35a598b3d.zip
added mkdir to SMB2 proxy
(This used to be commit 1323aab11fbf346e19c4cef227d727ddfcaa7d60)
Diffstat (limited to 'source4/ntvfs')
-rw-r--r--source4/ntvfs/smb2/vfs_smb2.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/source4/ntvfs/smb2/vfs_smb2.c b/source4/ntvfs/smb2/vfs_smb2.c
index 13dbb4ea2e..3a9a74a928 100644
--- a/source4/ntvfs/smb2/vfs_smb2.c
+++ b/source4/ntvfs/smb2/vfs_smb2.c
@@ -450,7 +450,14 @@ static NTSTATUS cvfs_open(struct ntvfs_module_context *ntvfs,
static NTSTATUS cvfs_mkdir(struct ntvfs_module_context *ntvfs,
struct ntvfs_request *req, union smb_mkdir *md)
{
- return NT_STATUS_NOT_IMPLEMENTED;
+ struct cvfs_private *private = ntvfs->private_data;
+ struct composite_context *c_req;
+
+ CHECK_ASYNC(req);
+
+ c_req = smb2_composite_mkdir_send(private->tree, md);
+
+ SIMPLE_COMPOSITE_TAIL;
}
/*