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

2013-07-01 Thread Karolin Seeger
The branch, v4-0-test has been updated
   via  5c8e5ba VERSION: Bump version number up to 4.0.8...
   via  5e3a301 VERSION: Disable git snapshots for the 4.0.7 release.
  from  67a77db WHATSNEW: Add release notes for Samba 4.0.7.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test


- Log -
commit 5c8e5bad4ebe100277c72f1770b3aff4302e1eb3
Author: Karolin Seeger ksee...@samba.org
Date:   Fri Jun 28 10:54:57 2013 +0200

VERSION: Bump version number up to 4.0.8...

and re-enable git snapshots.

Signed-off-by: Karolin Seeger ksee...@samba.org

commit 5e3a3012f3083c40e70f89c1d96ffa6be91aa72a
Author: Karolin Seeger ksee...@samba.org
Date:   Fri Jun 28 10:47:42 2013 +0200

VERSION: Disable git snapshots for the 4.0.7 release.

Signed-off-by: Karolin Seeger ksee...@samba.org

---

Summary of changes:
 VERSION |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/VERSION b/VERSION
index 0eb98b6..be94a07 100644
--- a/VERSION
+++ b/VERSION
@@ -25,7 +25,7 @@
 
 SAMBA_VERSION_MAJOR=4
 SAMBA_VERSION_MINOR=0
-SAMBA_VERSION_RELEASE=7
+SAMBA_VERSION_RELEASE=8
 
 
 # If a official release has a serious bug  #


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch master updated

2013-07-01 Thread Matthieu Patou
The branch, master has been updated
   via  3d20d20 smbtorture: Make cracksname easier to debug by outputing 
the offered format
  from  74dd365 Fix a missing parenthesis in the LDAP search request

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


- Log -
commit 3d20d20c4c5a8214e8bfe67a1fee7bc1004201e5
Author: Matthieu Patou m...@matws.net
Date:   Sun Jun 30 20:40:07 2013 -0700

smbtorture: Make cracksname easier to debug by outputing the offered format

Reviewed-By: Jelmer Vernooij jel...@samba.org
Signed-off-by: Matthieu Patou m...@matws.net

Autobuild-User(master): Matthieu Patou m...@samba.org
Autobuild-Date(master): Mon Jul  1 11:22:57 CEST 2013 on sn-devel-104

---

Summary of changes:
 source4/torture/rpc/drsuapi_cracknames.c |   67 ++
 1 files changed, 49 insertions(+), 18 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/torture/rpc/drsuapi_cracknames.c 
