1. 06 Oct, 2021 2 commits
  2. 05 Oct, 2021 3 commits
  3. 30 Aug, 2021 1 commit
  4. 26 Aug, 2021 1 commit
  5. 24 Aug, 2021 1 commit
    • bugclerk's avatar
      NAS-111997 / 21.08-BETA.1 / Properly retrieve registry config and ACLs in SMB... · 6ced4565
      bugclerk authored
      NAS-111997 / 21.08-BETA.1 / Properly retrieve registry config and ACLs in SMB debug (by anodos325) (#7401)
      
      * Properly retrieve registry config and ACLs in SMB debug
      
      `getfacl` is not ACLtype-agnostic. Parse sharing.smb.query output
      and use `filesystem.getacl` to retrieve share ACL.
      
      (cherry picked from commit be3721622f5c27d3e51abe4b1324ba48430679e6)
      
      * use smb.groupmap_list to list group mapping file
      
      Returns empty list if LDAP enabled.
      
      (cherry picked from commit 689b7749aa7546cd3cbc32bbd7b5d2e60fe83ea0)
      
      * Bypass smb.groupmap_list if not using tdbsam passdb backend
      
      (cherry picked from commit 90d0f08d8d0030f67cacf3f7281cbf3460901882)
      Co-authored-by: default avatarAndrew Walker <awalker@ixsystems.com>
      6ced4565
  6. 20 Aug, 2021 4 commits
  7. 19 Aug, 2021 1 commit
  8. 18 Aug, 2021 1 commit
  9. 16 Aug, 2021 5 commits
    • Andrew's avatar
      Improve share enumeration test (#7334) · 1a736d3a
      Andrew authored
      There are behavior nuances related to when we grant IPC$ access
      for share enumeration. Update test to account for these so that
      we have more complete coverage of this feature.
      1a736d3a
    • Andrew's avatar
      NAS-111854 / 21.08 / Expand blacklist of SMB auxiliary parameters (#7337) · 549a4988
      Andrew authored
      Since we are now using registry backend for global parameters
      we need to disallow "lock directory" and "config backend"
      parameters as auxiliary parameters. If we don't, then
      attempts to set GLOBAL section will fail with
      SBC_ERR_INVALID_PARAM.
      
      Rules are in smbconf_reg_parameter_is_valid() in
      source3/lib/smbconf/smbconf_reg.c
      549a4988
    • Waqar Ahmed's avatar
      Make sure we freeup unused pages in sqlite · 6bdf42b9
      Waqar Ahmed authored
      This commit adds changes to make sure that we force sqlite3 to give up space which has accumulated over time by deletions of entries. What sqlite3 does is that each data which is removed from the database, sqlite3 does not use the space consumed by that payload and instead moves it to it's list of free pages and whenever more data is added it uses these free pages first and then asks for more space. However with time these free pages can consume lots of space like for a user his db size was 15 mb approx and after vacumming it got to 706K. This change uses vacuum functionality of sqlite3 to make sure that we remove such free unused pages which are in hold by sqlite3.
      6bdf42b9
    • Waqar Ahmed's avatar
      Make sure we start nfs when user requests it · 445683b6
      Waqar Ahmed authored
      Right now if no nfs shares are configured and if user attempts to start NFS, it does not start as the configuration file is missing for ganesha. This leads to violation of POLA where consumer adding shares later thinks/assumes that NFS would be running but that's not the case and it needs to be started again after configuring a share.
      445683b6
    • Andrew's avatar
      Add POSIX_HOME ACL preset (#7188) · d63c256b
      Andrew authored
      d63c256b
  10. 14 Aug, 2021 3 commits
    • Andrew's avatar
      Fix typo in smb.py (#7335) · 3fdcee9a
      Andrew authored
      3fdcee9a
    • Andrew's avatar
      Enfore global configuration reload on share guest access change (#7333) · c9104abb
      Andrew authored
      Changes to share guest access require alteration of global SMB
      server configuration. Specifically, we need to ensure that
      "map to guest" is always set to "Bad User" in this case. This
      parameter is generally set to "Never" because modern windows
      versions will deny access to SMB share if user it received does
      not match one that it requested, which has the effect of causing
      unexpected denial of access to the SMB server in general as this
      also applies to the server's IPC$ share.
      
      This change fixes this behavior in SCALE, where the transition
      to using the registry for storing SMB configuration details
      caused a regression. The specific change is to expand the
      situations where sharing.smb.create and sharing.smb.update
      will re-initialize the global SMB parameters and restart the
      SMB server. The server restart in this situation is required
      because the settings may impact desired access to existing shares.
      c9104abb
    • Andrew's avatar
      Fix typo in _strip_acl_posix1e call (#7332) · b3d29124
      Andrew authored
      b3d29124
  11. 13 Aug, 2021 5 commits
  12. 12 Aug, 2021 11 commits
  13. 11 Aug, 2021 2 commits