Skip to content

Commit 2cd3ae6

Browse files
authored
Merge branch 'master' into PD-1257-backup-to-google-photos-must-select-albums-as-destination-folder
2 parents fa084e3 + 4c201da commit 2cd3ae6

File tree

6 files changed

+56
-27
lines changed

6 files changed

+56
-27
lines changed

content/SCALE/SCALETutorials/Shares/SMB/AddSMBHomeShare.md

+35-6
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,27 @@ tags:
77
- smb
88
---
99

10+
{{< hint type=important title="Legacy Feature" >}}
11+
SMB Home Shares are a legacy feature for organizations looking to maintain existing SMB configurations.
12+
They are not recommended for new deployments.
13+
14+
Future TrueNAS SCALE releases can introduce instability or require configuration changes affecting this legacy feature.
15+
{{< /hint >}}
16+
1017
## Setting Up SMB Home Shares
11-
TrueNAS offers the **Use as Home Share** option, found in the **Add SMB** and **Edit SMB** screen **Advanced Options** settings in the **Other Options** section, for organizations or SMEs that want to use a single SMB share to provide a personal directory to every user account.
18+
The **Use as Home Share** option, found in the **Add SMB** and **Edit SMB** screen **Advanced Options** settings in the **Other Options** section, is an available option for organizations or SMEs that want to use a single SMB share to provide a personal directory to every user account.
1219

1320
With home shares, each user is given a personal home directory when connecting to the share.
1421
These home directories are not accessible by other users.
1522
You can use only one share as the home share, but you can create as many non-home shares as you need or want.
1623

17-
Creating an SMB home share requires configuring the system storage and joining Active Directory.
24+
<!-- Place holders for future tutorials/links below. Update with links to appropriate procedures as part of PD-1252 -->
25+
Other options for configuring individual user directories include:
26+
* Configure a single share on the TrueNAS and provision individual user directories on the client OS.
27+
* Create a single SMB share and configure the ACL so that users can create individual directories on the share that inherit write access for the user and grant read access the administrator.
28+
* Create an SMB share using the **Private SMB datasets and shares** preset that can create per-user datasets under the umbrella of a single share when users access the share.
29+
30+
Creating an SMB home share requires configuring the system storage and provisioning local users or joining Active Directory.
1831

1932
### Adding Local Share Users
2033
Go to **Credentials > Local Users** and click **Add**.
@@ -26,7 +39,23 @@ By default, the user **Home Directory** title comes from the user account name a
2639

2740
If existing users require access to the home share, go to **Credentials > Local Users** and edit an existing account.
2841

29-
Adjust the user home directory to the appropriate dataset and give it a name to create their own directory.
42+
Adjust the user home directory to the appropriate dataset and give it a name to create its own directory.
43+
44+
{{< hint type="important" title="Home Directory Known Impacts" >}}
45+
{{< include file="/static/includes/24.04HomeDirectory.md" >}}
46+
47+
{{< expand "Why the change?" "v" >}}
48+
TrueNAS uses the `pam_mkhomdir` PAM module in the pam_open_session configuration file to automatically create user home directories if they do not exist.
49+
`pam_mkhomedir` returns `PAM_PERM_DENIED` if it fails to create a home directory for a user, which eventually turns into a pam_open_session() failure.
50+
This does not impact other PAM API calls, for example, `pam_authenticate()`.
51+
52+
TrueNAS SCALE does not include the customized version of `pam_mkhomedir` used in TrueNAS CORE that specifically avoided trying to create the `/nonexistent` directory. This led to some circumstances where users could create the `/nonexistent` directory on SCALE versions before 24.04.
53+
54+
Starting in SCALE 24.04 (Dragonfish), the root filesystem of TrueNAS is read-only, which prevents `pam_mkhomdir` from creating the `/nonexistent` directory in cases where it previously did.
55+
This results in a permissions error if `pam_open_session()` is called by an application for a user account that has **Home Directory** set to **/nonexistent**.
56+
{{< /expand >}}
57+
{{< /hint >}}
58+
3059

