summaryrefslogtreecommitdiff
path: root/source4/smbd
diff options
context:
space:
mode:
Diffstat (limited to 'source4/smbd')
-rw-r--r--source4/smbd/trans2.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/smbd/trans2.c b/source4/smbd/trans2.c
index 3115a330e5..19f313a860 100644
--- a/source4/smbd/trans2.c
+++ b/source4/smbd/trans2.c
@@ -1219,8 +1219,10 @@ static NTSTATUS trans2_backend(struct request_context *req, struct smb_trans2 *t
*/
static NTSTATUS trans_backend(struct request_context *req, struct smb_trans2 *trans)
{
-
- return NT_STATUS_NOT_IMPLEMENTED;
+ if (!req->conn->ntvfs_ops->trans) {
+ return NT_STATUS_NOT_IMPLEMENTED;
+ }
+ return req->conn->ntvfs_ops->trans(req, trans);
}