[SCM] Samba Shared Repository - branch master updated

2015-03-13 Thread Günther Deschner
The branch, master has been updated
   via  dd43b70 librpc: use the correct "MSServerClusterMgmtAPI" auth 
service for clusapi.
   via  cce216a s4-torture: establish a torture_clusapi_context to make it 
easier to keep state between tests.
   via  f014b6f librpc: add ncacn_ip_tcp: endpoint to clusapi.
   via  210f1e6 pidl: align s4 dcesrv template generation with coding 
standards.
   via  c686e34 pidl: add --template3 option to generate s3 server stubs.
   via  f035aa5 s4-torture: add testing for clusapi Registry.
   via  e44b63c s4-torture: add testing for clusapi NetInterfaces.
   via  ab281b0 s4-torture: add testing for clusapi Networks.
   via  5c3f83a s4-torture: add tests for clusapi_BackupClusterDatabase and 
clusapi_SetServiceAccountPassword.
   via  a22f43c s4-torture: test all available groups on the cluster.
   via  5538e88 s4-torture: test all available nodes on the cluster.
   via  07ba4c3 s4-torture: pass down node name down to clusapi_OpenNode.
   via  5a5f6e5 s4-torture: add test for clusapi_OpenGroupEx.
   via  9da9720 s4-torture: pass down group name down to clusapi_OpenGroup.
   via  b983b19 s4-torture: add test for clusapi_OpenResourceEx.
   via  6be9621 s4-torture: add test for clusapi_OpenClusterEx.
   via  6765bd2 librpc: add clusapi_DesiredAccessMask to IDL.
   via  2c48213 s4-torture: test all available resources on the cluster.
   via  c35ca8b s4-torture: pass down resource name down to 
clusapi_OpenResource.
   via  51a6703 librpc: add clusapi_ClusterNetworkState and 
clusapi_ClusterNetInterfaceState.
   via  c42f1f5 s4-torture: add more cluster group tests.
   via  9a167ba s4-torture: add test for clusapi_SetResourceName.
   via  95f60c9 clusapi: add clusapi_CreateResourceFlags to IDL and torture 
test.
   via  300c115 librpc: add clusapi_ClusterGroupState enum to IDL.
   via  e6fda24 s4-torture: fix clusapi_SetClusterName test by re-setting 
existing cluster name.
   via  f1cf2f6 s4-torture: use clusapi_ClusterNodeState enum in torture 
test.
   via  e136a95 librpc: add clusapi_ClusterNodeState enum to IDL.
   via  8c22572 s4-torture: use clusapi_ClusterResourceState enum in 
torture test.
   via  1cfbf3f librpc: add clusapi_ClusterResourceState enum to IDL.
   via  4bf2925 s4-torture: use a specific resource clusapi testcase.
   via  4cebc1c s4-torture: rename clusapi testcase to cluster testcase.
   via  bfe3a25 s4-torture: use a real cluster group handle in cluster 
resource tests.
   via  744f264 s4-torture: add tests for clusapi_OpenGroup and 
clusapi_CloseGroup.
   via  91d6085 s4-torture: add tests for cluster nodes.
   via  5fdd392 s4-torture: add test for clusapi_CreateResEnum.
   via  90a9848 s4-torture: add test for clusapi_GetClusterVersion2().
   via  18ec553 librpc: use WERROR in the clusapi interface.
   via  d632440 s4-torture: add tests for cluster resources.
   via  da10c36 s4-torture: add test for clusapi_CreateEnum.
   via  2d8a60e s4-torture: add tests for ClusterName and ClusterVersion.
   via  89a036f s4-torture: add clusapi torture test.
   via  f675c2b clusapi: use ClusterEnumType.
   via  4fe1f19 clusapi: add more enums to IDL.
   via  f3d5c0f s3-rpcclient: add very basic clusapi client.
   via  dfb607e librpc: build clusapi.idl
   via  d64c551 librpc: add clusapi idl version 3.0.
   via  87054a5 pidl/python: support HRESULT errors in generated python 
bindings.
   via  9564a1f pidl: support HRESULT in pidl.
   via  a222465 librpc/ndr: add ndr_{pull|push|print}_HRESULT and release 
