autobuild[sn-devel-104]: intermittent test failure detected

2016-12-16 Thread autobuild
The autobuild test system (on sn-devel-104) has detected an intermittent 
failing test in 
the current master tree.

The autobuild log of the failure is available here:

   http://git.samba.org/autobuild.flakey.sn-devel-104/2016-12-17-0805/flakey.log

The samba build logs are available here:

   
http://git.samba.org/autobuild.flakey.sn-devel-104/2016-12-17-0805/samba.stderr
   
http://git.samba.org/autobuild.flakey.sn-devel-104/2016-12-17-0805/samba.stdout
  
The top commit at the time of the failure was:

commit 122706550c67ef778fd4634508bec9e0507a1fe0
Author: Volker Lendecke 
Date:   Mon Dec 5 15:31:56 2016 +

idmap_autorid: Simplify idmap_autorid_loadconfig

autorid_global_config is a fixed small structure that can be 
stack-allocated.

Signed-off-by: Volker Lendecke 
Reviewed-by: Andreas Schneider 

Autobuild-User(master): Volker Lendecke 
Autobuild-Date(master): Fri Dec 16 21:30:28 CET 2016 on sn-devel-144



autobuild[sn-devel-144]: intermittent test failure detected

2016-12-16 Thread autobuild
The autobuild test system (on sn-devel-144) has detected an intermittent 
failing test in 
the current master tree.

The autobuild log of the failure is available here:

   http://git.samba.org/autobuild.flakey.sn-devel-144/2016-12-17-0723/flakey.log

The samba build logs are available here:

   
http://git.samba.org/autobuild.flakey.sn-devel-144/2016-12-17-0723/samba.stderr
   
http://git.samba.org/autobuild.flakey.sn-devel-144/2016-12-17-0723/samba.stdout
  
The top commit at the time of the failure was:

commit 122706550c67ef778fd4634508bec9e0507a1fe0
Author: Volker Lendecke 
Date:   Mon Dec 5 15:31:56 2016 +

idmap_autorid: Simplify idmap_autorid_loadconfig

autorid_global_config is a fixed small structure that can be 
stack-allocated.

Signed-off-by: Volker Lendecke 
Reviewed-by: Andreas Schneider 

Autobuild-User(master): Volker Lendecke 
Autobuild-Date(master): Fri Dec 16 21:30:28 CET 2016 on sn-devel-144



autobuild[sn-devel-104]: intermittent test failure detected

2016-12-16 Thread autobuild
The autobuild test system (on sn-devel-104) has detected an intermittent 
failing test in 
the current master tree.

The autobuild log of the failure is available here:

   http://git.samba.org/autobuild.flakey.sn-devel-104/2016-12-17-0410/flakey.log

The samba build logs are available here:

   
http://git.samba.org/autobuild.flakey.sn-devel-104/2016-12-17-0410/samba.stderr
   
http://git.samba.org/autobuild.flakey.sn-devel-104/2016-12-17-0410/samba.stdout
  
The top commit at the time of the failure was:

commit 122706550c67ef778fd4634508bec9e0507a1fe0
Author: Volker Lendecke 
Date:   Mon Dec 5 15:31:56 2016 +

idmap_autorid: Simplify idmap_autorid_loadconfig

autorid_global_config is a fixed small structure that can be 
stack-allocated.

Signed-off-by: Volker Lendecke 
Reviewed-by: Andreas Schneider 

Autobuild-User(master): Volker Lendecke 
Autobuild-Date(master): Fri Dec 16 21:30:28 CET 2016 on sn-devel-144



autobuild[sn-devel-144]: intermittent test failure detected

2016-12-16 Thread autobuild
The autobuild test system (on sn-devel-144) has detected an intermittent 
failing test in 
the current master tree.

The autobuild log of the failure is available here:

   http://git.samba.org/autobuild.flakey.sn-devel-144/2016-12-17-0225/flakey.log

The samba build logs are available here:

   
http://git.samba.org/autobuild.flakey.sn-devel-144/2016-12-17-0225/samba.stderr
   
http://git.samba.org/autobuild.flakey.sn-devel-144/2016-12-17-0225/samba.stdout
  
