[SCM] CTDB repository - branch master updated - ctdb-1.13-17-g0ae2a46

2012-03-20 Thread Ronnie Sahlberg
The branch, master has been updated
   via  0ae2a46e37df8d84ce0c76b7a5d32d6e93af709b (commit)
   via  e6a8306257dece02313043274789b52cef1a5647 (commit)
   via  d0d98f7e45e5084b81335b004d50bddc80cdc219 (commit)
   via  cf96d6380de974c1abff7a33c62a7e31ac980551 (commit)
   via  035c0d981bde8c0eee8b3f24ba8e2dc817e5b504 (commit)
   via  1c976d83b1d7dac6f0ef81306774998e4c8b56a1 (commit)
   via  05923a14bc8ae8e3c5cda28ff4e0fb0d473d5f7d (commit)
   via  c37aa6f3738693653f64c2fa015ace061da38b5a (commit)
   via  eafd7bbaaa5931546a96c8beae3cf9a39a49c925 (commit)
   via  7d3931298e6477d92f43652c3006b0c426cb1307 (commit)
  from  af72f8bc05f78983f9624d81788f9d89af474b11 (commit)

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


- Log -
commit 0ae2a46e37df8d84ce0c76b7a5d32d6e93af709b
Author: Ronnie Sahlberg ronniesahlb...@gmail.com
Date:   Tue Mar 20 17:43:26 2012 +1100

DOC  regenerate the manpage

commit e6a8306257dece02313043274789b52cef1a5647
Author: Ronnie Sahlberg ronniesahlb...@gmail.com
Date:   Tue Mar 20 17:07:13 2012 +1100

STICKY   document the sticky record parameters

commit d0d98f7e45e5084b81335b004d50bddc80cdc219
Author: Ronnie Sahlberg ronniesahlb...@gmail.com
Date:   Tue Mar 20 16:58:35 2012 +1100

STICKY: add prototype code to make records stick to a node to calm down 
if they are found to be very hot and accessed by a lot of clients.

This can improve performance and stop clients from having to chase a 
rapidly migrating/bouncing record

commit cf96d6380de974c1abff7a33c62a7e31ac980551
Author: Ronnie Sahlberg ronniesahlb...@gmail.com
Date:   Tue Mar 20 12:25:47 2012 +1100

DOC: Document the MaxLACount tunable variable

commit 035c0d981bde8c0eee8b3f24ba8e2dc817e5b504
Author: Ronnie Sahlberg ronniesahlb...@gmail.com
Date:   Tue Mar 20 12:20:55 2012 +1100

LACOUNT:  Add back lacount mechanism to defer migrating a fetched/read copy 
until after default of 20 consecutive requests from the same node

This can improve performance slightly on certain workloads where smbds 
frequently read from the same record

commit 1c976d83b1d7dac6f0ef81306774998e4c8b56a1
Author: Ronnie Sahlberg ronniesahlb...@gmail.com
Date:   Tue Mar 20 12:08:12 2012 +1100

STATISTICS: add per-db hop count statistics

commit 05923a14bc8ae8e3c5cda28ff4e0fb0d473d5f7d
Author: Ronnie Sahlberg ronniesahlb...@gmail.com
Date:   Tue Mar 20 11:43:09 2012 +1100

CTDB: change how the hop count buckets are displayed in ctdb statistics

commit c37aa6f3738693653f64c2fa015ace061da38b5a
Author: Ronnie Sahlberg ronniesahlb...@gmail.com
Date:   Tue Mar 20 11:38:20 2012 +1100

DOC document the FetchCollapse tunable

commit eafd7bbaaa5931546a96c8beae3cf9a39a49c925
Author: Ronnie Sahlberg ronniesahlb...@gmail.com
Date:   Tue Mar 20 11:31:59 2012 +1100

FETCH COLLAPSE : Change the fetch-lock collapse to collapse ALL fetches, 
including fetch-locks into a single command in flight per record. Also add a 
tunable to enable/disable this optimization for hot records

commit 7d3931298e6477d92f43652c3006b0c426cb1307
Author: Ronnie Sahlberg ronniesahlb...@gmail.com
Date:   Wed Mar 7 17:02:41 2012 +1100

add max hop count buckets to see how bad hopcounts are

---

Summary of changes:
 client/ctdb_client.c  |   52 -
 common/ctdb_ltdb.c|1 +
 doc/ctdbd.1   |  684 -
 doc/ctdbd.1.html  |  175 +++-
 doc/ctdbd.1.xml   |   71 +
 include/ctdb_client.h |6 +
 include/ctdb_private.h|   11 +-
 include/ctdb_protocol.h   |8 +-
 server/ctdb_call.c|  282 ++-
 server/ctdb_control.c |   11 +
 server/ctdb_daemon.c  |   13 +-
 server/ctdb_ltdb_server.c |   22 ++
 server/ctdb_recover.c |3 +
 server/ctdb_tunables.c|7 +-
 tools/ctdb.c  |   85 ++-
 15 files changed, 1083 insertions(+), 348 deletions(-)


