summaryrefslogtreecommitdiff
path: root/source4/ntvfs/cifs
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-12-11 09:07:45 +0000
committerAndrew Tridgell <tridge@samba.org>2003-12-11 09:07:45 +0000
commitfcc4efd1ea637c810eed8444080b87d7f92c837a (patch)
tree9f72b2b7b5780acc182e84532a54ae6dc26afb3a /source4/ntvfs/cifs
parente5ed18db65f33ef0b0151fc34b02e049b14d1ecd (diff)
downloadsamba-fcc4efd1ea637c810eed8444080b87d7f92c837a.tar.gz
samba-fcc4efd1ea637c810eed8444080b87d7f92c837a.tar.bz2
samba-fcc4efd1ea637c810eed8444080b87d7f92c837a.zip
the next step in the dcerpc server code. Added the link between the
IPC IO routines and the dcerpc endpoint servers. (This used to be commit 4929c53bc8dddda8a763fdfbcf81a79776d01113)
Diffstat (limited to 'source4/ntvfs/cifs')
-rw-r--r--source4/ntvfs/cifs/vfs_cifs.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/ntvfs/cifs/vfs_cifs.c b/source4/ntvfs/cifs/vfs_cifs.c
index c61749e2ad..ba2d6e7d24 100644
--- a/source4/ntvfs/cifs/vfs_cifs.c
+++ b/source4/ntvfs/cifs/vfs_cifs.c
@@ -669,6 +669,13 @@ static NTSTATUS cvfs_trans2(struct request_context *req, struct smb_trans2 *tran
ASYNC_RECV_TAIL(trans2, async_trans2);
}
+
+/* SMBtrans - not used on file shares */
+static NTSTATUS cvfs_trans(struct request_context *req, struct smb_trans2 *trans2)
+{
+ return NT_STATUS_ACCESS_DENIED;
+}
+
/*
initialise the CIFS->CIFS backend, registering ourselves with the ntvfs subsystem
*/
@@ -709,6 +716,7 @@ NTSTATUS ntvfs_cifs_init(void)
ops.search_first = cvfs_search_first;
ops.search_next = cvfs_search_next;
ops.search_close = cvfs_search_close;
+ ops.trans = cvfs_trans;
/* only define this one for trans2 testing */
ops.trans2 = cvfs_trans2;