[SCM] Samba Shared Repository - branch master updated

2021-09-23 Thread Andrew Bartlett
The branch, master has been updated
   via  5b331443d06 tests/krb5: Add classes for testing invalid checksums
   via  c0b81f0dd54 tests/krb5: Add method to determine if principal is 
krbtgt
   via  ea7b550a500 tests/krb5: Verify checksums of tickets obtained from 
the KDC
   via  1458cd9065d tests/krb5: Add get_rodc_krbtgt_creds() to 
RawKerberosTest
   via  394e8db261b tests/krb5: Simplify account creation
   via  f2f1f3a1e92 tests/krb5: Provide ticket enc-part key to tgs_req()
   via  f9284d8517e tests/krb5: Fix checking for presence of authorization 
data
   via  9d01043042f tests/krb5: Add method to get DC credentials
   via  38b4b334caf tests/krb5: Allow tgs_req() to check the returned 
ticket enc-part
   via  054ec1a8cc4 tests/krb5: Set key version number for all accounts 
created with create_account()
   via  14cd933a9d6 tests/krb5: Correctly check PA-SUPPORTED-ENCTYPES
   via  b6eaf2cf44f tests/krb5: Get supported enctypes for credentials from 
database
   via  432eba9e098 tests/krb5: Add methods to convert between enctypes and 
bitfields
   via  7cedd383bcc tests/krb5: Make get_default_enctypes() return a set of 
enctype constants
   via  4c67a53cdca tests/krb5: Simplify adding authdata to ticket by using 
modified_ticket()
   via  1fcde7cb6ce tests/krb5: Add method for modifying a ticket and 
creating PAC checksums
   via  12b5e72a35d tests/krb5: Add method to verify ticket PAC checksums
  from  702ebb3d8c8 registry: skip root check when running with uid-wrapper 
enabled

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -
commit 5b331443d0698256ee7fcc040a1ab8137efe925d
Author: Joseph Sutton 
Date:   Mon Sep 20 15:10:35 2021 +1200

tests/krb5: Add classes for testing invalid checksums

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14642

Signed-off-by: Joseph Sutton 
Reviewed-by: Andrew Bartlett 

Autobuild-User(master): Andrew Bartlett 
Autobuild-Date(master): Thu Sep 23 19:28:44 UTC 2021 on sn-devel-184

commit c0b81f0dd54d0d71b5d0f5a870b505e82d0e85b8
Author: Joseph Sutton 
Date:   Mon Sep 20 15:06:18 2021 +1200

tests/krb5: Add method to determine if principal is krbtgt

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14642

Signed-off-by: Joseph Sutton 
Reviewed-by: Andrew Bartlett 

commit ea7b550a500d9e458498d37688b67dafd3d9509d
Author: Joseph Sutton 
Date:   Mon Sep 20 14:10:07 2021 +1200

tests/krb5: Verify checksums of tickets obtained from the KDC

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14642

Signed-off-by: Joseph Sutton 
Reviewed-by: Andrew Bartlett 

commit 1458cd9065de34c42bd5ec63feb2f66c25103982
Author: Joseph Sutton 
Date:   Tue Sep 21 13:54:47 2021 +1200

tests/krb5: Add get_rodc_krbtgt_creds() to RawKerberosTest

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14642

Signed-off-by: Joseph Sutton 
Reviewed-by: Andrew Bartlett 

commit 394e8db261b10d130c5e5730989bf68f9bf4f85f
Author: Joseph Sutton 
Date:   Mon Sep 20 14:05:58 2021 +1200

tests/krb5: Simplify account creation

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14642

Signed-off-by: Joseph Sutton 
Reviewed-by: Andrew Bartlett 

commit f2f1f3a1e9269f0e7b93006bba2368a6ffbecc7c
Author: Joseph Sutton 
Date:   Wed Sep 22 11:41:45 2021 +1200

tests/krb5: Provide ticket enc-part key to tgs_req()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14642

Signed-off-by: Joseph Sutton 
Reviewed-by: Andrew Bartlett 

commit f9284d8517edd9ffd96f0c24166a16366f97de8f
Author: Joseph Sutton 
Date:   Mon Sep 20 14:08:16 2021 +1200

tests/krb5: Fix checking for presence of authorization data

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14642

Signed-off-by: Joseph Sutton 
Reviewed-by: Andrew Bartlett 

commit 9d01043042f1caac98a23cf4d9aa9a02a31a9239
Author: Joseph Sutton 
Date:   Mon Sep 20 13:58:09 2021 +1200

tests/krb5: Add method to get DC credentials

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14642

Signed-off-by: Joseph Sutton 
Reviewed-by: Andrew Bartlett 

commit 38b4b334caf1b32f1479db3ada48b2028946f5e6
Author: Joseph Sutton 
Date:   Mon Sep 20 13:59:24 2021 +1200

tests/krb5: Allow tgs_req() to check the returned ticket enc-part

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14642

Signed-off-by: Joseph Sutton 
Reviewed-by: Andrew Bartlett 

commit 054ec1a8cc4ae42918c7c06ef9c66c8a81242655
Author: Joseph Sutton 
Date:   Mon Sep 20 13:54:39 2021 +1200

tests/krb5: Set key version number for all accounts created with 
create_account()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14642

Signed-off-by: Joseph Sutton 
Reviewed-by: Andrew Bartlett 

commit 14cd933a9d6af08deb680c9f688b166138d45ed9
Author: Joseph 

