]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:smbd: Fix code spelling
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Thu, 7 Sep 2023 04:09:38 +0000 (16:09 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 11 Sep 2023 02:42:41 +0000 (02:42 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/smbd/posix_acls.c
source3/smbd/smb2_negprot.c
source3/smbd/smb2_trans2.c

index 75f92d469117eea325e1b2e2243cf0c05c3fbfb4..d275bdb908b3e8f63c5fc5f41c35aabb76c2df82 100644 (file)
@@ -2076,7 +2076,7 @@ static bool create_canon_ace_lists(files_struct *fsp,
  ASCII art time again... JRA :-).
 
  We have 4 cases to process when moving from an NT ACL to a POSIX ACL. Firstly,
- we insist the ACL is in canonical form (ie. all DENY entries preceede ALLOW
+ we insist the ACL is in canonical form (ie. all DENY entries precede ALLOW
  entries). Secondly, the merge code has ensured that all duplicate SID entries for
  allow or deny have been merged, so the same SID can only appear once in the deny
  list or once in the allow list.
index 885769be24d53779b20f5dd885656ef9c1de35e5..94aad4eb72b13b24ed52d16ca3843ab1819e3236 100644 (file)
@@ -357,7 +357,7 @@ NTSTATUS smbd_smb2_request_process_negprot(struct smbd_smb2_request *req)
        in_sign_algo = smb2_negotiate_context_find(&in_c,
                                        SMB2_SIGNING_CAPABILITIES);
 
-       /* negprot_spnego() returns the server guid in the first 16 bytes */
+       /* negprot_spnego() returns the server guid in the first 16 bytes */
        negprot_spnego_blob = negprot_spnego(req, xconn);
        if (negprot_spnego_blob.data == NULL) {
                return smbd_smb2_request_error(req, NT_STATUS_NO_MEMORY);
index 3eb4a2de8790f9cc195b74c591405a6f514fb4db..23081a11e43b93443df27841b28ec97ddd1601f1 100644 (file)
@@ -2508,7 +2508,7 @@ cBytesSector=%u, cUnitTotal=%u, cUnitAvail=%d\n", (unsigned int)bsize, (unsigned
                                SBIG_UINT(pdata,32,svfs.TotalFileNodes);
                                SBIG_UINT(pdata,40,svfs.FreeFileNodes);
                                SBIG_UINT(pdata,48,svfs.FsIdentifier);
-                               DEBUG(5,("smbd_do_qfsinfo : SMB_QUERY_POSIX_FS_INFO succsessful\n"));
+                               DEBUG(5,("smbd_do_qfsinfo : SMB_QUERY_POSIX_FS_INFO successful\n"));
 #ifdef EOPNOTSUPP
                        } else if (rc == EOPNOTSUPP) {
                                return NT_STATUS_INVALID_LEVEL;