new 0.0.5 ABI.
   via  5b68527 lib/util: globally include herrors in error.h
   via  533cfb6 libcli/util/hresult: add generated hresult_errstr() 
function.
   via  5cf1545 s4-scripting: generate a hresult_errstr() function.
   via  3152529 libcli/util/hresult: re-generate hresult.c.
   via  169f6cd s4-scripting: add string representation of error code 
define to generated table.
   via  1d2cde0 s4-scripting: fix hresult generator python script 
indentation.
  from  d171d20 ctdb: Fix CID 1125613 Destination buffer too small

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


- Log -
commit dd43b70524877064931eb8798ba81f4951266653
Author: Günther Deschner 
Date:   Wed Mar 11 10:37:00 2015 +0100

librpc: use the correct "MSServerClusterMgmtAPI" auth service for clusapi.

Guenther

Signed-off-by: Günther Deschner 
Reviewed-by: Stefan Metzmacher 

Autobuild-User(master): Günther Deschner 
Autobuild-Date(master): Sat Mar 14 02:36:33 CET 2015 on sn-devel-104

commit cce216adf9e2d47e7ccb1affb1f2b0a991432a5a
Author: Günther Deschner 
Date:   Tue Mar 10 10:51:39 2015 +0100

s4-torture: establish a torture_clusapi_context to make it easier to keep 
state
  

autobuild: intermittent test failure detected

2015-03-13 Thread autobuild
The autobuild test system 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/2015-03-14-0153/flakey.log

The samba build logs are available here:

   http://git.samba.org/autobuild.flakey/2015-03-14-0153/samba.stderr
   http://git.samba.org/autobuild.flakey/2015-03-14-0153/samba.stdout
  
The top commit at the time of the failure was:

commit d171d2010a256a46446de5328a0897df3838855a
Author: Volker Lendecke 
Date:   Fri Mar 13 14:20:05 2015 +

ctdb: Fix CID 1125613 Destination buffer too small

Signed-off-by: Volker Lendecke 
Reviewed-by: Michael Adam 

Autobuild-User(master): Michael Adam 
Autobuild-Date(master): Fri Mar 13 19:14:20 CET 2015 on sn-devel-104


autobuild: intermittent test failure detected

2015-03-13 Thread autobuild
The autobuild test system 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/2015-03-13-2251/flakey.log

The samba build logs are available here:

   http://git.samba.org/autobuild.flakey/2015-03-13-2251/samba.stderr
   http://git.samba.org/autobuild.flakey/2015-03-13-2251/samba.stdout
  
The top commit at the time of the failure was:

commit d171d2010a256a46446de5328a0897df3838855a
Author: Volker Lendecke 
Date:   Fri Mar 13 14:20:05 2015 +

ctdb: Fix CID 1125613 Destination buffer too small

Signed-off-by: Volker Lendecke 
Reviewed-by: Michael Adam 

Autobuild-User(master): Michael Adam 
Autobuild-Date(master): Fri Mar 13 19:14:20 CET 2015 on sn-devel-104


[SCM] Samba Shared Repository - branch master updated

2015-03-13 Thread Michael Adam
The branch, master has been updated
   via  d171d20 ctdb: Fix CID 1125613 Destination buffer too small
   via  8d9bb5c ctdb: Introduce a helper var in ctdb_get_script_list
   via  c1e8bfb ctdb: Fix memleak in ctdb_get_script_list
   via  a8cc495 ctdb: Make for-loop in ctdb_get_script_list more idiomatic
   via  b584bde ctdb: Fix whitespace
  from  07330d2 replace: Remove superfluous check for gcrypt header.

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


- Log -
commit d171d2010a256a46446de5328a0897df3838855a
Author: Volker Lendecke 
Date:   Fri Mar 13 14:20:05 2015 +

ctdb: Fix CID 1125613 Destination buffer too small

Signed-off-by: Volker Lendecke 
Reviewed-by: Michael Adam 

Autobuild-User(master): Michael Adam 
Autobuild-Date(master): Fri Mar 13 19:14:20 CET 2015 on sn-devel-104