b/source4/torture/rpc/drsuapi_cracknames.c
index f71910a..465f6db 100644
--- a/source4/torture/rpc/drsuapi_cracknames.c
+++ b/source4/torture/rpc/drsuapi_cracknames.c
@@ -87,6 +87,11 @@ static bool test_DsCrackNamesMatrix(struct torture_context 
*tctx,
r.in.req-req1.format_offered   = 
DRSUAPI_DS_NAME_FORMAT_FQDN_1779;
r.in.req-req1.format_desired   = formats[i];
names[0].str = dn;
+   torture_comment(tctx, Testing DsCrackNames (matrix prep) with 
name '%s'
+  offered format: %d desired format:%d\n,
+   names[0].str,
+   r.in.req-req1.format_offered,
+   r.in.req-req1.format_desired);
status = dcerpc_drsuapi_DsCrackNames_r(p-binding_handle, 
mem_ctx, r);
if (!NT_STATUS_IS_OK(status)) {
const char *errstr = nt_errstr(status);
@@ -273,8 +278,11 @@ bool test_DsCrackNames(struct torture_context *tctx,

names[0].str = dom_sid;
 
-   torture_comment(tctx, Testing DsCrackNames with name '%s' desired 
format:%d\n,
-   names[0].str, r.in.req-req1.format_desired);
+   torture_comment(tctx, Testing DsCrackNames with name '%s'
+  offered format: %d desired format:%d\n,
+   names[0].str,
+   r.in.req-req1.format_offered,
+   r.in.req-req1.format_desired);
 
status = dcerpc_drsuapi_DsCrackNames_r(p-binding_handle, mem_ctx, r);
if (!NT_STATUS_IS_OK(status)) {
@@ -295,8 +303,11 @@ bool test_DsCrackNames(struct torture_context *tctx,
 
r.in.req-req1.format_desired   = DRSUAPI_DS_NAME_FORMAT_GUID;
 
-   torture_comment(tctx, Testing DsCrackNames with name '%s' desired 
format:%d\n,
-   names[0].str, r.in.req-req1.format_desired);
+   torture_comment(tctx, Testing DsCrackNames with name '%s'
+  offered format: %d desired format:%d\n,
+   names[0].str,
+   r.in.req-req1.format_offered,
+   r.in.req-req1.format_desired);
 
status = dcerpc_drsuapi_DsCrackNames_r(p-binding_handle, mem_ctx, r);
if (!NT_STATUS_IS_OK(status)) {
@@ -318,8 +329,11 @@ bool test_DsCrackNames(struct torture_context *tctx,
 
r.in.req-req1.format_desired   = DRSUAPI_DS_NAME_FORMAT_FQDN_1779;
 
-   torture_comment(tctx, Testing DsCrackNames with name '%s' desired 
format:%d\n,
-   names[0].str, r.in.req-req1.format_desired);
+   torture_comment(tctx, Testing DsCrackNames with name '%s'
+  offered format: %d desired format:%d\n,
+   names[0].str,
+   r.in.req-req1.format_offered,
+   r.in.req-req1.format_desired);
 
status = dcerpc_drsuapi_DsCrackNames_r(p-binding_handle, mem_ctx, r);
if (!NT_STATUS_IS_OK(status)) {
@@ -363,8 +377,11 @@ bool test_DsCrackNames(struct torture_context *tctx,
r.in.req-req1.format_desired   = DRSUAPI_DS_NAME_FORMAT_FQDN_1779;
names[0].str = nt4_domain;
 
-   torture_comment(tctx, Testing DsCrackNames with name '%s' desired 
format:%d\n,
-   names[0].str, r.in.req-req1.format_desired);
+   torture_comment(tctx, Testing DsCrackNames with name '%s'
+  offered format: %d desired format:%d\n,
+   names[0].str,
+   r.in.req-req1.format_offered,
+   r.in.req-req1.format_desired);
 
status = dcerpc_drsuapi_DsCrackNames_r(p-binding_handle, mem_ctx, r);
if (!NT_STATUS_IS_OK(status)) {
@@ -386,8 +403,11 @@ bool test_DsCrackNames(struct torture_context *tctx,
   

[SCM] Samba Shared Repository - branch master updated

2013-07-01 Thread Jeremy Allison
The branch, master has been updated
   via  0b58eed tsocket: Pass the full port number to getaddrinfo().
  from  3d20d20 smbtorture: Make cracksname easier to debug by outputing 
the offered format

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


- Log -
commit 0b58eed3351e207b0a0f0d32fe37ea5bee9dbc33
Author: Andreas Schneider a...@samba.org
Date:   Mon Jul 1 17:05:33 2013 +0200

tsocket: Pass the full port number to getaddrinfo().

The code stripped port numbers above  down to 4 digits.

Signed-off-by: Andreas Schneider a...@samba.org
Reviewed-by: Jeremy Allison j...@samba.org

Autobuild-User(master): Jeremy Allison j...@samba.org
Autobuild-Date(master): Mon Jul  1 21:10:53 CEST 2013 on sn-devel-104

---

Summary of changes:
 lib/tsocket/tsocket_bsd.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/lib/tsocket/tsocket_bsd.c b/lib/tsocket/tsocket_bsd.c
index 4417f8e..fe39dfd 100644
--- a/lib/tsocket/tsocket_bsd.c
+++ b/lib/tsocket/tsocket_bsd.c
@@ -389,7 +389,7 @@ int _tsocket_address_inet_from_strings(TALLOC_CTX *mem_ctx,
return -1;
}
 
-   snprintf(port_str, sizeof(port_str) - 1, %u, port);
+   snprintf(port_str, sizeof(port_str), %u, port);
 
ret = getaddrinfo(addr, port_str, hints, result);
if (ret != 0) {


-- 
Samba Shared Repository


[SCM] CTDB repository - branch master updated - ctdb-2.2-59-gef1c4e9

2013-07-01 Thread Amitay Isaacs
The branch, master has been updated
   via  ef1c4e99ca66e7a990bc557f34abb624c315e6ba (commit)
   via  fcd5e1f04c5fe6c98399429b8f0918b8779acba6 (commit)
   via  932360992b08a5483d90c0590218ba0fd756119e (commit)
   via  741944f118e98f178b860194eecb215180949d18 (commit)
   via  ac06c46e4a80c635f6094b5ac6f0bf3e3a02db95 (commit)
   via  df30c0a05ed908fc2a997c56ff5484736b23b70f (commit)
   via  14399de1dd0bd8dabf1f48b1457e3ccb37589d8a (commit)
   via  aea12dce83ef385e9fb3bc03ac7ace0874a0e3fe (commit)
   via  ae1693905036ecdbc4594fde1f12500faae4a554 (commit)
   via  593a17678fbd3109e118154b034d43b852659518 (commit)
   via  93bcb6617e1024f810533e12390a572f51703ca0 (commit)
   via  815ddd3341b7e9db39e05a3a3fcd9a1420f053bc (commit)
   via  2396981c4bcf30530aeb7f4395093cc202105b50 (commit)
   via  38304f88e0c634e97d4687c25adef975f71537b8 (commit)
   via  a60f228f8380f222f838eb619d2ab55f96f11ac2 (commit)
   via  297d93cecc3c0655e72ecac38508e113bdbeab9c (commit)
   via  bb178338658b4ae32382a1f62f7c21cee1d4878f (commit)
   via  6a9dbb8fb0f1f6e8c206189cdc2d33bb371ea2a8 (commit)
   via  8d622660a14c929e365d306147b378ea6ab92175 (commit)
   via  34af2cdf686d5d77854cbaa7bbcd8f878e9171c7 (commit)
   via  c6f8407648abb37f2ed781afa5171dad8c9f59e9 (commit)
   via  46efe7a886f8c4c56f19536adc98a73c22db906a (commit)
   via  87716e8f504d659515d3dbcf93badbf106873bc8 (commit)
   via  478e24bceda3fedfba54ccb48faa115df726b819 (commit)
   via  4be8dff3a4451192f838497b4747273685959bed (commit)
   via  7eb2f89979360b6cc98ca9b17c48310277fa89fc (commit)
   via  4f87925a287f612a6ab3b5da1a387a31c7bea28f (commit)
  from  733fc909425860f6a02c205c2d8f34a731853922 (commit)

http://gitweb.samba.org/?p=ctdb.git;a=shortlog;h=master


- Log -
commit ef1c4e99ca66e7a990bc557f34abb624c315e6ba
Author: Amitay Isaacs ami...@gmail.com
Date:   Tue Jul 2 12:40:37 2013 +1000

ctdbd: Don't ban self if init or shutdown event fails

There is no point in banning the node if init or shutdown event times
out since it's going to quit anyway.

Signed-off-by: Amitay Isaacs ami...@gmail.com

commit fcd5e1f04c5fe6c98399429b8f0918b8779acba6
Author: Amitay Isaacs ami...@gmail.com
Date:   Thu Jun 27 17:46:43 2013 +1000

doc: The second half of monitoring is only for recovery master

Signed-off-by: Amitay Isaacs ami...@gmail.com

commit 932360992b08a5483d90c0590218ba0fd756119e
Author: Michael Adam ob...@samba.org
Date:   Wed Jun 26 09:23:22 2013 +0200

recoverd: when the recmaster is banned, use that information when forcing 
an election

When we trigger an election because the recmaster considers itself inactive,
update our local nodemap with the recmaster's flags before calling
force_election(). This way, we don't send the inactive node freeze commands
(e.g.) that may fail and then lead to ourselves getting banned.

The theory is that this should help avoiding banning loops.

Signed-off-by: Michael Adam ob...@samba.org

commit 741944f118e98f178b860194eecb215180949d18
Author: Michael Adam ob...@samba.org
Date:   Wed Jun 26 07:11:51 2013 +0200

recoverd: fix a comment typo

Signed-off-by: Michael Adam ob...@samba.org

commit ac06c46e4a80c635f6094b5ac6f0bf3e3a02db95
Author: Michael Adam ob...@samba.org
Date:   Fri Jun 21 17:57:37 2013 +0200

recoverd: fix a comment in main_loop

Signed-off-by: Michael Adam ob...@samba.org

commit df30c0a05ed908fc2a997c56ff5484736b23b70f
Author: Michael Adam ob...@samba.org
Date:   Fri Jun 21 14:06:22 2013 +0200

recoverd: eliminate some trailing spaces from ctdb_election_win()

Signed-off-by: Michael Adam ob...@samba.org

commit 14399de1dd0bd8dabf1f48b1457e3ccb37589d8a
Author: Martin Schwenke mar...@meltin.net
Date:   Fri Jun 28 16:31:07 2013 +1000

recoverd: Don't continue if the current node gets banned

Can not continue with recovery or monitoring cluster.

Signed-off-by: Martin Schwenke mar...@meltin.net
Pair-programmed-with: Amitay Isaacs ami...@gmail.com

commit aea12dce83ef385e9fb3bc03ac7ace0874a0e3fe
Author: Amitay Isaacs ami...@gmail.com
Date:   Fri Jun 28 14:31:02 2013 +1000

recoverd: Refactor code to ban misbehaving nodes

Since we have nodemap information, there is no need to hardcode the
limit of 20.

Signed-off-by: Amitay Isaacs ami...@gmail.com
Pair-Programmed-With: Martin Schwenke mar...@meltin.net

commit ae1693905036ecdbc4594fde1f12500faae4a554
Author: Amitay Isaacs ami...@gmail.com
Date:   Thu Jun 27 16:01:16 2013 +1000

recoverd: Move code to ban other nodes after we get local node flags

If a node gets banned first, then it should not ban other nodes.

This code was moved up in main_loop to avoid waiting for nodemap
from other nodes (commit