s3:smbd: Fix code spelling
authorJo Sutton <josutton@catalyst.net.nz>
Tue, 9 Jan 2024 23:25:25 +0000 (12:25 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 8 Feb 2024 02:48:44 +0000 (02:48 +0000)
Signed-off-by: Jo Sutton <josutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/smbd/msdfs.c
source3/smbd/smb2_ioctl_network_fs.c

index 4a322d129c65a793762e0e6910f13e154195589e..d8361fb8060c917d740e8d0c760a5e71dedea4ec 100644 (file)
@@ -333,7 +333,7 @@ static int conn_struct_tos_destructor(struct conn_struct_tos *c)
  SMB_VFS_CONNECT requires root privileges.
  This temporary uses become_root() and unbecome_root().
 
- But further impersonation has to be cone by the caller.
+ But further impersonation has to be done by the caller.
 *********************************************************/
 NTSTATUS create_conn_struct_tos(struct messaging_context *msg,
                                int snum,
index bcfa37fdf978e45440394bc7c3d0d46f8ef12777..91933efed62553b3d986453122449d08f3797a52 100644 (file)
@@ -185,7 +185,7 @@ static NTSTATUS fsctl_srv_copychunk_loop(struct tevent_req *req)
         * Windows).
         *
         * Or it can be a special macOS copyfile request, so we send this into
-        * the VFS, vfs_fruit if loaded implements the macOS copyile semantics.
+        * the VFS, vfs_fruit if loaded implements the macOS copyfile semantics.
         */
        if (state->cc_copy.chunk_count > 0) {
                struct srv_copychunk *chunk = NULL;
@@ -551,7 +551,7 @@ static NTSTATUS fsctl_validate_neg_info(TALLOC_CTX *mem_ctx,
        if (lp_server_max_protocol() <= PROTOCOL_SMB2_02) {
                /*
                 * With SMB 2.02 we didn't get the
-                * capabitities, client guid, security mode
+                * capabilities, client guid, security mode
                 * and dialects the client would have offered.
                 *
                 * So we behave compatible with a true