3160
### Adding Share Users with Directory Services
3261

@@ -62,17 +91,17 @@ Set the **Purpose** to **No presets**, then click **Advanced Options**.
6291
Scroll down to **Other Options** and set **Use as Home Share**.
6392
Click **Save**.
6493

65-
Enable the **SMB** service when prompted to make the share is available on your network.
94+
Enable the **SMB** service when prompted to make the share available on your network.
6695

6796
After saving the dataset, set the permissions.
6897

6998
### Setting Dataset Permissions
70-
After creating the share and dataset, you can edit permissions using either the **Edit** option on the **Permissions** widget for the dataset, or use the **Edit Filesystem ACL** option for the share on the **Windows (SMB) Share** widget to open the ACL edit screen for the share dataset.
99+
After creating the share and dataset, you can edit permissions using either the **Edit** option on the **Permissions** widget for the dataset or use the **Edit Filesystem ACL** option for the share on the **Windows (SMB) Share** widget to open the ACL edit screen for the share dataset.
71100
See [SMB Shares]({{< relref "ManageSMBShares.md" >}}) for more information on editing the share dataset permissions.
72101

73102
Click on the new dataset. Scroll down to the **Permissions** widget and click **Edit**.
74103

75-
Click the **Owner** dropdown and select the owner, the repeat for **Group**.
104+
Click the **Owner** dropdown and select the owner, then repeat for **Group**.
76105
Change the owning group to your Active Directory domain admins. Select **Apply Owner** and **Apply Group**.
77106

78107
![GroupDomainAdminsSCALE](/images/SCALE/Datasets/GroupDomainAdmins.png "Set the owning group to Domain Admins")

content/SCALE/SCALETutorials/SystemSettings/Services/FTPServiceSCALE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Go to **Storage** to add a new [dataset]({{< relref "DatasetsSCALE.md" >}}) to u
3030
Next, add a new user. Go to **Credentials > Local Users** and click **Add** to create a local user on the TrueNAS.
3131

3232
Assign a user name and password, and link the newly created FTP dataset as the user home directory.
33-
You can do this for every user or create a global account for FTP (for example, *OurOrgFTPaccnt*).
33+
You can do this for every user or create a global account for FTP (for example, *OurOrgFTPaccnt*). Note, however, that you cannot create multiple accounts utilizing the same dataset as your home directory.
3434

3535
Edit the file permissions for the new dataset. Go to **Datasets**, then click on the name of the new dataset. Scroll down to **Permissions** and click **Edit**.
3636

content/TrueCommand/AdminGuide/Admin/SAML/SAMLGA.md

+12-10
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,13 @@ After you configure SAML in Google Admin, you configure and start the TrueComman
5555

5656
{{< trueimage src="/images/SAML/GAAddServiceProviderDetailsCropped.png" alt="GA Add Service Provider Details Cropped" id="GA Add Service Provider Details Cropped" >}}
5757

58-
a. Enter the TrueCommand login URL http://*IP:PORT*/saml/acs in the **ACS Url** field.
59-
*IP:PORT* is your TrueCommand system IP and port address.
58+
a. Enter the TrueCommand login URL `https://*IP:PORT*/saml/acs` in the **ACS Url** field.
59+
*IP:PORT* is your TrueCommand system IP with HTTPS port.
6060

6161
b. Type any name you want into the **Entity ID** field (ex. truecommand-saml).
6262

63-
c. Type the https://*IP:PORT*/saml/helloURL into the **Start URL** field.
64-
*IP:PORT* is your TrueCommand system IP and port address.
63+
c. Type the `https://*IP:PORT*/saml/hello` into the **Start URL** field.
64+
*IP:PORT* is your TrueCommand system IP with HTTPS port.
6565

6666
d. Set **Name ID** format to **PERSISTENT**.
6767

