r26353: Remove use of global_loadparm.
[kai/samba-autobuild/.git] / source4 / smb_server / smb2 / tcon.c
index 572d3b5bf599147f198c9aa76d25a12083060eb5..4393d38c0db04d48c6cd3d7508e765e124fdfbb0 100644 (file)
@@ -26,6 +26,7 @@
 #include "librpc/gen_ndr/security.h"
 #include "smbd/service_stream.h"
 #include "ntvfs/ntvfs.h"
+#include "param/param.h"
 
 /*
   send an oplock break request to a client
@@ -293,6 +294,7 @@ static NTSTATUS smb2srv_tcon_backend(struct smb2srv_request *req, union smb_tcon
                                       req->smb_conn->negotiate.protocol,
                                       req->smb_conn->connection->event.ctx,
                                       req->smb_conn->connection->msg_ctx,
+                                      global_loadparm,
                                       req->smb_conn->connection->server_id,
                                       &tcon->ntvfs);
        if (!NT_STATUS_IS_OK(status)) {