The top commit at the time of the failure was:

commit 122706550c67ef778fd4634508bec9e0507a1fe0
Author: Volker Lendecke 
Date:   Mon Dec 5 15:31:56 2016 +

idmap_autorid: Simplify idmap_autorid_loadconfig

autorid_global_config is a fixed small structure that can be 
stack-allocated.

Signed-off-by: Volker Lendecke 
Reviewed-by: Andreas Schneider 

Autobuild-User(master): Volker Lendecke 
Autobuild-Date(master): Fri Dec 16 21:30:28 CET 2016 on sn-devel-144



autobuild[sn-devel-104]: intermittent test failure detected

2016-12-16 Thread autobuild
The autobuild test system (on sn-devel-104) has detected an intermittent 
failing test in 
the current master tree.

The autobuild log of the failure is available here:

   http://git.samba.org/autobuild.flakey.sn-devel-104/2016-12-17-0002/flakey.log

The samba build logs are available here:

   
http://git.samba.org/autobuild.flakey.sn-devel-104/2016-12-17-0002/samba.stderr
   
http://git.samba.org/autobuild.flakey.sn-devel-104/2016-12-17-0002/samba.stdout
  
The top commit at the time of the failure was:

commit 122706550c67ef778fd4634508bec9e0507a1fe0
Author: Volker Lendecke 
Date:   Mon Dec 5 15:31:56 2016 +

idmap_autorid: Simplify idmap_autorid_loadconfig

autorid_global_config is a fixed small structure that can be 
stack-allocated.

Signed-off-by: Volker Lendecke 
Reviewed-by: Andreas Schneider 

Autobuild-User(master): Volker Lendecke 
Autobuild-Date(master): Fri Dec 16 21:30:28 CET 2016 on sn-devel-144



[SCM] Samba Shared Repository - branch master updated

2016-12-16 Thread Volker Lendecke
The branch, master has been updated
   via  1227065 idmap_autorid: Simplify idmap_autorid_loadconfig
   via  4cef6d2 idmap_autorid: Fix a small memleak
   via  9c6c2ad idmap_autorid: Fix a race condition when acquiring ranges
   via  a04cec5 idmap_autorid: Use acquire_range directly
   via  ba02936 idmap_autorid: Make idmap_autorid_acquire_range public
   via  ba231d2 idmap_autorid: Fix checks for valid domains to allocate 
ranges for
   via  55daaf1 idmap_autorid: Add ntstatus to a debug message
   via  9fe42eb idmap_autorid: Only look at the tdc cache when allocating 
ranges
   via  4cfd824 idmap_autorid: Do a readonly attempt before looking at the 
tdc cache
   via  941d235 idmap_autorid: idmap_autorid_sid_to_id_rid only uses 
rangesize from "global"
   via  3ae832d idmap_autorid: idmap_autorid_sid_to_id_rid only uses low_id 
from "range"
   via  f5c9f27 idmap_autorid: Tighten idmap_autorid_id_to_sid a bit
   via  751f598 idmap_autorid: Fix a comment
   via  f1c126c idmap_autorid: Protect against dsize==0
   via  b64835a idmap_tdb: Harden idmap_tdb_common_unixid_to_sid
   via  5ee846f idmap_autorid: Slightly simplify 
idmap_autorid_unixids_to_sids
   via  321dca7 samlogon_cache: Rename "user_sid" to "sid"
   via  bedc5c0 samlogon_cache: Add the user's domain sid into the 
samlogon_cache
   via  f4ca27f samlogon_cache: Simplify netsamlogon_cache_have
  from  e7ab2ad pam_winbind: Fix compiler warnings

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


- Log -
commit 122706550c67ef778fd4634508bec9e0507a1fe0
Author: Volker Lendecke 
Date:   Mon Dec 5 15:31:56 2016 +

idmap_autorid: Simplify idmap_autorid_loadconfig

autorid_global_config is a fixed small structure that can be 
stack-allocated.

Signed-off-by: Volker Lendecke 
Reviewed-by: Andreas Schneider 