@@ -79,16 +79,18 @@ After you configure SAML in Google Admin, you configure and start the TrueComman
7979
{{< truetable >}}
8080
| Parameter | Value |
8181
|-----------|-------|
82-
| E-Mail-Addresses | email |
83-
| Display-Name | given_name |
84-
| User-Principal-Name | unique_name |
85-
| Telephone-Number | telephoneNumber |
82+
| Primary email | email |
83+
| First name | given_name |
84+
| Employee ID | unique_name |
85+
| Phone number | telephone_number |
8686
| Title | title |
8787
{{< /truetable >}}
88+
89+
Adjust the parameters according to your own organization, where `unique_name` corresponds to the TrueCommand `username` and is the only required attribute. `Primary email` might be desired instead of and if an `Employee ID` is not available.
8890
8991
h. Click **FINISH**.
9092

91-
5. Verify the information is correct.
93+
5. Verify the information is correct.
9294
Select **TEST SAML LOGIN** in the **tcsaml** area on the left side of the screen to open the **TrueCommand SAML Test** screen.
9395

9496
{{< trueimage src="/images/SAML/GAAddCustomSAMLAppTrueCommandSAMLTestCropped.png" alt="GA Add Custom SAML App TrueCommand SAML Test Cropped" id="GA Add Custom SAML App TrueCommand SAML Test Cropped" >}}
@@ -101,7 +103,7 @@ After you configure SAML in Google Admin, you configure and start the TrueComman
101103

102104
b. Click **DOWNLOAD METADATA** again. When complete, click **CLOSE**.
103105

104-
7. Verify user access details.
106+
7. Verify user access details.
105107

106108
a. Click **View Details** under **User access** to display the **Service status** details.
107109

data/properties/scale-downloads.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ majorVersions:
7373
majorVersion: "24.04 (Dragonfish)"
7474
releaseName: "Dragonfish"
7575
releases:
76+
- name: "24.04.2"
77+
link: "https://download.truenas.com/TrueNAS-SCALE-Dragonfish/24.04.2/"
78+
date: "2024-07-09"
7679
- name: "24.04.1.1"
7780
link: "https://download.truenas.com/TrueNAS-SCALE-Dragonfish/24.04.1.1/"
7881
date: "2024-05-29"

data/properties/scale-releases.yaml

+3-8
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,11 @@ majorVersions:
1717
name: "TrueNAS SCALE 24.04 - Dragonfish"
1818
releaseName: "Dragonfish"
1919
releases:
20-
- name: "24.04.1.1"
21-
type: "Maintenance"
22-
link: "https://www.truenas.com/docs/scale/24.04/gettingstarted/scalereleasenotes/#240411-changelog"
23-
releaseDate: "2024-05-29"
24-
latest: true
2520
- name: "24.04.2"
2621
type: "Maintenance"
27-
link: ""
28-
releaseDate: "2024-07-06"
29-
latest: false
22+
link: "https://www.truenas.com/docs/scale/24.04/gettingstarted/scalereleasenotes/#24042-changelog"
23+
releaseDate: "2024-07-09"
24+
latest: true
3025

3126
- lifecycle: "Next"
3227
name: "TrueNAS SCALE 24.10 - Electric Eel"

static/includes/SCALEUpgradePaths.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
B["CORE 13.0-U6.1"] -->|ISO install| E
1616
C["22.12.4.2 (Bluefin)"] -->|update| D
1717
D["23.10.2 (Cobia)"] -->|update| E
18-
E["24.04.1.1 (Dragonfish)"]
18+
E["24.04.2 (Dragonfish)"]
1919
{{< /mermaid >}}
2020
</div>
2121
<div class="upgrade-paths-container">
@@ -25,7 +25,7 @@
2525
A["CORE 13.0-U6.1"] -->|ISO install| D
2626
B["Current 23.10 (Cobia) release"] -->|update| C
2727
C["23.10.2 (Cobia)"] -->|update| D
28-
D["24.04.1.1 (Dragonfish)"]
28+
D["24.04.2 (Dragonfish)"]
2929
{{< /mermaid >}}
3030
</div>
3131
</div>

0 commit comments

Comments
 (0)