commit 8d9bb5c54aae0099e0dde2d9a904676fcb9340c0
Author: Volker Lendecke 
Date:   Fri Mar 13 14:16:17 2015 +

ctdb: Introduce a helper var in ctdb_get_script_list

Signed-off-by: Volker Lendecke 
Reviewed-by: Michael Adam 

commit c1e8bfb186c5cbeafbce9f2767db82edb579d5e1
Author: Volker Lendecke 
Date:   Fri Mar 13 14:12:41 2015 +

ctdb: Fix memleak in ctdb_get_script_list

scandir allocates every name individually, see example code in susv4 or man
scandir

Signed-off-by: Volker Lendecke 
Reviewed-by: Michael Adam 

commit a8cc495b967935852c5357c3a4ef3d37579fb51b
Author: Volker Lendecke 
Date:   Fri Mar 13 14:11:20 2015 +

ctdb: Make for-loop in ctdb_get_script_list more idiomatic

Signed-off-by: Volker Lendecke 
Reviewed-by: Michael Adam 

commit b584bdebf9fc83f0b0c69d1dae7c582e8e8d2781
Author: Volker Lendecke 
Date:   Fri Mar 13 14:01:25 2015 +

ctdb: Fix whitespace

Signed-off-by: Volker Lendecke 
Reviewed-by: Michael Adam 

---

Summary of changes:
 ctdb/server/eventscript.c | 63 ---
 1 file changed, 37 insertions(+), 26 deletions(-)


Changeset truncated at 500 lines:

diff --git a/ctdb/server/eventscript.c b/ctdb/server/eventscript.c
index e70db79..4dd4379 100644
--- a/ctdb/server/eventscript.c
+++ b/ctdb/server/eventscript.c
@@ -1,4 +1,4 @@
-/* 
+/*
event script handling
 
Copyright (C) Andrew Tridgell  2007
@@ -7,12 +7,12 @@
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
-   
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
-   
+
You should have received a copy of the GNU General Public License
along with this program; if not, see .
 */
@@ -38,7 +38,6 @@ struct event_script_callback {
void (*fn)(struct ctdb_context *, int, void *);
void *private_data;
 };