Autobuild-User(master): Volker Lendecke 
Autobuild-Date(master): Fri Dec 16 21:30:28 CET 2016 on sn-devel-144

commit 4cef6d29ffa23158ebcbf7da390daf0d12c7d9fd
Author: Volker Lendecke 
Date:   Mon Dec 5 15:29:06 2016 +

idmap_autorid: Fix a small memleak

Not long-term, all callers free our "mem_ctx" immediately

Signed-off-by: Volker Lendecke 
Reviewed-by: Andreas Schneider 

commit 9c6c2ad26d1936f8a731b18198b47e35e4938d96
Author: Volker Lendecke 
Date:   Fri Dec 2 15:37:49 2016 +

idmap_autorid: Fix a race condition when acquiring ranges

Here we are in a transaction to create a range, but we already found
one to exist. We need to return the information about this range to the
caller, just as we do when actually allocating the range. This does not
hit us with current code, as we just have one idmap child. However, if
we parallelize that, two children might have found a domain to not exist
and call idmap_autorid_acquire_range simultaneously. One will create
the range, the other one will find it to already exist. The second child
will also have to pass the info up.

Signed-off-by: Volker Lendecke 
Reviewed-by: Andreas Schneider 

commit a04cec5c624e4486b5ff56b064443ec3dbdfd181
Author: Volker Lendecke 
Date:   Fri Dec 2 15:25:10 2016 +

idmap_autorid: Use acquire_range directly

idmap_autorid_get_domainrange is reading again for an existing mapping. We
know we need to allocate here, so avoid passing down that r/o boolean :-)

Signed-off-by: Volker Lendecke 
Reviewed-by: Andreas Schneider 

commit ba02936032216d8cd774907b1de852e5a0b0ed9d
Author: Volker Lendecke 
Date:   Fri Dec 2 15:11:24 2016 +

idmap_autorid: Make idmap_autorid_acquire_range public

Signed-off-by: Volker Lendecke 
Reviewed-by: Andreas Schneider 

commit ba231d250a2a40339ab74891d9b529a7013a0921
Author: Volker Lendecke 
Date:   Fri Dec 2 14:10:34 2016 +

idmap_autorid: Fix checks for valid domains to allocate ranges for

The tdc cache is not reliable. The main dynamic check is
netsamlogon_cache_have: The only reliable way to see a domain as valid
for allocating a range for is a successful login. With a recent addition
to netsamlogon_cache_store, we can now reliably tell from there whether
a domain is trusted.

This also adds a few heuristic checks, such as allocation for the local
domains and additional ranges where we already have a mapping for range
index 0 for.

Signed-off-by: Volker Lendecke 
Reviewed-by: Andreas Schneider 

commit 55daaf10ddc564cd155b3369c6a6eddb8e1fbf90
Author: Volker Lendecke 

autobuild[sn-devel-144]: intermittent test failure detected

2016-12-16 Thread autobuild
The autobuild test system (on sn-devel-144) has detected an intermittent 
failing test in 
the current master tree.

The autobuild log of the failure is available here:

   http://git.samba.org/autobuild.flakey.sn-devel-144/2016-12-16-2054/flakey.log

The samba build logs are available here:

   
http://git.samba.org/autobuild.flakey.sn-devel-144/2016-12-16-2054/samba.stderr
   
http://git.samba.org/autobuild.flakey.sn-devel-144/2016-12-16-2054/samba.stdout
  
The top commit at the time of the failure was:

commit e7ab2ad887f4e5ef54afa14492541b6b3b2b1d8b
Author: Björn Jacke 
Date:   Fri Dec 16 11:16:56 2016 +0100

pam_winbind: Fix compiler warnings

Thanks to Stef Walter 

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

Signed-off-by: Bjoern Jacke 
Reviewed-by: Stefan Metzmacher 

Autobuild-User(master): Björn Jacke 
Autobuild-Date(master): Fri Dec 16 16:22:32 CET 2016 on sn-devel-144



autobuild[sn-devel-104]: intermittent test failure detected

2016-12-16 Thread autobuild
The autobuild test system (on sn-devel-104) has detected an intermittent 
failing test in 
the current master tree.

