This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
nas-samba [2022/01/26 03:09] – hogwild | nas-samba [2023/07/01 01:44] – [Samba File Sharing] -undo previous formatting hogwild | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== File sharing ====== | ====== File sharing ====== | ||
- | The File sharing menu allows you to enable and configure Samba filesharing. Samba is a Linux clone/ | + | The File sharing menu allows you to enable and configure Samba filesharing. Samba is a Linux clone/ |
+ | |||
+ | Microsoft' | ||
- | Microsoft' | ||
===== Samba File Sharing ===== | ===== Samba File Sharing ===== | ||
Line 14: | Line 15: | ||
* No | * No | ||
- | * Yes, no Authentication | + | * Yes, (with) |
* Yes Authentication Required | * Yes Authentication Required | ||
+ | |||
+ | \\ | ||
For a basic setup, select //Yes no authentication. //If additional security is needed, it's recommended you select the //Yes, Authentication required// . Doing so will display two additional fields where a single username and password can be entered. | For a basic setup, select //Yes no authentication. //If additional security is needed, it's recommended you select the //Yes, Authentication required// . Doing so will display two additional fields where a single username and password can be entered. | ||
- | \\\\ {{: | + | \\ {{: |
**Samba protocol version**: | **Samba protocol version**: | ||
- | SMBv1 | + | * SMBv1 |
+ | * SMBv2 | ||
+ | * SMBv1 + SMBv2 | ||
- | SMBv2 | + | \\ |
- | SMBv1 + SMBv2 | + | This allows you to select the maximum SMB version supported. It is good practice to enable both SMB1 and SMB2. Imposing a specific version could lead to situations in which client devices aren't running a compatible version and so are not supported. This may generate unwanted log errors, such as the one seen below: |
- | This allows you to select the maximum version of SMB that will be supported. Note that it is good practice to enable both SMB1 and SMB2. Imposing a specific version might seem like a good idea, but in reality could lead to situatilons in which clients support only one version. This may generate unwanted log errors, such as the one in the image below: | + | \\ \\ {{: |
- | \\\\ {{:pasted: | + | **Disable GRO:** GRO (Generic Receive Offload) combines small packets to be sent as a one large packet. This optimizes network utilization, |
- | **Disable GRO**: GRO (Generic Receive Offload) essentially combines together small packets | + | **Workgroup Name:** Here, specify the WORKGROUP name (logical grouping) of PCs for devices |
- | **Workgroup Name**: Here, specify the WORKGROUP name (logical grouping) of PCs for devices | + | **Client Codepage:** DOS and Windows clients use code pages to determine rules for mapping lowercase letters |
- | **Client Codepage**: Code pages are used by DOS and Windows clients to determine rules for mapping lowercase letters to uppercase letters. Undefined by default can be set in case of case sensitivity issue. To check what Codepage your systems are on (in Windows) run '' | + | **Network Interfaces:** In this field, you define |
- | + | ||
- | **Network Interfaces**: Defines | + | |
{{: | {{: | ||
Line 45: | Line 48: | ||
\\ | \\ | ||
- | **Samba Custom Configuration**: Here you can pass user-defined parameters | + | **Samba Custom Configuration:** Here, you can specify |
- | **Auto-share all USB Partitions**: | + | **Auto-share all USB Partitions: |
+ | |||
+ | * Disabled - Automatic sharing will be disabled. | ||
+ | * Read Only - Users can only open files and browse the storage content | ||
+ | * Read-Write - Users have full control on visible content. | ||
+ | * Hidden Read-Write - While similar to Read-Write, this allows access to hidden content (such as files starting with a period). | ||
+ | |||
+ | \\ | ||
- | | + | **Options:** Configures your Samba server to perform additional network roles: |
- | | + | |
- | | + | |
- | | + | |
- | This allows you to configure automatic sharing. As soon as a storage medium is connected to the USB port (with a compatible filesystem) its contents will be shared. | + | * Master Browser - If enabled, participate in the Master Browser election |
- | * Read only: Users can only open files and browse the storage content. | + | WINS Server |
- | * Read-Write: Users have full control | + | |
- | * Hidden Read-Write: This is similar to Read-Write, but allows access to hidden content (for example, files starting | + | |
- | | ||
===== Additional Share List ===== | ===== Additional Share List ===== | ||
- | In this table, you can define custom network shares that map to physical filesystems. | + | In this table, you can define custom network shares that map to physical filesystems. |
- | **Share name**: This is the share name appearing | + | **Share name**: This is the share name which appears |
- | **Directory**: | + | **Directory**: |
**Description**: | **Description**: |