- 01 Dec, 2023 2 commits
-
-
Andrew Walker authored
The zectl command on failure conditions will print to stderr rather than stdout. This means we were losing information about errors on bootenv operations.
-
Andrew Walker authored
We should allow dashes in netbios names.
-
- 30 Nov, 2023 4 commits
-
-
Andrew Walker authored
We should not proceed with passdb and groupmap synchronization if SMB has not been properly configured. Passdb interaction in a broken state can lead to SMB_ASSERT() in pdbedit and other tools due to global sam sid failing to initialize (possibly due to missing path components). In case of creating user / group this should raise ValidationError. NOTE: these exceptions will not be user-facing unless in very unusual circumstances (like broken system dataset configuration) and so their primary purpose is to focus developer attention on root cause.
-
Andrew Walker authored
Adding some FreeBSD compatibility with regard to group name nobody caused behavior change where 65534 resolved to the FreeBSD group nobody rather than the Linux group nogroup.
-
Caleb St. John authored
* call self.map_nvme instead of map_nvme directly * add ses_enclosures2.py * add test_enclosure2_query.py * add R40-NOJBODS test case * add M60-WITH-12-ES102 test case * add F60-NOJBODS test case * add MINI3-XLP test case * fix MINI3-XLP test case * fix F60-NOJBODS test case
-
mgrimesix authored
* Add CI test for nobody group * Update test_020_account to accommodate nobody group.
-
- 29 Nov, 2023 7 commits
-
-
Andrew Walker authored
Typo during fix of several methods related to idmap bulk operations caused regression in middleware AD authentication. This commit fixes regression and adds coverage for private idmap endpoints that do bulk conversion of SIDS to Unix IDs.
-
themylogin authored
-
Andrew Walker authored
-
Caleb St. John authored
-
bmeagherix authored
-
Andrew Walker authored
Add configurable option (defaulting to True) to resolve uids to usernames in smbstatus output.
-
Andrew Walker authored
This endpoint was requested by webui team to facilitate simpler share configuration and have validation that is more restrictive than our normal validation (in that it requires local SMB user to exist if AD isn't configured).
-
- 28 Nov, 2023 9 commits
-
-
Andrew Walker authored
This test validates that our filter for special audit messages is not letting things through to /var/log/messages and /var/log/syslog.
-
themylogin authored
-
M. Rehan authored
-
Andrew Walker authored
Adding middlewared service exposed a flaw in the etc file generation for our syslog filters (the filters here should have been or rather than implicit and).
-
bmeagherix authored
-
Andrew Walker authored
Webui team requested ability to also specify NFS share_type. At present it is identical to multiprotocol share. This PR also fixes a longstanding issue with using share_type preset to create a child of an existing NFSv4 dataset that has an ACL already set. In this edge-case we will now generate an inherited ACL based on the parent dataset's ACL (with a few modifications) rather than applying a default to it.
-
themylogin authored
-
themylogin authored
-
themylogin authored
-
- 27 Nov, 2023 4 commits
-
-
Andrew Walker authored
-
M. Rehan authored
-
themylogin authored
* Basic audit support * Use syslog for audit log * Add method params to audit * Address review
-
Evgeny Stepanovych authored
-
- 23 Nov, 2023 2 commits
-
-
Andrew Walker authored
TrueNAS SMB share name validation allowed invalid characters, which resulted in share that was created being rejected by libsmbconf. This commit validates that share name minimally meets requirements from MS-FSCC 2.1.6 ``` * A share name MUST be no more than 80 characters in length. * The following characters are illegal in a share name: " \ / [ ] : | < > + = ; , * ? * Control characters in range 0x00 through 0x1F, inclusive, are illegal in a share name. * All other Unicode characters are legal. ``` Extended requirements for TrueNAS are as follows: * the % (percent) character is also illegal * all unicode control characters are prohibited
-
Andrew Walker authored
This commit fixes some broken filesystem tests and also expands testing for filesystem.mkdir endpoint so that behavior of raise_chmod_error is validated.
-
- 22 Nov, 2023 4 commits
-
-
bmeagherix authored
-
Andrew Walker authored
This simplifies cluster cleanup for the TrueCommand team for the highly unusual case where a user has deployed a TrueNAS cluster and wants to rip out the clustering configuration without a full server OS reinstall or rolling back from snapshot. Such a situation may occur as part of CI pipelines where clustering is repeatedly configured and torn down without server reinstall.
-
Caleb St. John authored
-
Caleb St. John authored
-
- 21 Nov, 2023 7 commits
-
-
Caleb St. John authored
-
Andrew Walker authored
This shifts some tests from REST to websocket calls (general incremental improvements to our testing), adds ability to use new options in our `directory` test asset, and allows creating .ssh directory for root and admin users (which are not under /mnt).
-
themylogin authored
-
themylogin authored
-
Andrew Walker authored
This allows our apps framework to specify FULL_CONTROL for POSIX ACL. We can't _actually_ give FULL_CONTROL to a user or group under POSIX1E ACLs (only owner will be able to chown / chmod), but this makes error handling easier in the apps framework.
-
themylogin authored
-
themylogin authored
-
- 20 Nov, 2023 1 commit
-
-
M. Rehan authored
-