The autobuild log of the failure is available here:

   http://git.samba.org/autobuild.flakey.sn-devel-104/2016-12-16-2010/flakey.log

The samba build logs are available here:

   
http://git.samba.org/autobuild.flakey.sn-devel-104/2016-12-16-2010/samba.stderr
   
http://git.samba.org/autobuild.flakey.sn-devel-104/2016-12-16-2010/samba.stdout
  
The top commit at the time of the failure was:

commit e7ab2ad887f4e5ef54afa14492541b6b3b2b1d8b
Author: Björn Jacke 
Date:   Fri Dec 16 11:16:56 2016 +0100

pam_winbind: Fix compiler warnings

Thanks to Stef Walter 

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

Signed-off-by: Bjoern Jacke 
Reviewed-by: Stefan Metzmacher 

Autobuild-User(master): Björn Jacke 
Autobuild-Date(master): Fri Dec 16 16:22:32 CET 2016 on sn-devel-144



[SCM] Samba Shared Repository - branch master updated

2016-12-16 Thread Björn Jacke
The branch, master has been updated
   via  e7ab2ad pam_winbind: Fix compiler warnings
  from  cd20ced ctdb-tools: Don't trust non-hosting nodes in "ctdb ip all"

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


- Log -
commit e7ab2ad887f4e5ef54afa14492541b6b3b2b1d8b
Author: Björn Jacke 
Date:   Fri Dec 16 11:16:56 2016 +0100

pam_winbind: Fix compiler warnings

Thanks to Stef Walter 

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

Signed-off-by: Bjoern Jacke 
Reviewed-by: Stefan Metzmacher 

Autobuild-User(master): Björn Jacke 
Autobuild-Date(master): Fri Dec 16 16:22:32 CET 2016 on sn-devel-144

---

Summary of changes:
 nsswitch/pam_winbind.c | 11 +++
 1 file changed, 7 insertions(+), 4 deletions(-)


Changeset truncated at 500 lines:

