This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
nas-samba [2023/04/26 18:05] – [Samba File Sharing] -format-bulleted options, clarity hogwild | nas-samba [2023/07/01 01:48] (current) – [Additional Share List] -grammar, 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 16: | Line 17: | ||
* Yes, (with) no Authentication | * Yes, (with) no Authentication | ||
* 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**: | ||
Line 27: | Line 30: | ||
* SMBv1 + SMBv2 | * SMBv1 + SMBv2 | ||
- | This allows you to select the maximum SMB version | + | \\ |
+ | |||
+ | 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: | ||
\\ \\ {{: | \\ \\ {{: | ||
- | **Disable GRO**: GRO (Generic Receive Offload) | + | **Disable GRO:** GRO (Generic Receive Offload) combines small packets to be sent as a one large packet. This optimizes network utilization, |
- | **Workgroup Name**: Here, specify the WORKGROUP name (logical grouping) of PCs for devices to be displayed/ | + | **Workgroup Name:** Here, specify the WORKGROUP name (logical grouping) of PCs for devices to be displayed/ |
- | **Client Codepage**: DOS and Windows clients use Code pages to determine rules for mapping lowercase letters to uppercase letters. Undefined by default can be set in scenarios where case sensitivity is an issue. To check what Codepage your systems are on (in Windows) | + | **Client Codepage:** DOS and Windows clients use code pages to determine rules for mapping lowercase letters to uppercase letters. Undefined, by default, can be set in scenarios where case sensitivity is an issue. To check what Windows |
- | **Network Interfaces**: Defines | + | **Network Interfaces:** In this field, you define |
{{: | {{: | ||
Line 43: | Line 48: | ||
\\ | \\ | ||
- | **Samba Custom Configuration**: Here, you can specify user-defined parameters for the samba process (configured in the smb.conf file). | + | **Samba Custom Configuration:** Here, you can specify user-defined parameters for the samba process (configured in the smb.conf file). |
- | **Auto-share all USB Partitions**: | + | **Auto-share all USB Partitions: |
- | This allows you to configure automatic | + | * Disabled - Automatic |
+ | * Read Only - Users can only open files and browse the storage | ||
+ | * Read-Write - Users have full control on visible content. | ||
+ | * Hidden Read-Write - While similar | ||
- | * 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. This is similar to Read-Write, but allows access to hidden content (for example, files starting with a dot (.) . | + | |
- | **Options**: Configures your Samba server to perform additional network roles: | + | **Options:** Configures your Samba server to perform additional network roles: |
- | * Master Browser: If enabled, participate in the Master Browser election (when WINS is not available/ | + | * Master Browser |
- | | + | |
+ | WINS Server | ||
===== Additional Share List ===== | ===== Additional Share List ===== | ||
- | In this table, you can define custom network shares that map to physical filesystems. These may overlap, or possibly | + | In this table, you can define custom network shares that map to physical filesystems. These may overlap, or even conflict with the // |
- | **Share name**: This is the share name which appears under the [[\\WORKGROUP\$routerhostname]]. | + | **Share name:** This is the share name that appears under the [[\\WORKGROUP\$routerhostname]]. |
- | **Directory**: This defines where the share maps in the real filesystem. | + | **Directory:** This defines where the share maps in the real filesystem. |
- | **Description**: This is for description only, and appears when browsing the network. It has no functional role other than naming the share. | + | **Description:** This is for description only, and appears when browsing the network. It has no functional role other than naming the share. |
- | **Access Level**: This is the network level access rights | + | **Access Level:** This specifies |
* Read Only | * Read Only | ||
* Read-Write | * Read-Write | ||
+ | |||
+ | \\ | ||
Do not confuse this setting with the filesystem rights. Total security is determined by executing a logical AND operator on the Access Level rights and the filesystem rights. | Do not confuse this setting with the filesystem rights. Total security is determined by executing a logical AND operator on the Access Level rights and the filesystem rights. | ||
- | **Hidden**: A hidden share will not be visible when browsing the network, but will still be available/ | + | **Hidden:** A hidden share is not visible when browsing the network, but will still be available/ |
+ | |||
+ | \\ | ||
+ | |||
+ | \\ | ||