summaryrefslogtreecommitdiff
path: root/source4/ntvfs/simple
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/simple
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/simple')
-rw-r--r--source4/ntvfs/simple/vfs_simple.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source4/ntvfs/simple/vfs_simple.c b/source4/ntvfs/simple/vfs_simple.c
index 261ce4a19a..7972a3565a 100644
--- a/source4/ntvfs/simple/vfs_simple.c
+++ b/source4/ntvfs/simple/vfs_simple.c
@@ -803,6 +803,12 @@ static NTSTATUS svfs_search_close(struct request_context *req, union smb_search_
return NT_STATUS_OK;
}
+/* SMBtrans - not used on file shares */
+static NTSTATUS svfs_trans(struct request_context *req, struct smb_trans2 *trans2)
+{
+ return NT_STATUS_ACCESS_DENIED;
+}
+
/*
initialialise the POSIX disk backend, registering ourselves with the ntvfs subsystem
@@ -844,6 +850,7 @@ NTSTATUS ntvfs_simple_init(void)
ops.search_first = svfs_search_first;
ops.search_next = svfs_search_next;
ops.search_close = svfs_search_close;
+ ops.trans = svfs_trans;
/* register ourselves with the NTVFS subsystem. We register under the name 'default'
as we wish to be the default backend */