summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/globals.h3
-rw-r--r--source3/smbd/process.c10
2 files changed, 13 insertions, 0 deletions
diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h
index 428733d2dc..9bccbadb43 100644
--- a/source3/smbd/globals.h
+++ b/source3/smbd/globals.h
@@ -153,6 +153,9 @@ struct smbd_smb2_tcon;
DATA_BLOB negprot_spnego(void);
+bool smbd_lock_socket(struct smbd_server_connection *sconn);
+bool smbd_unlock_socket(struct smbd_server_connection *sconn);
+
NTSTATUS smb2_signing_sign_pdu(DATA_BLOB session_key,
struct iovec *vector,
int count);
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index 09d00a3be8..3e27c0fa53 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -40,6 +40,16 @@ extern bool global_machine_password_needs_changing;
static void construct_reply_common(struct smb_request *req, const char *inbuf,
char *outbuf);
+bool smbd_lock_socket(struct smbd_server_connection *sconn)
+{
+ return true;
+}
+
+bool smbd_unlock_socket(struct smbd_server_connection *sconn)
+{
+ return true;
+}
+
/* Accessor function for smb_read_error for smbd functions. */
/****************************************************************************