This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
nas-samba [2022/01/10 13:47] – rs232 | nas-samba [2023/07/01 01:44] – [Samba File Sharing] -format hogwild | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== File sharing ===== | + | ====== File sharing |
- | The File Sharing page actually refers to Samba file sharing | + | The File sharing |
+ | Microsoft' | ||
- | {{: | ||
- | **Enable File Sharing**: No/Yes, no Authentication/ | ||
- | {{: | ||
- | **Samba protocol version**: SMBv1/ | ||
- | **Disable GRO**: GRO stands for Generic Receive Offload it essentially gather together small packets to be then sent as a single large packet. This optimises the network utilisation but involves and extra (sometime unwanted) Reassembly function. The option is enabled by default and essentially disables this feature. This is suggested unless you have specific requirements.\\ | ||
- | **Workgroup Name**: Specify the WORKGROUP name (logical division) where devices are displayed/ | ||
- | **Client Codepage**: These 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 verify on what Codepage your systems are (on Windows) run '' | ||
- | \\ | ||
- | **Network Interfaces**: | ||
- | {{: | + | ===== Samba File Sharing ===== |
- | **Samba Custom Configuration**: Is where you can pass user defined parameters | + | |
- | **Auto-share all USB Partitions**: Disabled/ | + | \\ |
- | Read only: can only open files and browse the storage content.\\ | + | |
- | Read-Write: has full control on visible content.\\ | + | {{: |
- | Hidden Read-Write: Same as above but access to hidden content | + | |
- | **Options**: Instruct | + | |
- | Master Browser: If enable it participate in the Master Browser election (when WINS is not available/ | + | |
- | WINS Server: Perform the role of Wins Server | + | * No |
+ | * Yes, (with) no Authentication | ||
+ | * 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. | ||
+ | |||
+ | \\ {{: | ||
+ | |||
+ | **Samba protocol version**: | ||
+ | |||
+ | * SMBv1 | ||
+ | * 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: | ||
+ | |||
+ | \\ \\ {{: | ||
+ | |||
+ | **Disable GRO: | ||
+ | |||
+ | **Workgroup Name: | ||
+ | |||
+ | **Client Codepage: | ||
+ | |||
+ | **Network Interfaces: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | \\ | ||
+ | |||
+ | **Samba Custom Configuration:** Here, you can specify | ||
+ | |||
+ | **Auto-share all USB Partitions: | ||
+ | |||
+ | * Disabled - Automatic sharing will be disabled. | ||
+ | * Read Only - Users can only open files and browse the storage content | ||
+ | | ||
+ | | ||
+ | |||
+ | \\ | ||
+ | |||
+ | **Options:** Configures | ||
+ | |||
+ | * Master Browser | ||
+ | |||
+ | WINS Server | ||
+ | |||
+ | \\ | ||
+ | |||
+ | |||
+ | ===== Additional Share List ===== | ||
+ | |||
+ | In this table, you can define custom network shares that map to physical filesystems. These may overlap, or possibly conflict with the // | ||
+ | |||
+ | **Share name**: This is the share name which appears under the [[\\WORKGROUP\$routerhostname]]. | ||
+ | |||
+ | **Directory**: | ||
+ | |||
+ | **Description**: | ||
+ | |||
+ | **Access Level**: This is the network level access rights | ||
+ | |||
+ | * Read Only | ||
+ | * 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. | ||
+ | |||
+ | **Hidden**: A hidden share will not be visible when browsing the network, but will still be available/ | ||
- | {{: | ||
- | Additional Share List is where you define custom network shares mapping to physical filesystem. Remember this somehow would overlap with the Auto-share all Partition described above.\\ | ||
- | **Share name**: This is the share name appearing under the \\WORKGROUP\$routerhostname.\\ | ||
- | **Directory**: | ||
- | **Description**: | ||
- | **Access Level**: This is the network level access right (Read Only / Read-Write). You must not confuse this with the filesystem rights, the two interact in a logical AND way (e.g. write on the filesystem AND write on the share is needed).\\ | ||
- | **Hidden**: Yes/No - If a share is hidden it will not be visible browsing the network but it will be available/ |