This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
nas-samba [2022/01/26 03:06] – [File sharing]-spelling, condense 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' |
Line 15: | 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: | + | \\ \\ {{: |
- | | + | **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 | + | **Network Interfaces:** In this field, you define |
- | **Network Interfaces**: Defines to which local interface the samba service should be bound. (Default: br0).\\ | + | {{:pasted:20220110-130832.png}} |
- | {{: | + | \\ |
- | **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 | + | * Disabled |
- | * Read Only | + | * Read Only - Users can only open files and browse the storage content |
- | * Read-Write | + | * Read-Write |
- | * Hidden Read-Write. | + | * Hidden Read-Write |
- | 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. | + | \\ |
- | | + | **Options:** Configures your Samba server to perform additional network roles: |
- | | + | |
- | * Hidden Read-Write: This is similar to Read-Write, but allows access to hidden content (for example, files starting with a dot (.) . | + | * Master Browser |
+ | |||
+ | WINS Server | ||
- | | ||
===== 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 that appears |
- | **Directory**: Defines | + | **Directory:** This defines |
- | **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/ |
+ | |||
+ | \\ | ||
+ | |||
+ | \\ | ||