1. 28 Mar, 2019 1 commit
  2. 03 May, 2018 1 commit
  3. 22 Mar, 2018 2 commits
    • Jamie McClymont's avatar
      selftest: consistently produce high-res UTC time · dd1f8cdf
      Jamie McClymont authored
      Currently some subunit reporters throughout the codebase provide low-res time,
      meaning timestamps jump back and forth in the subunit file. Also, some subunit
      reporters produce UTC timestamps while others produce local time. UTC was chosen
      as the standard for this commit since all of the timestamps end with a Z (= Zulu
      = UTC).
      Signed-off-by: 's avatarJamie McClymont <jamiemcclymont@catalyst.net.nz>
      Reviewed-by: 's avatarAndrew Bartlett <abartlet@samba.org>
      Reviewed-by: 's avatarAndreas Schneider <asn@samba.org>
      
      Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
      Autobuild-Date(master): Thu Mar 22 13:26:44 CET 2018 on sn-devel-144
      dd1f8cdf
    • Jamie McClymont's avatar
      selftest: Clear environment before provision · 3966342a
      Jamie McClymont authored
      Currently, if an environment is being provisioned after a test which used
      ad_member_rfc2307, the provisioning process has all of the following in its
      environment:
      
      {
      	'DC_NETBIOSNAME'               => 'LOCALDC',
      	'DC_PASSWORD'                  => 'locDCpass1',
      	'DC_SERVER_IP'                 => '127.0.0.21',
      	'DC_SERVER_IPV6'               => 'fd00:0000:0000:0000:0000:0000:5357:5f15',
      	'DC_SERVER'                    => 'localdc',
      	'DC_USERNAME'                  => 'Administrator',
      	'DOMAIN'                       => 'SAMBADOMAIN',
      	'LOCAL_PATH'                   => '/.../st/ad_member_rfc2307/share',
      	'LOCK_DIR'                     => '/.../st/ad_member_rfc2307/lockdir',
      	'NETBIOSNAME'                  => 'RFC2307MEMBER',
      	'NMBD_SOCKET_DIR'              => '/.../st/ad_member_rfc2307/nmbd',
      	'NSS_WRAPPER_GROUP'            => '/.../st/ad_member_rfc2307/private/group',
      	'NSS_WRAPPER_HOSTNAME'         => 'rfc2307member.samba.example.com',
      	'NSS_WRAPPER_HOSTS'            => '/.../st/hosts',
      	'NSS_WRAPPER_MODULE_FN_PREFIX' => 'winbind',
      	'NSS_WRAPPER_MODULE_SO_PATH'   => '/.../bin/default/nsswitch/libnss-wrapper-winbind.so',
      	'NSS_WRAPPER_PASSWD'           => '/.../st/ad_member_rfc2307/private/passwd',
      	'PASSWORD'                     => 'loCalMemberPass',
      	'REALM'                        => 'SAMBA.EXAMPLE.COM',
      	'RESOLV_WRAPPER_HOSTS'         => '/.../st/dns_host_file',
      	'SELFTEST_WINBINDD_SOCKET_DIR' => '/.../st/ad_member_rfc2307/winbindd',
      	'SERVER_IP'                    => '127.0.0.34',
      	'SERVER_IPV6'                  => 'fd00:0000:0000:0000:0000:0000:5357:5f22',
      	'SERVER'                       => 'RFC2307MEMBER',
      	'USERID'                       => '55668',
      	'USERNAME'                     => 'jamiemcclymont',
      }
      
      Unsurprisingly, some of these can cause issues for the provisioning process, if
      a reduced subset of tests is being run which causes the provision to encounter
      never-before-seen pairs of adjacent environments.
      
      For example, a run with only
      	TESTS='--include-env=vampire_dc --include-env=ad_member_rfc2307'
      would fail to start up the vampire_dc with:
      	Could not find machine account in secrets database:
      	Failed to fetch machine account password from secrets.ldb:
      	Could not find entry to match filter:
      	'(&(flatname=SAMBADOMAIN)(objectclass=primaryDomain))' base: 'cn=Primary Domains': No such object: dsdb_search at ../source4/dsdb/common/util.c:4641
      Signed-off-by: 's avatarJamie McClymont <jamiemcclymont@catalyst.net.nz>
      Reviewed-by: 's avatarAndrew Bartlett <abartlet@samba.org>
      Reviewed-by: 's avatarAndreas Schneider <asn@samba.org>
      3966342a
  4. 19 Mar, 2018 1 commit
  5. 27 Feb, 2018 1 commit
  6. 24 Feb, 2018 1 commit
  7. 21 Feb, 2018 3 commits
  8. 15 Feb, 2018 1 commit
  9. 29 Dec, 2017 1 commit
  10. 20 Dec, 2017 1 commit
  11. 15 Dec, 2017 1 commit
  12. 05 Sep, 2017 1 commit
  13. 31 Jul, 2017 1 commit
  14. 24 Jul, 2017 1 commit
  15. 30 Jun, 2017 1 commit
  16. 20 Jun, 2017 1 commit
  17. 08 May, 2017 1 commit
  18. 29 Apr, 2017 2 commits
  19. 09 Apr, 2017 1 commit
  20. 14 Feb, 2017 1 commit
  21. 10 Feb, 2017 1 commit
  22. 22 Jan, 2017 1 commit
  23. 10 Jan, 2017 2 commits
  24. 09 Jan, 2017 1 commit
  25. 17 Dec, 2016 2 commits
  26. 02 Dec, 2016 1 commit
  27. 27 Sep, 2016 1 commit
  28. 22 Jul, 2016 1 commit
  29. 04 Jul, 2016 1 commit
  30. 16 Jun, 2016 1 commit
  31. 03 May, 2016 1 commit
  32. 12 Apr, 2016 1 commit
  33. 06 Apr, 2016 2 commits