-   
 
 struct ctdb_event_script_state {
struct ctdb_context *ctdb;
@@ -48,7 +47,7 @@ struct ctdb_event_script_state {
enum ctdb_eventscript_call call;
const char *options;
struct timeval timeout;
-   
+
unsigned int current;
struct ctdb_scripts_wire *scripts;
 };
@@ -160,9 +159,9 @@ static struct ctdb_scripts_wire 
*ctdb_get_script_list(struct ctdb_context *ctdb,
 {
struct dirent **namelist;
struct ctdb_scripts_wire *scripts;
-   int count;
+   int i, count;
 
-   /* scan all directory entries and insert all valid scripts into the 
+   /* scan all directory entries and insert all valid scripts into the
   tree
*/
count = scandir(ctdb->event_script_dir, &namelist, script_filter, 
alphasort);
@@ -178,19 +177,30 @@ static struct ctdb_scripts_wire 
*ctdb_get_script_list(struct ctdb_context *ctdb,
   + sizeof(scripts->scripts[0]) * count);
if (scripts == NULL) {
DEBUG(DEBUG_ERR, (__location__ " Failed to allocate 
scripts\n"));
-   free(namelist);
-   return NULL;
+   goto done;
}
scripts->num_scripts = count;
 
-   for (count = 0; count < scripts->num_scripts; count++) {
-   strcpy(scripts->scripts[count].name, namelist[count]->d_name);
-   scripts->scripts[count].status = 0;
-   if (!check_executable(ctdb->event_script_dir, 
namelist[count]->d_name)) {
-   scripts->scripts[count].status = -errno;
+   for (i = 0; i < count; i++) {
+   struct ctdb_script_wire *s = &scripts->scripts[i];
+
+   if (strlcpy(s->name, namelist[i]->d_name, sizeof(s->name))

autobuild: intermittent test failure detected

2015-03-13 Thread autobuild
The autobuild test system 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/2015-03-13-1729/flakey.log

The samba build logs are available here:

   http://git.samba.org/autobuild.flakey/2015-03-13-1729/samba.stderr
   http://git.samba.org/autobuild.flakey/2015-03-13-1729/samba.stdout
  
The top commit at the time of the failure was:

commit 07330d248bd3feb3c9748174dac407fca592638e
Author: Andreas Schneider 
Date:   Thu Mar 12 22:12:43 2015 +0100

replace: Remove superfluous check for gcrypt header.

We only need to check for the header if we need gnutls with gcrypt
support.

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

Signed-off-by: Andrew Bartlett 
Reviewed-by: Andreas Schneider 

Autobuild-User(master): Andreas Schneider 
Autobuild-Date(master): Fri Mar 13 01:00:27 CET 2015 on sn-devel-104


[SCM] Samba Website Repository - branch master updated

2015-03-13 Thread Lars Müller
The branch, master has been updated
   via  2194adc Add the 2015 User Survey back
  from  55e2ca9 Add date into the text

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


- Log -
commit 2194adc294aa1f7be0ca649574685220b10a2c51
Author: Lars Müller 
Date:   Fri Mar 13 15:05:51 2015 +0100

Add the 2015 User Survey back

---

Summary of changes:
 generated_news/latest_2_bodies.html | 10 ++
 1 file changed, 10 insertions(+)


Changeset truncated at 500 lines:

diff --git a/generated_news/latest_2_bodies.html 
b/generated_news/latest_2_bodies.html
index 4d6cf69..f7215e8 100644
--- a/generated_news/latest_2_bodies.html
+++ b/generated_news/latest_2_bodies.html
@@ -15,3 +15,13 @@ using GnuPG (ID 6568B7EA).  The source code can be
 http://samba.org/samba/ftp/stable/samba-4.2.0.tar.gz";>downloaded
 now. See http://samba.org/samba/history/samba-4.2.0.html";>
  the release notes for more info.
+
+
+   02 March 2015
+   Calling all Samba Users: 2015 User Survey
+
+What Samba features do you care about most? Do you have problems or
+ideas to tell the Samba Team? Which parts of the documentation are
+most important to you?
+The Samba Team invites all users to participate in the
+https://www.surveygizmo.com/s3/2020369/Samba-User-Survey-2015";>Samba 
Survey.


-- 
Samba Website Repository


autobuild: intermittent test failure detected

2015-03-13 Thread autobuild
The autobuild test system 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/2015-03-13-1059/flakey.log

The samba build logs are available here:

   http://git.samba.org/autobuild.flakey/2015-03-13-1059/samba.stderr
   http://git.samba.org/autobuild.flakey/2015-03-13-1059/samba.stdout
  
The top commit at the time of the failure was:

commit 07330d248bd3feb3c9748174dac407fca592638e
Author: Andreas Schneider 
Date:   Thu Mar 12 22:12:43 2015 +0100

replace: Remove superfluous check for gcrypt header.

We only need to check for the header if we need gnutls with gcrypt
support.

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

Signed-off-by: Andrew Bartlett 
Reviewed-by: Andreas Schneider 

Autobuild-User(master): Andreas Schneider 
Autobuild-Date(master): Fri Mar 13 01:00:27 CET 2015 on sn-devel-104


autobuild: intermittent test failure detected

2015-03-13 Thread autobuild
The autobuild test system 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/2015-03-13-0759/flakey.log

The samba build logs are available here:

   http://git.samba.org/autobuild.flakey/2015-03-13-0759/samba.stderr
   http://git.samba.org/autobuild.flakey/2015-03-13-0759/samba.stdout
  
The top commit at the time of the failure was:

commit 07330d248bd3feb3c9748174dac407fca592638e
Author: Andreas Schneider 
Date:   Thu Mar 12 22:12:43 2015 +0100

replace: Remove superfluous check for gcrypt header.

We only need to check for the header if we need gnutls with gcrypt
support.

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

Signed-off-by: Andrew Bartlett 
Reviewed-by: Andreas Schneider 

Autobuild-User(master): Andreas Schneider 
Autobuild-Date(master): Fri Mar 13 01:00:27 CET 2015 on sn-devel-104