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,
* 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;
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