[SCM] Samba Shared Repository - branch v4-15-test updated

2021-09-23 Thread Jule Anger
The branch, v4-15-test has been updated
   via  4b1e8535610 autobuild: allow AUTOBUILD_FAIL_IMMEDIATELY=0 (say from 
a gitlab variable)
  from  4c85e56501b Bump version up to Samba 4.15.1...

https://git.samba.org/?p=samba.git;a=shortlog;h=v4-15-test


- Log -
commit 4b1e8535610bc35c0a0c6575d80e6c0046e615e0
Author: Andrew Bartlett 
Date:   Fri Sep 17 16:43:00 2021 +1200

autobuild: allow AUTOBUILD_FAIL_IMMEDIATELY=0 (say from a gitlab variable)

This allows making a push to do a full test ignoring errors without
needing "HACK!!!" commits on top.

Use like this:

git push -o ci.variable='AUTOBUILD_FAIL_IMMEDIATELY=0'

RN: Samba CI runs can now continue past the first error if 
AUTOBUILD_FAIL_IMMEDIATELY=0 is set

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14841

Signed-off-by: Andrew Bartlett 
Reviewed-by: Michael Adam 
(cherry picked from commit b81f6f3d71487085bb355392ce7f8eff2db5bb4d)

Autobuild-User(v4-15-test): Jule Anger 
Autobuild-Date(v4-15-test): Thu Sep 23 10:28:48 UTC 2021 on sn-devel-184

---

Summary of changes:
 script/autobuild.py | 9 +++--
 1 file changed, 7 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/script/autobuild.py b/script/autobuild.py
index 97731215282..ca9ffb93f68 100755
--- a/script/autobuild.py
+++ b/script/autobuild.py
@@ -166,7 +166,6 @@ def format_option(name, value=None):
 
 def make_test(
 cmd='make testonly',
-FAIL_IMMEDIATELY=1,
 INJECT_SELFTEST_PREFIX=1,
 TESTS='',
 include_envs=None,
@@ -182,7 +181,13 @@ def make_test(
 TESTS = (TESTS + ' ' + ' '.join(test_options)).strip()
 
 _options = []
-if FAIL_IMMEDIATELY:
+
+# Allow getting a full CI with
+# git push -o ci.variable='AUTOBUILD_FAIL_IMMEDIATELY=0'
+
+FAIL_IMMEDIATELY = os.getenv("AUTOBUILD_FAIL_IMMEDIATELY", "1")
+
+if int(FAIL_IMMEDIATELY):
 _options.append('FAIL_IMMEDIATELY=1')
 if TESTS:
 _options.append("TESTS='{}'".format(TESTS))


-- 
Samba Shared Repository



[SCM] Samba Shared Repository - branch v4-14-test updated

2021-09-23 Thread Jule Anger
The branch, v4-14-test has been updated
   via  f53c532c229 autobuild: allow AUTOBUILD_FAIL_IMMEDIATELY=0 (say from 
a gitlab variable)
  from  53b48cbe9a8 tests/krb5: Allow KRB5KDC_ERR_S_PRINCIPAL_UNKNOWN for a 
missing sname

https://git.samba.org/?p=samba.git;a=shortlog;h=v4-14-test


- Log -
commit f53c532c2292d07ab3374920bd83c123038e
Author: Andrew Bartlett 
Date:   Fri Sep 17 16:43:00 2021 +1200

autobuild: allow AUTOBUILD_FAIL_IMMEDIATELY=0 (say from a gitlab variable)

This allows making a push to do a full test ignoring errors without
needing "HACK!!!" commits on top.

Use like this:

git push -o ci.variable='AUTOBUILD_FAIL_IMMEDIATELY=0'

RN: Samba CI runs can now continue past the first error if 
AUTOBUILD_FAIL_IMMEDIATELY=0 is set

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14841

Signed-off-by: Andrew Bartlett 
Reviewed-by: Michael Adam 

[abart...@samba.org backported from commit 
b81f6f3d71487085bb355392ce7f8eff2db5bb4d
 due to changes in 4.15 and later for the autobuild dependent jobs work
 that avoids rebuilding Samba in each task]

Autobuild-User(v4-14-test): Jule Anger 
Autobuild-Date(v4-14-test): Thu Sep 23 08:54:03 UTC 2021 on sn-devel-184

---

Summary of changes:
 script/autobuild.py | 9 +++--
 1 file changed, 7 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/script/autobuild.py b/script/autobuild.py
index dded5c9dec9..c069e1d3ccd 100755
--- a/script/autobuild.py
+++ b/script/autobuild.py
@@ -159,7 +159,6 @@ def format_option(name, value=None):
 
 def make_test(
 cmd='make test',
-FAIL_IMMEDIATELY=1,
 TESTS='',
 include_envs=None,
 exclude_envs=None):
@@ -174,7 +173,13 @@ def make_test(
 TESTS = (TESTS + ' ' + ' '.join(test_options)).strip()
 
 _options = []
-if FAIL_IMMEDIATELY:
+
+# Allow getting a full CI with
+# git push -o ci.variable='AUTOBUILD_FAIL_IMMEDIATELY=0'
+
+FAIL_IMMEDIATELY = os.getenv("AUTOBUILD_FAIL_IMMEDIATELY", "1")
+
+if int(FAIL_IMMEDIATELY):
 _options.append('FAIL_IMMEDIATELY=1')
 if TESTS:
 _options.append("TESTS='{}'".format(TESTS))


-- 
Samba Shared Repository