summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/smb_server/negprot.c8
-rw-r--r--source4/smb_server/signing.c4
2 files changed, 6 insertions, 6 deletions
diff --git a/source4/smb_server/negprot.c b/source4/smb_server/negprot.c
index e903969aa7..a9a213131a 100644
--- a/source4/smb_server/negprot.c
+++ b/source4/smb_server/negprot.c
@@ -62,7 +62,7 @@ static void reply_corep(struct smbsrv_request *req, uint16_t choice)
if (req->smb_conn->signing.mandatory_signing) {
smbsrv_terminate_connection(req->smb_conn,
- "CORE does not support SMB signing, and it is mandetory\n");
+ "CORE does not support SMB signing, and it is mandatory\n");
return;
}
@@ -95,7 +95,7 @@ static void reply_coreplus(struct smbsrv_request *req, uint16_t choice)
if (req->smb_conn->signing.mandatory_signing) {
smbsrv_terminate_connection(req->smb_conn,
- "COREPLUS does not support SMB signing, and it is mandetory\n");
+ "COREPLUS does not support SMB signing, and it is mandatory\n");
return;
}
@@ -146,7 +146,7 @@ static void reply_lanman1(struct smbsrv_request *req, uint16_t choice)
if (req->smb_conn->signing.mandatory_signing) {
smbsrv_terminate_connection(req->smb_conn,
- "LANMAN1 does not support SMB signing, and it is mandetory\n");
+ "LANMAN1 does not support SMB signing, and it is mandatory\n");
return;
}
@@ -195,7 +195,7 @@ static void reply_lanman2(struct smbsrv_request *req, uint16_t choice)
if (req->smb_conn->signing.mandatory_signing) {
smbsrv_terminate_connection(req->smb_conn,
- "LANMAN2 does not support SMB signing, and it is mandetory\n");
+ "LANMAN2 does not support SMB signing, and it is mandatory\n");
return;
}
diff --git a/source4/smb_server/signing.c b/source4/smb_server/signing.c
index c397963f38..afd562340d 100644
--- a/source4/smb_server/signing.c
+++ b/source4/smb_server/signing.c
@@ -84,8 +84,8 @@ void srv_signing_restart(struct smbsrv_connection *smb_conn,
srv_setup_signing(smb_conn, session_key, response);
smb_conn->signing.next_seq_num = 2;
if (smb_conn->signing.mandatory_signing) {
- DEBUG(5, ("Configured for mandetory signing, 'good packet seen' forced on\n"));
- /* if this is mandetory, then
+ DEBUG(5, ("Configured for mandatory signing, 'good packet seen' forced on\n"));
+ /* if this is mandatory, then
* pretend we have seen a
* valid packet, so we don't
* turn it off */