1. 21 Feb, 2019 1 commit
  2. 05 Feb, 2019 1 commit
  3. 13 Dec, 2018 2 commits
  4. 07 Nov, 2018 1 commit
  5. 06 Nov, 2018 1 commit
  6. 05 Nov, 2018 2 commits
  7. 04 Sep, 2018 1 commit
  8. 23 Aug, 2018 1 commit
  9. 13 Aug, 2018 1 commit
  10. 10 Jul, 2018 1 commit
    • Tim Beale's avatar
      selftest: Add a 'LABDC' testenv to mimic a preproduction test-bed · 7b70637e
      Tim Beale authored
      One of the use-cases for the domain rename tool is to produce a lab
      domain that can be used for pre-production testing of Samba.
      Basically this involves taking a backup rename with --no-secrets (which
      scrubs any sensitive info), and then restoring it.
      
      This patch adds a testenv that mimics how a user would go about creating
      a lab-domain. We run the same tests that we run against the restore and
      rename testenvs.
      
      Note that the rpc.echo tests for the testallowed and testdenied users
      fail, because we don't backup the secrets for these users. So these
      tests failing proves that the lab-DC testenv is correct.
      Signed-off-by: default avatarTim Beale <timbeale@catalyst.net.nz>
      Reviewed-by: default avatarGary Lockyer <gary@catalyst.net.nz>
      Reviewed-by: default avatarAndrew Bartlett <abartlet@samba.org>
      7b70637e
  11. 05 Jul, 2018 1 commit
  12. 04 Jul, 2018 2 commits
  13. 03 Jul, 2018 1 commit
    • Tim Beale's avatar
      selftest: Add testenv for testing backup/restore · ccba77a9
      Tim Beale authored
      This adds a new testenv for testing that a DC created using the
      samba-tool backup/restore can actually be started up. This actually
      requires 2 new testenvs:
      
      1. A 'backupfromdc' that solely exists to make a online backup of.
      2. A 'restoredc' which takes the backup, and then uses the backup file
      to do a restore, which we then start the DC based on.
      
      The backupfromdc is just a plain vanilla AD DC. We use a separate test
      env purely for this purpose, because the restoredc will use the same
      domain (and so using an existing testenv would potentially interfere
      with existing test cases).
      Signed-off-by: default avatarTim Beale <timbeale@catalyst.net.nz>
      Reviewed-by: default avatarAndrew Bartlett <abartlet@samba.org>
      Reviewed-by: default avatarGary Lockyer <gary@catalyst.net.nz>
      ccba77a9
  14. 28 Jun, 2018 1 commit
  15. 09 Jun, 2018 2 commits
  16. 30 May, 2018 1 commit
  17. 25 May, 2018 1 commit
  18. 23 May, 2018 1 commit
  19. 11 May, 2018 2 commits
  20. 23 Apr, 2018 1 commit
  21. 12 Apr, 2018 1 commit
  22. 22 Mar, 2018 1 commit
  23. 19 Mar, 2018 3 commits
  24. 16 Mar, 2018 2 commits
  25. 21 Feb, 2018 2 commits
  26. 03 Feb, 2018 1 commit
    • Ralph Boehme's avatar
      s3/smbd: fix handling of delete-on-close on directories · 84f07a8d
      Ralph Boehme authored
      This implements a check to test the delete-on-close flag of a directory
      for requests to create files in this directory.
      
      Windows server implement this check, Samba doesn't as it has performance
      implications.
      
      This commit implements the check and a new option to control it. By
      default the check is skipped, setting "check parent directory delete on
      close = yes" enables it.
      Signed-off-by: default avatarRalph Boehme <slow@samba.org>
      Reviewed-by: default avatarJeremy Allison <jra@samba.org>
      
      Autobuild-User(master): Ralph Böhme <slow@samba.org>
      Autobuild-Date(master): Sat Feb  3 23:42:16 CET 2018 on sn-devel-144
      84f07a8d
  27. 16 Jan, 2018 1 commit
  28. 13 Jan, 2018 1 commit
  29. 10 Jan, 2018 3 commits