1. 01 Dec, 2023 2 commits
  2. 30 Nov, 2023 4 commits
    • Andrew Walker's avatar
      Raise exceptions if SMB not configured (#12609) · ae11a6da
      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.
      ae11a6da
    • Andrew Walker's avatar
      NAS-125469 / 24.04 / Ensure that gid 65534 resolves to nogroup (#12605) · 48073fff
      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.
      48073fff
    • Caleb St. John's avatar
      NAS-125261 / 24.04 / add tests for enclosure2.query (#12606) · df4f59bc
      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
      df4f59bc
    • mgrimesix's avatar
      NAS-125466 / 24.04 / Add CI test for nobody group (#12603) · d62f79bc
      mgrimesix authored
      * Add CI test for nobody group
      * Update test_020_account to accommodate nobody group.
      d62f79bc
  3. 29 Nov, 2023 7 commits
  4. 28 Nov, 2023 9 commits
  5. 27 Nov, 2023 4 commits
  6. 23 Nov, 2023 2 commits
    • Andrew Walker's avatar
      Add validation for SMB share name (#12564) · adbb4e5d
      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
      adbb4e5d
    • Andrew Walker's avatar
      Expand tests for filesystem.mkdir (#12565) · 6778b775
      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.
      6778b775
  7. 22 Nov, 2023 4 commits
  8. 21 Nov, 2023 7 commits
  9. 20 Nov, 2023 1 commit