diff --git a/nsswitch/pam_winbind.c b/nsswitch/pam_winbind.c
index 40f4f7a..b78c6bd 100644
--- a/nsswitch/pam_winbind.c
+++ b/nsswitch/pam_winbind.c
@@ -667,7 +667,7 @@ static const char *_get_ntstatus_error_string(const char 
*nt_status_string)
 
 static int converse(const pam_handle_t *pamh,
int nargs,
-   struct pam_message **message,
+   const struct pam_message **message,
struct pam_response **response)
 {
int retval;
@@ -690,7 +690,8 @@ static int _make_remark(struct pwb_context *ctx,
 {
int retval = PAM_SUCCESS;
 
-   struct pam_message *pmsg[1], msg[1];
+   const struct pam_message *pmsg[1];
+   struct pam_message msg[1];
struct pam_response *resp;
 
if (ctx->flags & WINBIND_SILENT) {
@@ -843,7 +844,8 @@ static int wbc_auth_error_to_pam_error(struct pwb_context 
*ctx,
 #if defined(HAVE_PAM_RADIO_TYPE)
 static bool _pam_winbind_change_pwd(struct pwb_context *ctx)
 {
-   struct pam_message msg, *pmsg;
+   struct pam_message msg;
+   const struct pam_message *pmsg;
struct pam_response *resp = NULL;
int ret;
bool retval = false;
@@ -2194,7 +2196,8 @@ static int _winbind_read_password(struct pwb_context *ctx,
 */
 
{
-   struct pam_message msg[3], *pmsg[3];
+   struct pam_message msg[3];
+   const struct pam_message *pmsg[3];
struct pam_response *resp;
int i, replies;
 


-- 
Samba Shared Repository



autobuild[sn-devel-104]: intermittent test failure detected

2016-12-16 Thread autobuild
The autobuild test system (on sn-devel-104) has detected an intermittent 
failing test in 
the current master tree.

The autobuild log of the failure is available here:

   http://git.samba.org/autobuild.flakey.sn-devel-104/2016-12-16-1606/flakey.log

The samba build logs are available here:

   
http://git.samba.org/autobuild.flakey.sn-devel-104/2016-12-16-1606/samba.stderr
   
http://git.samba.org/autobuild.flakey.sn-devel-104/2016-12-16-1606/samba.stdout
  
The top commit at the time of the failure was:

commit cd20ced3fb9c71d38450f90224677f21a27d2548
Author: Martin Schwenke 
Date:   Tue Dec 13 11:16:05 2016 +1100

ctdb-tools: Don't trust non-hosting nodes in "ctdb ip all"

Redundant RELEASE_IPs gives nodes a preview of where an IP address
will move to.  However, if the associated TAKEOVER_IP fails then the
node will actually be unhosted.

This is similar to commit 77a29b37334b9df62b755b6f538fb975e105e1ff.

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

Signed-off-by: Martin Schwenke 
Reviewed-by: Amitay Isaacs 

Autobuild-User(master): Amitay Isaacs 
Autobuild-Date(master): Fri Dec 16 12:32:02 CET 2016 on sn-devel-144



autobuild[sn-devel-144]: intermittent test failure detected

2016-12-16 Thread autobuild
The autobuild test system (on sn-devel-144) has detected an intermittent 
failing test in 
the current master tree.

The autobuild log of the failure is available here:

   http://git.samba.org/autobuild.flakey.sn-devel-144/2016-12-16-1401/flakey.log

The samba build logs are available here:

   
http://git.samba.org/autobuild.flakey.sn-devel-144/2016-12-16-1401/samba.stderr
   
http://git.samba.org/autobuild.flakey.sn-devel-144/2016-12-16-1401/samba.stdout
  
The top commit at the time of the failure was:

commit 7585aa6c8f225a7aed51520a2af15f0037cd37f6
Author: Andreas Schneider 
Date:   Thu Dec 15 10:33:59 2016 +0100

testsuite: Add cmocka unit test for smb_krb5_kt_open()

Signed-off-by: Andreas Schneider 
Reviewed-by: Jeremy Allison 

Autobuild-User(master): Jeremy Allison 
Autobuild-Date(master): Fri Dec 16 05:43:12 CET 2016 on sn-devel-144



[SCM] Samba Shared Repository - branch master updated

2016-12-16 Thread Amitay Isaacs
The branch, master has been updated
   via  cd20ced ctdb-tools: Don't trust non-hosting nodes in "ctdb ip all"
   via  2514a9c ctdb-tools: Print PNN as int in "ctdb ip -v"
   via  a6e5b6a ctdb-tools: Skip GET_PUBLIC_IP_INFO for unassigned addresses
   via  acaa440 ctdb-tools: Fix memory corruption in "ctdb ip -v"
   via  7bcef2f ctdb-tools: Fix sort order of "ctdb ip" output
   via  3845ff6 ctdb-tests: Add unit test for protocol utilities
   via  362f066 ctdb-protocol: Add generalised socket address comparison
   via  25aad0d ctdb-tests: Fix "ctdb reloadips" simple test
   via  15d5ed7 ctdb-build: Remove unnecessary intermediate build target
   via  0869501 ctdb-tests: Do not remove event script dir before shutting 
down ctdb
   via  ec00b49 ctdb-tests: Display filtered output when the test fails
   via  e97d467 ctdb-daemon: Move function typedef to where it's used
   via  2eaabee ctdb-scripts: Drop ctdb_check_service_reconfigure
   via  d6f760f ctdb-scripts: Add explicit check for service reconfiguration
   via  dd748ae ctdb-scripts: Drop some tests for "reconfigure" event and 
monitor replay
  from  7585aa6 testsuite: Add cmocka unit test for smb_krb5_kt_open()

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


- Log -
commit cd20ced3fb9c71d38450f90224677f21a27d2548
Author: Martin Schwenke 
Date:   Tue Dec 13 11:16:05 2016 +1100

ctdb-tools: Don't trust non-hosting nodes in "ctdb ip all"

Redundant RELEASE_IPs gives nodes a preview of where an IP address
will move to.  However, if the associated TAKEOVER_IP fails then the
node will actually be unhosted.

This is similar to commit 77a29b37334b9df62b755b6f538fb975e105e1ff.

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

Signed-off-by: Martin Schwenke 
Reviewed-by: Amitay Isaacs 

Autobuild-User(master): Amitay Isaacs 
Autobuild-Date(master): Fri Dec 16 12:32:02 CET 2016 on sn-devel-144

commit 2514a9cd17fa9435792308aefdbebcc0a60a68f3
Author: Martin Schwenke 
Date:   Thu Dec 8 11:37:06 2016 +1100

ctdb-tools: Print PNN as int in "ctdb ip -v"

Otherwise it prints 4294967295 for the PNN.

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

Signed-off-by: Martin Schwenke 
Reviewed-by: Amitay Isaacs 

commit a6e5b6abe969e12cf26acf320f2c4bf40b377982
Author: Martin Schwenke 
Date:   Thu Dec 8 11:35:23 2016 +1100

ctdb-tools: Skip GET_PUBLIC_IP_INFO for unassigned addresses

The GET_PUBLIC_IP_INFO control fails for unassigned addresses because
PNN is CTDB_UNKNOWN_PNN.

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

Signed-off-by: Martin Schwenke 
Reviewed-by: Amitay Isaacs 

commit acaa4407ca3be9fb5637790079656f1eabf3848c
Author: Martin Schwenke 
Date:   Thu Dec 8 11:29:13 2016 +1100

ctdb-tools: Fix memory corruption in "ctdb ip -v"

First argument to talloc_asprintf_append() is the string being
appended to, not a talloc context.

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

Signed-off-by: Martin Schwenke 
Reviewed-by: Amitay Isaacs 

commit 7bcef2f0e2969551134e0d72f0956685eeec10a3
Author: Martin Schwenke 
Date:   Wed Dec 7 09:23:02 2016 +1100

ctdb-tools: Fix sort order of "ctdb ip" output

The new hash-table-based method of merging the IP information does not
sort, whereas the RB-tree method implicitly sorted.  This probably
only really matters for the "all" case, but sort regardless to ensure
consistent output format.

Sorting has to be done here instead of when printing to ensure
consistency between ip[] and ipinfo[].

No longer reverse the sort order.

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

Signed-off-by: Martin Schwenke 
Reviewed-by: Amitay Isaacs 

commit 3845ff6349421560bdcf9ba13467b2418205cd96
Author: Martin Schwenke 
Date:   Mon May 23 11:53:26 2016 +1000

ctdb-tests: Add unit test for protocol utilities

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

Signed-off-by: Martin Schwenke 
Reviewed-by: Amitay Isaacs 

commit 362f066d617c8a186164db613537867329702ab7
Author: Martin Schwenke 
Date:   Mon May 23 10:35:10 2016 +1000

ctdb-protocol: Add generalised socket address comparison

Add new function ctdb_sock_addr_cmp(), which returns a 3-way result
useful for qsort(3).  Reimplent ctdb_sock_addr_same() using this.

In the process, make 

autobuild[sn-devel-104]: intermittent test failure detected

2016-12-16 Thread autobuild
The autobuild test system (on sn-devel-104) has detected an intermittent 
failing test in 
the current master tree.

The autobuild log of the failure is available here:

   http://git.samba.org/autobuild.flakey.sn-devel-104/2016-12-16-1211/flakey.log

The samba build logs are available here:

   
http://git.samba.org/autobuild.flakey.sn-devel-104/2016-12-16-1211/samba.stderr
   
http://git.samba.org/autobuild.flakey.sn-devel-104/2016-12-16-1211/samba.stdout
  
The top commit at the time of the failure was:

commit 7585aa6c8f225a7aed51520a2af15f0037cd37f6
Author: Andreas Schneider 
Date:   Thu Dec 15 10:33:59 2016 +0100

testsuite: Add cmocka unit test for smb_krb5_kt_open()

Signed-off-by: Andreas Schneider 
Reviewed-by: Jeremy Allison 

Autobuild-User(master): Jeremy Allison 
Autobuild-Date(master): Fri Dec 16 05:43:12 CET 2016 on sn-devel-144