Changeset truncated at 500 lines:

diff --git a/client/ctdb_client.c b/client/ctdb_client.c
index 1b41439..b01e258 100644
--- a/client/ctdb_client.c
+++ b/client/ctdb_client.c
@@ -71,7 +71,7 @@ struct ctdb_req_header *_ctdbd_allocate_pkt(struct 
ctdb_context *ctdb,
 */
 int ctdb_call_local(struct ctdb_db_context *ctdb_db, struct ctdb_call *call,
struct ctdb_ltdb_header *header, TALLOC_CTX *mem_ctx,
-   TDB_DATA *data, bool updatetdb)
+   TDB_DATA *data, bool updatetdb, uint32_t caller)
 {
struct ctdb_call_info *c;
struct ctdb_registered_call *fn;
@@ -106,7 +106,15 @@ int ctdb_call_local(struct ctdb_db_context *ctdb_db, 
struct ctdb_call *call,
}
 
/* we need to force the record to be written out if this was a remote 
access */
-   if (c-new_data == NULL) {
+   if (header-laccessor != 

[SCM] CTDB repository - branch 1.13 updated - ctdb-1.13-12-g6802b43

2012-03-20 Thread Ronnie Sahlberg
The branch, 1.13 has been updated
   via  6802b43c09cd11cc3074882e7a43fae52dc914a5 (commit)
   via  3fa9a3654a2a647ed326dcc17014abdcf50902ac (commit)
   via  fea93c966d21e0b51790a92a828057b075effc56 (commit)
   via  6f857bfc9f6bc7bc45891439463757d61848850a (commit)
   via  b2cc874c5850ba7c7e893eab68a864858f47ad5b (commit)
   via  ae0d8cf3b829ae33cc0c9c9e7277c99244fe9919 (commit)
   via  55d3038f58b94ecf420e6e605cc0432395cd9b3b (commit)
   via  3732e3a7f1267fb26ab58796d8b90f001399ba85 (commit)
   via  57ecdcc4edad4b56d727acd06d85a1473f2453bd (commit)
   via  0fd0135065acb55e54f4c25bcac7c563427c8008 (commit)
  from  8d606e5f71072ccc60bcac54dfd9e92bb699c6e5 (commit)

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


- Log -
commit 6802b43c09cd11cc3074882e7a43fae52dc914a5
Author: Ronnie Sahlberg ronniesahlb...@gmail.com
Date:   Tue Mar 20 17:43:26 2012 +1100

DOC  regenerate the manpage

commit 3fa9a3654a2a647ed326dcc17014abdcf50902ac
Author: Ronnie Sahlberg ronniesahlb...@gmail.com
Date:   Tue Mar 20 17:07:13 2012 +1100

STICKY   document the sticky record parameters

commit fea93c966d21e0b51790a92a828057b075effc56
Author: Ronnie Sahlberg ronniesahlb...@gmail.com
Date:   Tue Mar 20 16:58:35 2012 +1100

STICKY: add prototype code to make records stick to a node to calm down 
if they are found to be very hot and accessed by a lot of clients.

This can improve performance and stop clients from having to chase a 
rapidly migrating/bouncing record

commit 6f857bfc9f6bc7bc45891439463757d61848850a
Author: Ronnie Sahlberg ronniesahlb...@gmail.com
Date:   Tue Mar 20 12:25:47 2012 +1100

DOC: Document the MaxLACount tunable variable

commit b2cc874c5850ba7c7e893eab68a864858f47ad5b
Author: Ronnie Sahlberg ronniesahlb...@gmail.com
Date:   Tue Mar 20 12:20:55 2012 +1100

LACOUNT:  Add back lacount mechanism to defer migrating a fetched/read copy 
until after default of 20 consecutive requests from the same node

This can improve performance slightly on certain workloads where smbds 
frequently read from the same record

commit ae0d8cf3b829ae33cc0c9c9e7277c99244fe9919
Author: Ronnie Sahlberg ronniesahlb...@gmail.com
Date:   Tue Mar 20 12:08:12 2012 +1100

STATISTICS: add per-db hop count statistics

commit 55d3038f58b94ecf420e6e605cc0432395cd9b3b
Author: Ronnie Sahlberg ronniesahlb...@gmail.com
Date:   Tue Mar 20 11:43:09 2012 +1100

CTDB: change how the hop count buckets are displayed in ctdb statistics

commit 3732e3a7f1267fb26ab58796d8b90f001399ba85
Author: Ronnie Sahlberg ronniesahlb...@gmail.com
Date:   Tue Mar 20 11:38:20 2012 +1100

DOC document the FetchCollapse tunable

commit 57ecdcc4edad4b56d727acd06d85a1473f2453bd
Author: Ronnie Sahlberg ronniesahlb...@gmail.com
Date:   Tue Mar 20 11:31:59 2012 +1100

FETCH COLLAPSE : Change the fetch-lock collapse to collapse ALL fetches, 
including fetch-locks into a single command in flight per record. Also add a 
tunable to enable/disable this optimization for hot records

commit 0fd0135065acb55e54f4c25bcac7c563427c8008
Author: Ronnie Sahlberg ronniesahlb...@gmail.com
Date:   Wed Mar 7 17:02:41 2012 +1100

add max hop count buckets to see how bad hopcounts are

---

Summary of changes:
 client/ctdb_client.c  |   52 -
 common/ctdb_ltdb.c|1 +
 doc/ctdbd.1   |  684 -
 doc/ctdbd.1.html  |  175 +++-
 doc/ctdbd.1.xml   |   71 +
 include/ctdb_client.h |6 +
 include/ctdb_private.h|   11 +-
 include/ctdb_protocol.h   |8 +-
 server/ctdb_call.c|  282 ++-
 server/ctdb_control.c |   11 +
 server/ctdb_daemon.c  |   13 +-
 server/ctdb_ltdb_server.c |   22 ++
 server/ctdb_recover.c |3 +
 server/ctdb_tunables.c|7 +-
 tools/ctdb.c  |   85 ++-
 15 files changed, 1083 insertions(+), 348 deletions(-)


Changeset truncated at 500 lines:

diff --git a/client/ctdb_client.c b/client/ctdb_client.c
index 1b41439..b01e258 100644
--- a/client/ctdb_client.c
+++ b/client/ctdb_client.c
@@ -71,7 +71,7 @@ struct ctdb_req_header *_ctdbd_allocate_pkt(struct 
ctdb_context *ctdb,
 */
 int ctdb_call_local(struct ctdb_db_context *ctdb_db, struct ctdb_call *call,
struct ctdb_ltdb_header *header, TALLOC_CTX *mem_ctx,
-   TDB_DATA *data, bool updatetdb)
+   TDB_DATA *data, bool updatetdb, uint32_t caller)
 {
struct ctdb_call_info *c;
struct ctdb_registered_call *fn;
@@ -106,7 +106,15 @@ int ctdb_call_local(struct ctdb_db_context *ctdb_db, 
struct ctdb_call *call,
}
 
/* we need to force the record to be written out if this was a remote 
access */
-   if (c-new_data == NULL) {
+   if (header-laccessor != caller) 

[SCM] Samba Website Repository - branch master updated

2012-03-20 Thread Michael Adam
The branch, master has been updated
   via  83705c1 Add blog post about SMB2.2 interop event from my blog.
  from  4a461a3 Announce Samba 3.5.13.

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


- Log -
commit 83705c149aac61b80d60944eb65ed7597b78eed8
Author: Michael Adam ob...@samba.org
Date:   Tue Mar 20 13:53:08 2012 +0100

Add blog post about SMB2.2 interop event from my blog.

---

Summary of changes:
 ...-visits-microsoft-for-smb2-2-interop-event.html |   46 
 1 files changed, 46 insertions(+), 0 deletions(-)
 create mode 100644 
news/developers/obnox-samba-team-visits-microsoft-for-smb2-2-interop-event.html


Changeset truncated at 500 lines:

diff --git 
a/news/developers/obnox-samba-team-visits-microsoft-for-smb2-2-interop-event.html
 
b/news/developers/obnox-samba-team-visits-microsoft-for-smb2-2-interop-event.html
new file mode 100644
index 000..251d917
--- /dev/null
+++ 
b/news/developers/obnox-samba-team-visits-microsoft-for-smb2-2-interop-event.html
@@ -0,0 +1,46 @@
+!--#include virtual=/samba/header.html --
+titleSamba - opening windows to a wider world/title
+!--#include virtual=/samba/global_menu.html --
+
+h2Samba Team Visits Microsoft For SMB2.2 Interop Event/h2
+
+p
+span class=meta-prep meta-prep-authorPosted on/span a 
href=http://blog.obnox.de/samba-team-visits-microsoft-for-smb2-2-interop-event/;
 title=1:23 pm rel=bookmarkspan class=entry-dateMarch 13, 
2012/span/a span class=meta-sepby/span span class=author vcarda 
class=url fn n href=http://blog.obnox.de/author/obnox/; title=View all 
posts by obnoxobnox/a/span
+/p
+
+div class=entry-content
+
+pIn the week of February 27 to March 2, 2012, a few Samba developers 
accepted an invitation by Microsoft and attended an SMB2.2 testing opportunity 
at Microsofts Enterprise Engineering Center in Redmond. Jeremy Allison, Steve 
French, Volker Lendecke, Chris Hertel, Christian Ambach, Matthieu Patou and I 
found our way to Redmond with Stefan Metzmacher participating to some extent 
via IRC and mumble. For me, the event was a big success, and I am happy that I 
finally made up my mind to go there.  This is my personal report./p
+pa 
href=http://blog.obnox.de/wp-content/uploads/2012/03/20120227_222123.jpg;img 
class=size-medium wp-image-45 aligncenter title=ECC 
src=http://blog.obnox.de/wp-content/uploads/2012/03/20120227_222123-300x225.jpg;
 alt= width=300 height=225 //a/p
+h3strongBackground/strong/h3
+pMicrosoft will ship a new version 2.2 of the SMB protocol with Windows 8. 
Along with this, a whole new scale out clustering mode is added. The target of 
these new features is clearly server workload instead of client workload, the 
two most prominent applications being Virtualization (Hyper-V) and SQL. These 
two applications that were originally typical applications that ran from 
SAN-Storage, can now run directly from SMB2.2, and they can go even further 
when an RDMA adapter is installed, thanks to the new RDMA support in SMB2.2 
called SMB Direct. Other intersting features in SMB2.2 are multi-channel 
sessions and persistent file handles that can survive server failures without 
data loss./p
+pThese new features were first presented at the a title=Storage Developer 
Conference href=http://www.snia.org/events/storage-developer2011; 
target=_blankStorage Developer Conference/a in September 2011./p
+pThere are preview versions of the documents for these new features 
available from the a title=msdn library - open specifications 
href=http://msdn.microsoft.com/en-us/library/dd208104%28v=prot.10%29.aspx; 
target=_blankmsdn library/a, but they are not complete yet and partly 
still subject to change. Since February 29, the beta version of Windows 8 can 
be tested. While the client is freely available, the server variant is only 
available via MSDN subscriptions. Before this date, only a preview from 
September 2011 was available that did not yet support many of the announced 
features./p
+h3The strongTest Setup/strong/h3
+pMicrosoft had established two test environments for us with a domain and 
Windows 8 clients equipped with some test suites. One network contained a 
Windows 8 cluster server installation, and in the other network was intended 
for us to integrate our own server implementations to run Microsoft#8217;s 
test suite against./p
+pAfter we had trouble accessing our test network the first day, it worked 
nicely from the second day on and gave us the opportunity to run tests against 
Windows 8 beta. It was especially useful to run tests against a fully installed 
Windows 8 cluster./p
+h3Signing/h3
+pSince the beta release, Windows 8 sports a new signing algorithm, aes-cmac, 
that had not been available in earlier Window 8 previews. In a joint effort 
with Jeremy and Metze, we were able to fix the last bugs in the code that Metze 
had written in the 

[SCM] Samba Shared Repository - branch master updated

2012-03-20 Thread Jelmer Vernooij
The branch, master has been updated
   via  7639ebe librpc/wscript_build: Fix formatting.
   via  d875327 Move NS_GUID_string and NS_GUID_from_string to dsdb-common.
   via  0b6dea9 libndr: Define trivial is_valid_policy_hnd as macro.
   via  b4d35be libndr: Rename policy_handle_empty to 
ndr_policy_handle_empty.
   via  f92b05b libndr: Rename policy_handle_equal to 
ndr_policy_handle_equal.
   via  95ca5fb libndr: Rename ndr64_transfer_syntax and null_ndr_syntax_id 
so they have a ndr_ prefix.
   via  6058977 librpc/wscript_build: Santizize formatting.
  from  0902392 s3-winbindd Only use SamLogonEx when we can get unencrypted 
session keys

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


- Log -
commit 7639ebe1ef6535ae1ffb4c9db8810c089136f434
Author: Jelmer Vernooij jel...@samba.org
Date:   Tue Mar 20 13:50:18 2012 +0100

librpc/wscript_build: Fix formatting.

Autobuild-User: Jelmer Vernooij jel...@samba.org
Autobuild-Date: Tue Mar 20 15:26:14 CET 2012 on sn-devel-104

commit d875327b10ca0fd3d548b4e9088ffcc7ef421baf
Author: Jelmer Vernooij jel...@samba.org
Date:   Sun Mar 18 18:46:18 2012 +0100

Move NS_GUID_string and NS_GUID_from_string to dsdb-common.

commit 0b6dea9d664841d505acd75ac5449e953f60db74
Author: Jelmer Vernooij jel...@samba.org
Date:   Sun Mar 18 18:04:17 2012 +0100

libndr: Define trivial is_valid_policy_hnd as macro.

This makes the NDR namespace a bit clearer, in preparation of ABI checking.

commit b4d35bee38a4cfd0eba26956dde2c5bb23cdb1c3
Author: Jelmer Vernooij jel...@samba.org
Date:   Sun Mar 18 17:44:24 2012 +0100

libndr: Rename policy_handle_empty to ndr_policy_handle_empty.

This makes the NDR namespace a bit clearer, in preparation of ABI checking.

commit f92b05b95575d45e91dcd2885fb4e2d202deb9ae
Author: Jelmer Vernooij jel...@samba.org
Date:   Sun Mar 18 16:54:21 2012 +0100

libndr: Rename policy_handle_equal to ndr_policy_handle_equal.

This makes the NDR namespace a bit clearer, in preparation of ABI checking.

commit 95ca5fbadd390fe056ee2e8f9716ee478904458e
Author: Jelmer Vernooij jel...@samba.org
Date:   Sun Mar 18 16:46:57 2012 +0100

libndr: Rename ndr64_transfer_syntax and null_ndr_syntax_id so they have a 
ndr_ prefix.

This makes the NDR namespace a bit clearer, in preparation of ABI checking.

commit 6058977f900c513eafe20201d0b1b0d13727ba13
Author: Jelmer Vernooij jel...@samba.org
Date:   Sun Mar 18 02:21:24 2012 +0100

librpc/wscript_build: Santizize formatting.

---

Summary of changes:
 librpc/ndr/libndr.h  |   14 +-
 librpc/ndr/ndr.c |   15 +-
 librpc/ndr/uuid.c|   61 +--
 librpc/rpc/binding.c |6 +-
 librpc/wscript_build |  771 +++---
 source3/lib/netapi/samr.c|6 +-
 source3/rpc_client/cli_pipe.c|6 +-
 source3/rpc_server/epmapper/srv_epmapper.c   |8 +-
 source3/rpc_server/rpc_ncacn_np.c|4 +-
 source3/rpc_server/srv_pipe.c|6 +-
 source4/dsdb/common/util.c   |   52 ++
 source4/dsdb/common/util.h   |   10 +
 source4/dsdb/samdb/ldb_modules/simple_ldap_map.c |1 +
 source4/dsdb/samdb/ldb_modules/wscript_build |2 +-
 source4/libnet/libnet_domain.c   |2 +-
 source4/libnet/prereq_domain.c   |8 +-
 source4/librpc/rpc/dcerpc_auth.c |4 +-
 source4/librpc/rpc/pyrpc.c   |5 +-
 source4/rpc_server/dcerpc_server.c   |   12 +-
 source4/rpc_server/epmapper/rpc_epmapper.c   |4 +-
 source4/rpc_server/handles.c |2 +-
 source4/torture/rpc/epmapper.c   |   12 +-
 source4/torture/rpc/samr.c   |   13 +-
 23 files changed, 516 insertions(+), 508 deletions(-)


Changeset truncated at 500 lines:

diff --git a/librpc/ndr/libndr.h b/librpc/ndr/libndr.h
index 36adae9..37a3145 100644
--- a/librpc/ndr/libndr.h
+++ b/librpc/ndr/libndr.h
@@ -353,9 +353,9 @@ typedef void (*ndr_print_function_t)(struct ndr_print *, 
const char *, int, cons
 #include ../libcli/util/error.h
 #include librpc/gen_ndr/misc.h
 
-extern const struct ndr_syntax_id ndr_transfer_syntax;
-extern const struct ndr_syntax_id ndr64_transfer_syntax;
-extern const struct ndr_syntax_id null_ndr_syntax_id;
+extern const struct ndr_syntax_id ndr_transfer_syntax_ndr;
+extern const struct ndr_syntax_id ndr_transfer_syntax_ndr64;
+extern const struct ndr_syntax_id ndr_syntax_id_null;
 
 struct ndr_interface_call_pipe {
const char *name;
@@ -555,9 +555,9 @@ NDR_SCALAR_PROTO(double, double)
 enum ndr_err_code 

[SCM] Samba Shared Repository - branch v3-5-test updated

2012-03-20 Thread Karolin Seeger
The branch, v3-5-test has been updated
   via  4898de8 WHATSNEW: Start release notes for 3.5.14.
   via  33d3329 VERSION: Bump version up to 3.5.14.
   via  c119cd8 s3-winbindd Only use SamLogonEx when we can get unencrypted 
session keys
  from  81703ab v3-6-test: Further fix for bug 8338

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


- Log -
commit 4898de8a5e2f715c4672c75fa44408e756724627
Author: Karolin Seeger ksee...@samba.org
Date:   Tue Mar 20 21:27:17 2012 +0100

WHATSNEW: Start release notes for 3.5.14.

Karolin

commit 33d332960fa266a08ff0ee72945101051fa4d71e
Author: Karolin Seeger ksee...@samba.org
Date:   Tue Mar 20 21:24:51 2012 +0100

VERSION: Bump version up to 3.5.14.

Karolin

commit c119cd8868fc7e2eb08b09f7092519007fd83bf6
Author: Andrew Bartlett abart...@samba.org
Date:   Thu Dec 15 09:57:56 2011 +1100

s3-winbindd Only use SamLogonEx when we can get unencrypted session keys

This ensures that we have some check on the session keys being returned
as the RC4 cipher is not checksumed.

The check comes from the fact that the credentials chain is tied to
the netlgon session key, and so if the credentials check passes then
the netlogon session key will be correct, and so the user session key
will be correctly decrypted.

Andrew Bartlett

Signed-off-by: Matthieu Patou m...@matws.net

s3: If we can't do validation 6 or sam_logon_ex use sam_logon only

---

Summary of changes:
 WHATSNEW.txt|   48 --
 source3/VERSION |2 +-
 source3/winbindd/winbindd_pam.c |4 +-
 3 files changed, 48 insertions(+), 6 deletions(-)


Changeset truncated at 500 lines:

diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index d90d69c..391af0b 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -1,4 +1,46 @@
==
+   Release Notes for Samba 3.5.14
+ , 2012
+   ==
+
+
+This is the latest stable release of Samba 3.5.
+
+Major enhancements in Samba 3.5.14 include:
+
+o  
+
+Changes since 3.5.13:
+-
+
+
+o   Jeremy Allison j...@samba.org
+
+
+##
+Reporting bugs  Development Discussion
+###
+
+Please discuss this release on the samba-technical mailing list or by
+joining the #samba-technical IRC channel on irc.freenode.net.
+
+If you do report problems then please try to send high quality
+feedback. If you don't provide vital information to help us track down
+the problem then you will probably be ignored.  All bug reports should
+be filed under the Samba 3.5 product in the project's Bugzilla
+database (https://bugzilla.samba.org/).
+
+
+==
+== Our Code, Our Bugs, Our Responsibility.
+== The Samba Team
+==
+
+
+Release notes for older releases follow:
+
+
+   ==
Release Notes for Samba 3.5.13
  March 12, 2012
==
@@ -69,7 +111,7 @@ o   Volker Lendecke v...@samba.org
   causing uninitialized memory read.
 
 
-o   Stefan Metzmacher me...@samba.org
+o   Stefan Metzmacher me...@samba.org
 * BUG 5326: Fix cli_write_and_x() against OS/2 print shares.
 * BUG 8562: Fix double free error (talloc).
 * BUG 8593: Fix a crash bug in cldap_socket_recv_dgram().
@@ -121,8 +163,8 @@ database (https://bugzilla.samba.org/).
 ==
 
 
-Release notes for older releases follow:
-
+--
+
 
==
Release Notes for Samba 3.5.12
diff --git a/source3/VERSION b/source3/VERSION
index c58d08c..700054e 100644
--- a/source3/VERSION
+++ b/source3/VERSION
@@ -25,7 +25,7 @@
 
 SAMBA_VERSION_MAJOR=3
 SAMBA_VERSION_MINOR=5
-SAMBA_VERSION_RELEASE=13
+SAMBA_VERSION_RELEASE=14
 
 
 # Bug fix releases use a letter for the patch revision #
diff --git a/source3/winbindd/winbindd_pam.c b/source3/winbindd/winbindd_pam.c
index 26fdc5a..b0b8e40 100644
--- a/source3/winbindd/winbindd_pam.c
+++ b/source3/winbindd/winbindd_pam.c
@@ -1365,7 +1365,7 @@ static NTSTATUS winbindd_dual_pam_auth_samlogon(struct 
winbindd_domain *domain,

[SCM] Samba Shared Repository - branch v3-5-stable updated

2012-03-20 Thread Karolin Seeger
The branch, v3-5-stable has been updated
   via  8f46865 WHATSNEW: Start release notes for 3.5.14.
   via  1359c0d VERSION: Bump version up to 3.5.14.
  from  e2250ba WHATSNEW: Update 3.5.13 release notes.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-5-stable


- Log -
commit 8f468654753c7d99bbb14132eb619285fa99e7fc
Author: Karolin Seeger ksee...@samba.org
Date:   Tue Mar 20 21:27:17 2012 +0100

WHATSNEW: Start release notes for 3.5.14.

Karolin
(cherry picked from commit 4898de8a5e2f715c4672c75fa44408e756724627)

commit 1359c0df1923200e21a861621cc7b422432fc7c0
Author: Karolin Seeger ksee...@samba.org
Date:   Tue Mar 20 21:24:51 2012 +0100

VERSION: Bump version up to 3.5.14.

Karolin
(cherry picked from commit 33d332960fa266a08ff0ee72945101051fa4d71e)

---

Summary of changes:
 WHATSNEW.txt|   48 +---
 source3/VERSION |2 +-
 2 files changed, 46 insertions(+), 4 deletions(-)


Changeset truncated at 500 lines:

diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index d90d69c..391af0b 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -1,4 +1,46 @@
==
+   Release Notes for Samba 3.5.14
+ , 2012
+   ==
+
+
+This is the latest stable release of Samba 3.5.
+
+Major enhancements in Samba 3.5.14 include:
+
+o  
+
+Changes since 3.5.13:
+-
+
+
+o   Jeremy Allison j...@samba.org
+
+
+##
+Reporting bugs  Development Discussion
+###
+
+Please discuss this release on the samba-technical mailing list or by
+joining the #samba-technical IRC channel on irc.freenode.net.
+
+If you do report problems then please try to send high quality
+feedback. If you don't provide vital information to help us track down
+the problem then you will probably be ignored.  All bug reports should
+be filed under the Samba 3.5 product in the project's Bugzilla
+database (https://bugzilla.samba.org/).
+
+
+==
+== Our Code, Our Bugs, Our Responsibility.
+== The Samba Team
+==
+
+
+Release notes for older releases follow:
+
+
+   ==
Release Notes for Samba 3.5.13
  March 12, 2012
==
@@ -69,7 +111,7 @@ o   Volker Lendecke v...@samba.org
   causing uninitialized memory read.
 
 
-o   Stefan Metzmacher me...@samba.org
+o   Stefan Metzmacher me...@samba.org
 * BUG 5326: Fix cli_write_and_x() against OS/2 print shares.
 * BUG 8562: Fix double free error (talloc).
 * BUG 8593: Fix a crash bug in cldap_socket_recv_dgram().
@@ -121,8 +163,8 @@ database (https://bugzilla.samba.org/).
 ==
 
 
-Release notes for older releases follow:
-
+--
+
 
==
Release Notes for Samba 3.5.12
diff --git a/source3/VERSION b/source3/VERSION
index c2e6e94..d6e661b 100644
--- a/source3/VERSION
+++ b/source3/VERSION
@@ -25,7 +25,7 @@
 
 SAMBA_VERSION_MAJOR=3
 SAMBA_VERSION_MINOR=5
-SAMBA_VERSION_RELEASE=13
+SAMBA_VERSION_RELEASE=14
 
 
 # Bug fix releases use a letter for the patch revision #


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch v3-6-test updated

2012-03-20 Thread Karolin Seeger
The branch, v3-6-test has been updated
   via  8852ad6 s3-winbindd Only use SamLogonEx when we can get unencrypted 
session keys
  from  2815036 Fix bug #8797 - Samba does not correctly handle DENY ACEs 
when privileges apply. Signed-off-by: Jeremy Allison j...@samba.org (cherry 
picked from commit 9aafc490db58017133bbd7a7f49264ee0d48f0ff)

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


- Log -
commit 8852ad6bd77b44e9dd71de3994869f5603964ef7
Author: Andrew Bartlett abart...@samba.org
Date:   Thu Dec 15 10:00:36 2011 +1100

s3-winbindd Only use SamLogonEx when we can get unencrypted session keys

This ensures that we have some check on the session keys being returned
as the RC4 cipher is not checksumed.

The check comes from the fact that the credentials chain is tied to
the session key, and so if the credentials check passes then the
netlogon session key will be correct, and so the user session key
will be correctly decrypted.

Andrew Bartlett

Part of a fix for bug #8599 (WINBINDD_PAM_AUTH_CRAP returns invalid user 
session
key).

---

Summary of changes:
 source3/winbindd/winbindd_pam.c |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/winbindd/winbindd_pam.c b/source3/winbindd/winbindd_pam.c
index 9801f53..4c078df 100644
--- a/source3/winbindd/winbindd_pam.c
+++ b/source3/winbindd/winbindd_pam.c
@@ -1233,7 +1233,7 @@ static NTSTATUS winbind_samlogon_retry_loop(struct 
winbindd_domain *domain,
domain-can_do_validation6 = false;
}
 
-   if (domain-can_do_samlogon_ex) {
+   if (domain-can_do_samlogon_ex  domain-can_do_validation6) {
result = rpccli_netlogon_sam_network_logon_ex(
netlogon_pipe,
mem_ctx,
@@ -1243,7 +1243,7 @@ static NTSTATUS winbind_samlogon_retry_loop(struct 
winbindd_domain *domain,
domainname, /* target domain */
workstation,/* workstation */
chal,
-   domain-can_do_validation6 ? 6 : 3,
+   6,
lm_response,
nt_response,
info3);


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch master updated

2012-03-20 Thread Amitay Isaacs
The branch, master has been updated
   via  b114043 s4-upgradedns: Add DNS partitions in msDS-hasMasterNCs in 
NTDS settings
   via  ffce812 s4-rpc: dnsserver: Fix IPv6 reverse zone handling
   via  8a39c5c s4-upgradedns: Allow fixing of dns provision after domain 
join
  from  7639ebe librpc/wscript_build: Fix formatting.

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


- Log -
commit b114043c4641f4559e3b02a0b094153d83bb328e
Author: Amitay Isaacs ami...@gmail.com
Date:   Wed Mar 14 19:34:54 2012 +1100

s4-upgradedns: Add DNS partitions in msDS-hasMasterNCs in NTDS settings

Autobuild-User: Amitay Isaacs ami...@samba.org
Autobuild-Date: Wed Mar 21 03:16:22 CET 2012 on sn-devel-104

commit ffce812c22932704618bee212f07f43907e78083
Author: Amitay Isaacs ami...@gmail.com
Date:   Tue Mar 13 12:05:10 2012 +1100

s4-rpc: dnsserver: Fix IPv6 reverse zone handling

Thanks to Marcel Ritter marcel.rit...@rrze.fau.de for the patch.

commit 8a39c5c3a1cd3868a5829da21bf87e2b370dd4cc
Author: Amitay Isaacs ami...@gmail.com
Date:   Tue Mar 13 11:51:02 2012 +1100

s4-upgradedns: Allow fixing of dns provision after domain join

This change allows samba_upgradedns script to be run even on existing
dns provision (DLZ_BIND9 or SAMBA_INTERNAL) without any side effects.
This allows to fix dns provision after samba-tool domain join for
running BIND with DLZ plugin.

---

Summary of changes:
 source4/rpc_server/dnsserver/dnsutils.c |7 ++
 source4/scripting/bin/samba_upgradedns  |  135 ++-
 2 files changed, 103 insertions(+), 39 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/rpc_server/dnsserver/dnsutils.c 
b/source4/rpc_server/dnsserver/dnsutils.c
index 52a8bdd..8140296 100644
--- a/source4/rpc_server/dnsserver/dnsutils.c
+++ b/source4/rpc_server/dnsserver/dnsutils.c
@@ -159,6 +159,7 @@ struct dnsserver_zoneinfo *dnsserver_init_zoneinfo(struct 
dnsserver_zone *zone,
struct dnsserver_zoneinfo *zoneinfo;
uint32_t fReverse;
const char *revzone = in-addr.arpa;
+   const char *revzone6 = ip6.arpa;
int len1, len2;
 
zoneinfo = talloc_zero(zone, struct dnsserver_zoneinfo);
@@ -167,11 +168,17 @@ struct dnsserver_zoneinfo *dnsserver_init_zoneinfo(struct 
dnsserver_zone *zone,
}
 
/* If the zone name ends with in-addr.arpa, it's reverse zone */
+   /* If the zone name ends with ip6.arpa, it's reverse zone (IPv6) */
fReverse = 0;
len1 = strlen(zone-name);
len2 = strlen(revzone);
if (len1  len2  strcasecmp(zone-name[len1-len2], revzone) == 0) {
fReverse = 1;
+   } else {
+   len2 = strlen(revzone6);
+   if (len1  len2  strcasecmp(zone-name[len1-len2], revzone6) 
== 0) {
+   fReverse = 1;
+   }
}
 
zoneinfo-Version = 0x32;
diff --git a/source4/scripting/bin/samba_upgradedns 
b/source4/scripting/bin/samba_upgradedns
index 3a6c0b7..1a42e0c 100755
--- a/source4/scripting/bin/samba_upgradedns
+++ b/source4/scripting/bin/samba_upgradedns
@@ -323,6 +323,8 @@ if __name__ == '__main__':
 logger.info(Adding DNS accounts)
 add_dns_accounts(ldbs.sam, domaindn)
 dnsadmins_sid = get_dnsadmins_sid(ldbs.sam, domaindn)
+else:
+logger.info(DNS accounts already exist)
 
 # Import dns records from zone file
 if os.path.exists(paths.dns):
@@ -340,55 +342,110 @@ if __name__ == '__main__':
 logger.warn(DNS records will be automatically created)
 autofill = True
 
-# Fill DNS information
-logger.info(Creating DNS partitions)
-create_dns_partitions(ldbs.sam, domainsid, names, domaindn, forestdn,
+# Create DNS partitions if missing and fill DNS information
+try:
+expression = 
'(|(dnsRoot=DomainDnsZones.%s)(dnsRoot=ForestDnsZones.%s))' % \
+ (dnsdomain, dnsdomain)
+msg = ldbs.sam.search(base=names.configdn, scope=ldb.SCOPE_DEFAULT,
+  expression=expression, attrs=['nCName'])
+ncname = msg[0]['nCName'][0]
+except Exception, e:
+logger.info(Creating DNS partitions)
+create_dns_partitions(ldbs.sam, domainsid, names, domaindn, forestdn,
   dnsadmins_sid)
 
-logger.info(Populating DNS partitions)
-fill_dns_data_partitions(ldbs.sam, domainsid, site, domaindn, forestdn,
+logger.info(Populating DNS partitions)
+fill_dns_data_partitions(ldbs.sam, domainsid, site, domaindn, forestdn,
  dnsdomain, dnsforest, hostname, hostip, hostip6,
  domainguid, ntdsguid, dnsadmins_sid,
  autofill=autofill)
 
-if not autofill:
-

autobuild: intermittent test failure detected

2012-03-20 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/2012-03-21-0427/flakey.log

The samba3 build logs are available here:

   http://git.samba.org/autobuild.flakey/2012-03-21-0427/samba3.stderr
   http://git.samba.org/autobuild.flakey/2012-03-21-0427/samba3.stdout

The source4 build logs are available here:

   http://git.samba.org/autobuild.flakey/2012-03-21-0427/samba4.stderr
   http://git.samba.org/autobuild.flakey/2012-03-21-0427/samba4.stdout
  
The top commit at the time of the failure was:

commit b114043c4641f4559e3b02a0b094153d83bb328e
Author: Amitay Isaacs ami...@gmail.com
Date:   Wed Mar 14 19:34:54 2012 +1100

s4-upgradedns: Add DNS partitions in msDS-hasMasterNCs in NTDS settings

Autobuild-User: Amitay Isaacs ami...@samba.org
Autobuild-Date: Wed Mar 21 03:16:22 CET 2012 on sn-devel-104