[SCM] Samba Website Repository - branch master updated

2013-02-05 Thread Lars Müller
The branch, master has been updated
   via  b16e731 Add missing http://
  from  99c15cd Fix CVE ID typo

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


- Log -
commit b16e73157e9f047a111344e35932dc0388cf3250
Author: Lars Müller 
Date:   Tue Feb 5 11:58:27 2013 +0100

Add missing http://

---

Summary of changes:
 support/germany.html |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/support/germany.html b/support/germany.html
index 3aa5ad1..0f69910 100644
--- a/support/germany.html
+++ b/support/germany.html
@@ -41,7 +41,7 @@ Linux Information Systems AG
 Putzbrunner strasse 71, 81739
 München, Bayern, Germany
 
-www.linux-ag.com
+http://www.linux-ag.com";>www.linux-ag.com
 mailto:i...@linux-ag.com";>i...@linux-ag.com
 Marc Zenker
 


-- 
Samba Website Repository


[SCM] Samba Website Repository - branch master updated

2013-02-05 Thread Lars Müller
The branch, master has been updated
   via  ef8fefa Remove personal contact on request
   via  1d72c5e Add http:// to the visible part of the link too
  from  b16e731 Add missing http://

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


- Log -
commit ef8fefacae3cc238a32292dc6c6ae48925a9481f
Author: Lars Müller 
Date:   Tue Feb 5 12:26:27 2013 +0100

Remove personal contact on request

The actal request was filed by Thilo Uttendorfer

commit 1d72c5e01100f90f0c786f5efe987f78254b0f93
Author: Lars Müller 
Date:   Tue Feb 5 12:23:01 2013 +0100

Add http:// to the visible part of the link too

---

Summary of changes:
 support/germany.html |3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/support/germany.html b/support/germany.html
index 0f69910..e0b16db 100644
--- a/support/germany.html
+++ b/support/germany.html
@@ -41,9 +41,8 @@ Linux Information Systems AG
 Putzbrunner strasse 71, 81739
 München, Bayern, Germany
 
-http://www.linux-ag.com";>www.linux-ag.com
+http://www.linux-ag.com";>http://www.linux-ag.com
 mailto:i...@linux-ag.com";>i...@linux-ag.com
-Marc Zenker
 
 
 LIS AG – Erfahrung mit kundenorientierten Open Source Lösungen und 
Dienstleistungen. Die LIS AG ist seit Gründung 1999 darauf spezialisiert, 
IT-Strukturen von mittelständischen Unternehmen auf Linux und Open Source 
umzustellen. Bisher wurden bereits über 350 Migra­tionsprojekte erfolgreich 
abgeschlossen.Seit über fünf Jahren fließen die Erfahrungen aus 
Kundenprojekten in den Ausbau unseres modularen CoreBiz Produktportfolios.  
Unsere Produkte basieren ausschließlich auf der Ubuntu Distribution und sind 
Open Source. Das Leistungs­spektrum der CoreBiz Produkte umfasst inzwischen 
alle Anforderungen für den Aufbau von IT-Infrastrukturen in 
mittelständischen Unternehmen.Wir sind Komplett-Dienstleister und begleiten 
den Kunden von der ersten Bestandsaufnahme und Analyse über die Abwicklung 
des Projekts bis hin zur laufenden Betreuung im täglichen Betrieb.


-- 
Samba Website Repository


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

2013-02-05 Thread Karolin Seeger
The branch, v4-0-test has been updated
   via  38b30ea VERSION: Bump version number up to 4.0.4
   via  11319b5 VERSION: Disable git snapshots for the 4.0.3 release.
   via  5f1ce72 WHATSNEW: Update release notes.
   via  e828bb4 WHATSNEW: Update release notes.
   via  21fa32f samba-tool/domain provision: add support for utf-8 
passwords for --adminpass
   via  5eba557 samba-tool/user setpassword: fix help message
   via  7c91895 s4:scripting/python: add support for utf-8 passwords from 
the command line
   via  02ffca3 lib/util: improve check_password_quality() to handle utf8
   via  55ed62e dsdb/util: rework samdb_check_password() to support utf8
   via  4889c31 dsdb/password_hash: rename variable 'stat' to 'vstat'
   via  34410fa dsdb/password_hash: make sure that 
io->n.cleartext_utf8.data is a null terminated string
   via  a8e865c s3: use generate_random_password() instead of 
generate_random_str()
  from  ad6b3e8 WHATSNEW: Start release notes for Samba 4.0.3.

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


- Log -
commit 38b30ea82b2601ee8a59f04f7c23119c6380a6f8
Author: Karolin Seeger 
Date:   Tue Feb 5 10:21:13 2013 +0100

VERSION: Bump version number up to 4.0.4

and re-enable git snapshots.

Signed-off-by: Karolin Seeger 

Autobuild-User(v4-0-test): Karolin Seeger 
Autobuild-Date(v4-0-test): Tue Feb  5 12:46:43 CET 2013 on sn-devel-104

commit 11319b5f1d0c48cefea695f89aa64f72abe1dd3e
Author: Karolin Seeger 
Date:   Tue Feb 5 10:17:59 2013 +0100

VERSION: Disable git snapshots for the 4.0.3 release.

Signed-off-by: Karolin Seeger 

commit 5f1ce72d7e1386c9bac2e56d9ee463a814c3fcca
Author: Karolin Seeger 
Date:   Tue Feb 5 10:14:38 2013 +0100

WHATSNEW: Update release notes.

Signed-off-by: Karolin Seeger 
Signed-off-by: Stefan Metzmacher 

commit e828bb44fed5990ce22ad2cae99b6082f3d6d4d8
Author: Karolin Seeger 
Date:   Tue Feb 5 09:27:54 2013 +0100

WHATSNEW: Update release notes.

Karolin

commit 21fa32f5d871ea5625fc82abf61e037692d26e8d
Author: Stefan Metzmacher 
Date:   Mon Feb 4 11:41:39 2013 +0100

samba-tool/domain provision: add support for utf-8 passwords for --adminpass

Signed-off-by: Stefan Metzmacher 
Reviewed-by: Michael Adam 

Autobuild-User(master): Michael Adam 
Autobuild-Date(master): Mon Feb  4 18:54:32 CET 2013 on sn-devel-104
(cherry picked from commit dc6c40b193e125e8810cf95129fc99f7d4f6db27)

The last 8 patches address bug #9105 - check_password_quality does not 
properly
handle non-ASCII characters.

commit 5eba5570e5884a680025cfd9596c83dd4b3444c5
Author: Stefan Metzmacher 
Date:   Mon Feb 4 13:35:48 2013 +0100

samba-tool/user setpassword: fix help message

Signed-off-by: Stefan Metzmacher 
Reviewed-by: Michael Adam 
(cherry picked from commit 2e7bc87fa54148655ce13a59bd3274fb6285a579)

commit 7c91895cda7a3d6046851551a53994b2d8774656
Author: Stefan Metzmacher 
Date:   Mon Feb 4 11:41:39 2013 +0100

s4:scripting/python: add support for utf-8 passwords from the command line

Signed-off-by: Stefan Metzmacher 
Reviewed-by: Michael Adam 
(cherry picked from commit d60be8167b7264dadae7d4735ee5977233d4cea9)

commit 02ffca3d5898ff1797bcd12dbfc9c10c4f981d9f
Author: Stefan Metzmacher 
Date:   Mon Feb 4 08:45:48 2013 +0100

lib/util: improve check_password_quality() to handle utf8

Signed-off-by: Stefan Metzmacher 
Reviewed-by: Michael Adam 
(cherry picked from commit 65f2bba559a33edb3c352d552aebb259e5e008eb)

commit 55ed62e7befd026dfd076dc4d2c0447640cdaa3f
Author: Stefan Metzmacher 
Date:   Mon Feb 4 09:19:54 2013 +0100

dsdb/util: rework samdb_check_password() to support utf8

Signed-off-by: Stefan Metzmacher 
Reviewed-by: Michael Adam 
(cherry picked from commit e5ca813ffb4398faeefc96c224d3b2677e576c7a)

commit 4889c31c7020a1c649b904b8be4443904e33b52f
Author: Stefan Metzmacher 
Date:   Mon Feb 4 09:47:31 2013 +0100

dsdb/password_hash: rename variable 'stat' to 'vstat'

Signed-off-by: Stefan Metzmacher 
Reviewed-by: Michael Adam 
(cherry picked from commit 54cc3b1f42eba19170e611b0ee0ea464ea4ac604)

commit 34410fae88d16521352b8c76987b32f968567695
Author: Stefan Metzmacher 
Date:   Mon Feb 4 09:18:59 2013 +0100

dsdb/password_hash: make sure that io->n.cleartext_utf8.data is a null 
terminated string

Signed-off-by: Stefan Metzmacher 
Reviewed-by: Michael Adam 
(cherry picked from commit 6eccfc74cd9a16e96a2b6214b943f5b2f9adfe65)

commit a8e865cffc31a2848d2dfc309a8533b6068212af
Author: Stefan Metzmacher 
Date:   Fri Feb 1 13:14:05 2013 +0100

s3: use generate_random_password() instead of generate_random_str()

Signed-off-by: Stefan Metzmacher 
Reviewed-by: Michael Adam 
(cherry picked from commit 9292e5b7431063

[SCM] Samba Shared Repository - branch master updated

2013-02-05 Thread Stefan Metzmacher
The branch, master has been updated
   via  72cd5d5 tdb: Remove "header" from tdb_context
   via  71247ec tdb: Pass argument "header" to check_header_hash
   via  1436107 tdb: Pass argument "header" to tdb_new_database
  from  dc6c40b samba-tool/domain provision: add support for utf-8 
passwords for --adminpass

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


- Log -
commit 72cd5d5ff664dc46afb3dd6a5ea45a28ef7b8591
Author: Volker Lendecke 
Date:   Thu Dec 20 16:36:02 2012 +0100

tdb: Remove "header" from tdb_context

header.hash_size was the only thing we ever referenced outside of
tdb_open_ex and its direct callees. So this shrinks the tdb_context by
164 bytes.

Signed-off-by: Volker Lendecke 
Reviewed-by: Stefan Metzmacher 

Autobuild-User(master): Stefan Metzmacher 
Autobuild-Date(master): Tue Feb  5 13:18:28 CET 2013 on sn-devel-104

commit 71247ec4bdefb3a1b16619f7ea7404bcbafb5b60
Author: Volker Lendecke 
Date:   Thu Dec 20 16:14:23 2012 +0100

tdb: Pass argument "header" to check_header_hash

Signed-off-by: Volker Lendecke 
Reviewed-by: Stefan Metzmacher 

commit 1436107b0769c88e7eb50057b5f05ad5b8573990
Author: Volker Lendecke 
Date:   Thu Dec 20 16:14:23 2012 +0100

tdb: Pass argument "header" to tdb_new_database

Signed-off-by: Volker Lendecke 
Reviewed-by: Stefan Metzmacher 

---

Summary of changes:
 lib/tdb/common/check.c |   22 
 lib/tdb/common/dump.c  |2 +-
 lib/tdb/common/freelist.c  |4 +-
 lib/tdb/common/freelistcheck.c |2 +-
 lib/tdb/common/io.c|4 +-
 lib/tdb/common/lock.c  |   12 
 lib/tdb/common/open.c  |   55 +++
 lib/tdb/common/rescue.c|6 ++--
 lib/tdb/common/summary.c   |6 ++--
 lib/tdb/common/tdb.c   |   12 
 lib/tdb/common/tdb_private.h   |6 ++--
 lib/tdb/common/transaction.c   |4 +-
 lib/tdb/common/traverse.c  |4 +-
 13 files changed, 74 insertions(+), 65 deletions(-)


Changeset truncated at 500 lines:

diff --git a/lib/tdb/common/check.c b/lib/tdb/common/check.c
index 313f55c..dc38102 100644
--- a/lib/tdb/common/check.c
+++ b/lib/tdb/common/check.c
@@ -50,11 +50,11 @@ static bool tdb_check_header(struct tdb_context *tdb, 
tdb_off_t *recovery)
if (hdr.hash_size == 0)
goto corrupt;
 
-   if (hdr.hash_size != tdb->header.hash_size)
+   if (hdr.hash_size != tdb->hash_size)
goto corrupt;
 
if (hdr.recovery_start != 0 &&
-   hdr.recovery_start < TDB_DATA_START(tdb->header.hash_size))
+   hdr.recovery_start < TDB_DATA_START(tdb->hash_size))
goto corrupt;
 
*recovery = hdr.recovery_start;
@@ -74,7 +74,7 @@ static bool tdb_check_record(struct tdb_context *tdb,
tdb_off_t tailer;
 
/* Check rec->next: 0 or points to record offset, aligned. */
-   if (rec->next > 0 && rec->next < TDB_DATA_START(tdb->header.hash_size)){
+   if (rec->next > 0 && rec->next < TDB_DATA_START(tdb->hash_size)){
TDB_LOG((tdb, TDB_DEBUG_ERROR,
 "Record offset %d too small next %d\n",
 off, rec->next));
@@ -352,7 +352,7 @@ _PUBLIC_ int tdb_check(struct tdb_context *tdb,
goto unlock;
 
/* We should have the whole header, too. */
-   if (tdb->map_size < TDB_DATA_START(tdb->header.hash_size)) {
+   if (tdb->map_size < TDB_DATA_START(tdb->hash_size)) {
tdb->ecode = TDB_ERR_CORRUPT;
TDB_LOG((tdb, TDB_DEBUG_ERROR, "File too short for hashes\n"));
goto unlock;
@@ -360,20 +360,20 @@ _PUBLIC_ int tdb_check(struct tdb_context *tdb,
 
/* One big malloc: pointers then bit arrays. */
hashes = (unsigned char **)calloc(
-   1, sizeof(hashes[0]) * (1+tdb->header.hash_size)
-   + BITMAP_BITS / CHAR_BIT * (1+tdb->header.hash_size));
+   1, sizeof(hashes[0]) * (1+tdb->hash_size)
+   + BITMAP_BITS / CHAR_BIT * (1+tdb->hash_size));
if (!hashes) {
tdb->ecode = TDB_ERR_OOM;
goto unlock;
}
 
/* Initialize pointers */
-   hashes[0] = (unsigned char *)(&hashes[1+tdb->header.hash_size]);
-   for (h = 1; h < 1+tdb->header.hash_size; h++)
+   hashes[0] = (unsigned char *)(&hashes[1+tdb->hash_size]);
+   for (h = 1; h < 1+tdb->hash_size; h++)
hashes[h] = hashes[h-1] + BITMAP_BITS / CHAR_BIT;
 
/* Freelist and hash headers are all in a row: read them. */
-   for (h = 0; h < 1+tdb->header.hash_size; h++) {
+   for (h = 0; h < 1+tdb->hash_size; h++) {
if (tdb_ofs_read(tdb, FREELI

[SCM] Samba Website Repository - branch master updated

2013-02-05 Thread David Disseldorp
The branch, master has been updated
   via  710088e Add myself to team list
  from  ef8fefa Remove personal contact on request

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


- Log -
commit 710088e69fe70c0a6667ac7acb885874f92c3581
Author: David Disseldorp 
Date:   Tue Feb 5 12:36:28 2013 +0100

Add myself to team list

---

Summary of changes:
 team/index.html |1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/team/index.html b/team/index.html
index 7863078..ee7634d 100755
--- a/team/index.html
+++ b/team/index.html
@@ -56,6 +56,7 @@ mailing list and start contributing to the development of 
Samba.
 mailto:i...@samba.org";>Ira Cooper
 http://samba.org/~sdanneman/";>Steven Danneman
 http://samba.org/~gd";>Günther Deschner
+mailto:dd...@samba.org";>David Disseldorp
 mailto:sfre...@samba.org";>Steve French
 mailto:pa...@samba.org";>Paul Green
 http://ubiqx.org/";>Chris Hertel


-- 
Samba Website Repository


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

2013-02-05 Thread Karolin Seeger
The branch, v4-0-stable has been updated
   via  11319b5 VERSION: Disable git snapshots for the 4.0.3 release.
   via  5f1ce72 WHATSNEW: Update release notes.
   via  e828bb4 WHATSNEW: Update release notes.
   via  21fa32f samba-tool/domain provision: add support for utf-8 
passwords for --adminpass
   via  5eba557 samba-tool/user setpassword: fix help message
   via  7c91895 s4:scripting/python: add support for utf-8 passwords from 
the command line
   via  02ffca3 lib/util: improve check_password_quality() to handle utf8
   via  55ed62e dsdb/util: rework samdb_check_password() to support utf8
   via  4889c31 dsdb/password_hash: rename variable 'stat' to 'vstat'
   via  34410fa dsdb/password_hash: make sure that 
io->n.cleartext_utf8.data is a null terminated string
   via  a8e865c s3: use generate_random_password() instead of 
generate_random_str()
   via  ad6b3e8 WHATSNEW: Start release notes for Samba 4.0.3.
   via  4eadddc VERSION: Bump version number up to 4.0.3.
   via  baacf3e Merge commit 'samba-4.0.2' into v4-0-test
   via  7ba52a1 Regression test for bug #9571 - Unlink after open causes 
smbd to panic
   via  35f2333 Fix bug #9571 - Unlink after open causes smbd to panic.
   via  0b7a432 Fix bug #9588 - ACLs are not inherited to directories for 
DFS shares.
   via  8464023 ldb: Ensure to decrement the transaction_active whenever we 
delete a transaction
   via  2156d54 ldb: fix a warning by converting from TDB_DATA to struct 
ldb_val
   via  d59bd3a ldb: Move doxygen comments for ldb_connect to the right 
place
   via  37447a0 ldb: fix a typo in the comment for ldb_req_is_untrusted()
   via  60a3157 ldb: fixed callers for ldb_pack_data() and ldb_unpack_data()
   via  3d1d95f ldb: move ldb_pack.c into common
   via  65629e8 ldb: Add ldbdump, based on tdbdump
   via  4b0ec2b ldb: Remove no-longer-existing ltdb_unpack_data_free from 
ldb_tdb.h (cherry picked from commit 4b2f3c6dec997b0dd4bcafeae662a71ebd34e12b)
   via  7bce044 ldb: Change ltdb_unpack_data to take an ldb_context
   via  a43b395 tdb: add -e option to tdbdump (and docment it).
   via  2bd35b4 tdb: tdbdump should log errors, and fail in that case.
   via  095419d tdb: add tdb_rescue()
   via  0b1a583 tdb: Fix a typo
   via  070e3ad s4:service_task: add missing imessaging_cleanup() to 
task_server_terminate()
   via  7e79f7f s4:service_task: prevent a segfault if task->msg_ctx is not 
initialized yet
   via  f8890a4 selftest: rename 'promoted_vampire_dc' to 'promoted_dc'
   via  cb3da6f s4-process_single: Use pid,task_id as cluster_id in 
process_single just like process_prefork
   via  d00ec76 pymessaging: Pass around the server_id struct to python 
callbacks rather than the tuple
   via  fd6537b pymessaging: Use correct unsigned types for server ID tuple 
elememnts
   via  9c5492c bug9598: s4-process_single: Use pid,fd as cluster_id in 
process_single just like process_prefork
   via  0d68008 Regression test for bug #9587 - archive flag is always set 
on directories.
   via  468f9ed Fix bug #9587 - archive flag is always set on directories.
   via  6f49537 Fix bug #9586 - smbd[29175]: disk_free: sys_popen() failed" 
message logged in /var/log/message many times.
   via  a8deb91 Fix bug #9572 - File corruption during SMB1 read by Mac OSX 
10.8.2 clients.
   via  67536fd Revert "s3:smbd: SMB ReadX with size > 0x should only 
possible for samba clients."
   via  41fd28c wafsamba: python-config is not always a script.
   via  b3d4e7f dsdb: Make secrets_tdb_sync cope with -H secrets.ldb
   via  2b6fec0 dsdb: Make linked_attributes module GUID based for renames
   via  b6266a1 s3-winbind: fix the build of idmap_ldap.
   via  545e4c5 Tests: Fix the display of test vars in screen --testenv
   via  75588b4 Tests: avoid adding python options that are functions in 
the env
   via  6abfae1 heimdal_build: Try again to sort out the strerror_r mess
   via  2f51286 build(waf): fix the abi_match for the pdb library
   via  f81c8be build(waf)-libreplace: remove redundant check for flistea 
function
   via  1d1b79f build: Make install_with_python.sh more portable
   via  d938268 build: In install_with_python.sh force using the python 
from the install we just made
   via  626ef69 build: Make install_with_python.sh executable
   via  cfd1e5b swat: move russian swat files alongside ja and tr
   via  63a5d7f passdb: Add discard_const_p() to pdb_samba_dsdb
   via  0047295 build: Remove bashism from SAMBAMANPAGES rule
   via  017ea7b replace: Fix compilation of rep_mkstemp
   via  666dcca s3: Fix vfs_zfsacl to compile.
   via  9bab305 docs: ldbsearch.1.xml: Correct meta data.
   via  2e79e55 docs: ldbrename.1.xml: Correct meta data.
   via  1e9aa0c docs: ldbmodify.1.xml: Correct meta data.
   via  2361c2a d

[SCM] Samba Shared Repository - annotated tag samba-4.0.3 created

2013-02-05 Thread Karolin Seeger
The annotated tag, samba-4.0.3 has been created
at  a79f022977fb046c39d626b50c96b83cabb0e601 (tag)
   tagging  11319b5f1d0c48cefea695f89aa64f72abe1dd3e (commit)
  replaces  samba-4.0.2
 tagged by  Karolin Seeger
on  Tue Feb 5 13:28:25 2013 +0100

- Log -
samba: tag release samba-4.0.3
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.18 (GNU/Linux)

iD8DBQBREPvkbzORW2Vot+oRAq4rAJ4hV5AHcS9lNxbSO5a2PwrQ4HqzFgCfYMLS
6o5iI9hS2TjNER1lSkQnWSg=
=/8ec
-END PGP SIGNATURE-

Andreas Schneider (2):
  s3-rpc_server: Fix a possible null pointer dereference.
  BUG 9574: Fix a possible null pointer dereference in spoolss.

Andrew Bartlett (37):
  selftest: show that Samba honours "write list" and valid users
  vfs: Fix compilation of solaris ACL module
  dsdb-acl: give error string if we can not obtain the schema
  dsdb-acl: Add helper function dsdb_get_structural_oc_from_msg()
  dsdb-acl: Use dsdb_get_structural_oc_from_msg() in acl_modify()
  dsdb-acl: Use dsdb_get_structural_oc_from_msg() in acl_rename()
  dsdb-acl: use dsdb_get_structural_oc_from_msg() rather than 
class_schemaid_guid_by_lDAPDisplayName
  dsdb-acl: ask for the objectClass attribute if it's not in the scope of 
the clients search
  dsdb-acl: Remove unused get_oc_guid_from_message()
  dsdb-acl: Pass the structural objectClass into 
acl_check_access_on_attribute
  dsdb-acl: Use the structural objectClass in 
acl_check_access_on_attribute()
  libcli/security: handle node initialisation in one spot in 
insert_in_object_tree()
  libcli/security: remove useless if (root->num_of_children > 0) statements
  dsdb: Ensure "authenticated users" is processed for group memberships
  dsdb: Explain ordering constraints on the ACL module as well.
  drs-fsmo: Improve handling of FSMO role takeover.
  dsdb: Do not hold the transaction over the IRPC call to perform a role 
transfer
  torture: Fix fsmo test to use correct -H samba-tool syntax
  selftest: Add test of upgradeprovision using the old alpha13 tree
  gensec: Allow login without a PAC by default (bug #9581)
  build: Remove bashism from SAMBAMANPAGES rule
  passdb: Add discard_const_p() to pdb_samba_dsdb
  swat: move russian swat files alongside ja and tr
  build: Make install_with_python.sh executable
  build: In install_with_python.sh force using the python from the install 
we just made
  build: Make install_with_python.sh more portable
  heimdal_build: Try again to sort out the strerror_r mess
  dsdb: Make linked_attributes module GUID based for renames
  dsdb: Make secrets_tdb_sync cope with -H secrets.ldb
  bug9598: s4-process_single: Use pid,fd as cluster_id in process_single 
just like process_prefork
  pymessaging: Use correct unsigned types for server ID tuple elememnts
  pymessaging: Pass around the server_id struct to python callbacks rather 
than the tuple
  s4-process_single: Use pid,task_id as cluster_id in process_single just 
like process_prefork
  ldb: Change ltdb_unpack_data to take an ldb_context
  ldb: Remove no-longer-existing ltdb_unpack_data_free from ldb_tdb.h 
(cherry picked from commit 4b2f3c6dec997b0dd4bcafeae662a71ebd34e12b)
  ldb: Add ldbdump, based on tdbdump
  ldb: Ensure to decrement the transaction_active whenever we delete a 
transaction

Andrew Tridgell (2):
  ldb: move ldb_pack.c into common
  ldb: fixed callers for ldb_pack_data() and ldb_unpack_data()

Arvid Requate (1):
  s4-resolve: Fix parsing of IPv6/ in dns_lookup (bug #9555)

Björn Baumbach (7):
  samba_dnsupdate: set KRB5_CONFIG for nsupdate command (bug #9517)
  smb.conf(5): update list of available protocols (bug #9552)
  ntlm_auth(1): fix format and make examples visible (bug #9569)
  wafsamba: use additional xml catalog file (bug #9512)
  docs-xml: add dbwrap_tool.1 manual page (fix bug #9568 [1/2])
  build(waf): docs-xml: build new dbwrap_tool.8 manual page (fix bug #9568 
[2/2])
  build(waf)-libreplace: remove redundant check for flistea function

David Disseldorp (2):
  printing: Remove invalid free from error path.
  BUG 9378: Add extra attributes for AD printer publishing.

Günther Deschner (3):
  spoolss: add SPOOLSS_DRIVER_VERSION_2012 (4) define to IDL.
  BUG 9474: Downgrade v4 printer driver requests to v3.
  s3-winbind: fix the build of idmap_ldap.

Ira Cooper (2):
  nsswitch: Fix two bitfield constants being the same.
  s3: Fix vfs_zfsacl to compile.

Jelmer Vernooij (1):
  wafsamba: python-config is not always a script.

Jeremy Allison (32):
  Fix bug #9196 - defer_open is triggered multiple times on the same 
request.
  Start to tidy-up check_user_ok().
  Move the definition of struct vuid_cache_entry *ent outside blocks.
  Remove one set of enclosing {} braces, no longer 

[SCM] Samba Website Repository - branch master updated

2013-02-05 Thread Karolin Seeger
The branch, master has been updated
   via  085de31 Announce Samba 4.0.3.
  from  710088e Add myself to team list

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


- Log -
commit 085de31a4dda8bcbf838681401be9309fb043158
Author: Karolin Seeger 
Date:   Tue Feb 5 10:43:18 2013 +0100

Announce Samba 4.0.3.

Signed-off-by: Karolin Seeger 

---

Summary of changes:
 generated_news/latest_10_bodies.html|   22 +++--
 generated_news/latest_10_headlines.html |4 +-
 generated_news/latest_2_bodies.html |   26 +++---
 history/header_history.html |1 +
 history/samba-4.0.3.html|  171 +++
 latest_stable_release.html  |6 +-
 6 files changed, 203 insertions(+), 27 deletions(-)
 create mode 100755 history/samba-4.0.3.html


Changeset truncated at 500 lines:

diff --git a/generated_news/latest_10_bodies.html 
b/generated_news/latest_10_bodies.html
index e4bc79d..9bccb91 100644
--- a/generated_news/latest_10_bodies.html
+++ b/generated_news/latest_10_bodies.html
@@ -1,3 +1,16 @@
+   05 February 2013
+   Samba 4.0.3 Available for Download
+   This is the latest stable release of the Samba 4.0 series.
+
+The uncompressed tarballs and patch files have been signed
+using GnuPG (ID 6568B7EA).  The source code can be
+http://samba.org/samba/ftp/stable/samba-4.0.3.tar.gz";>downloaded
+now. A http://samba.org/samba/ftp/patches/patch-4.0.2-4.0.3.diffs.gz";>
+patch against Samba 4.0.2 is also available. See
+http://samba.org/samba/history/samba-4.0.3.html";> the release notes
+ for more info.
+
+
30 January 2013
Samba 4.0.2, 3.6.12 and 3.5.21 Security 
Releases Available for Download
These are security releases in order to address
@@ -129,12 +142,3 @@ See https://download.samba.org/pub/samba/rc/WHATSNEW-4-0-0rc6.txt";>the
 using GnuPG (ID 6568B7EA).  The source code can be
 https://download.samba.org/pub/samba/rc/samba-4.0.0rc5.tar.gz";>downloaded 
now.
 See https://download.samba.org/pub/samba/rc/WHATSNEW-4-0-0rc5.txt";>the 
release notes for more info.
-
-   05 November 2012
-   Samba 3.5.19 Available for Download
-   This is the latest stable release of the Samba 3.5 series.
-
-The uncompressed tarballs and patch files have been signed
-using GnuPG (ID 6568B7EA).  The source code can be
-http://samba.org/samba/ftp/stable/samba-3.5.19.tar.gz";>downloaded
-now. A http://samba.org/samba/ftp/patches/patch-3.5.18-3.5.19.diffs.gz";>patch 
against Samba 3.5.18 is also available. See http://samba.org/samba/history/samba-3.5.19.html";>the release notes for 
more info.
diff --git a/generated_news/latest_10_headlines.html 
b/generated_news/latest_10_headlines.html
index 4d5c638..2bc 100644
--- a/generated_news/latest_10_headlines.html
+++ b/generated_news/latest_10_headlines.html
@@ -1,4 +1,6 @@
 
+05 February 2013 Samba 4.0.3 Available for 
Download
+
 30 January 2013 Samba 4.0.2, 3.6.12 and 3.5.21 
Security Releases Available for Download
 
 21 January 2013 Samba 3.6.11 Available for 
Download
@@ -16,6 +18,4 @@
 04 December 2012 Samba 4.0.0rc6 Available for 
Download
 
 13 November 2012 Samba 4.0.0rc5 Available for 
Download
-
-05 November 2012 Samba 3.5.19 Available for 
Download
 
diff --git a/generated_news/latest_2_bodies.html 
b/generated_news/latest_2_bodies.html
index 457bd9c..857e4c0 100644
--- a/generated_news/latest_2_bodies.html
+++ b/generated_news/latest_2_bodies.html
@@ -1,3 +1,16 @@
+   05 February 2013
+   Samba 4.0.3 Available for Download
+   This is the latest stable release of the Samba 4.0 series.
+
+The uncompressed tarballs and patch files have been signed
+using GnuPG (ID 6568B7EA).  The source code can be
+http://samba.org/samba/ftp/stable/samba-4.0.3.tar.gz";>downloaded
+now. A http://samba.org/samba/ftp/patches/patch-4.0.2-4.0.3.diffs.gz";>
+patch against Samba 4.0.2 is also available. See
+http://samba.org/samba/history/samba-4.0.3.html";> the release notes
+ for more info.
+
+
30 January 2013
Samba 4.0.2, 3.6.12 and 3.5.21 Security 
Releases Available for Download
These are security releases in order to address
@@ -37,16 +50,3 @@ Samba 3.6.12,
 http://samba.org/samba/history/samba-3.5.21.html";>release notes
 Samba 3.5.21.
 
-
-
-   21 January 2013
-   Samba 3.6.11 Available for Download
-   This is the latest stable release of the Samba 3.6 series.
-
-The uncompressed tarballs and patch files have been signed
-using GnuPG (ID 6568B7EA).  The source code can be
-http://samba.org/samba/ftp/stable/samba-3.6.11.tar.gz";>downloaded
-now. A http://samba.org/samba/ftp/patches/patch-3.6.10-3.6.11.diffs.gz";>
-patch against Samba 3.6.10 is also available.
-See http://samba.org/samba/history/samba-3.6.11.html";>
-the release no

[SCM] Samba Shared Repository - branch master updated

2013-02-05 Thread Michael Adam
The branch, master has been updated
   via  6c2d6ad s3:auth small optimization in create_token_from_sid
   via  deea99a s3:net: reduce indentation in net idmap delete for symmetry 
and consistency
   via  50e3592 s3:net: introduce a talloc stackframe for net idmap delete
   via  8473764 s3:net_idmap_delete do not lock two records at the same time
   via  9aa79c1 s3:net idmap: use lp_idmap_default_backend() now that we 
have it.
   via  c37a493 s3:param: add new lp_idmap_default_backend()
   via  321401e s3:param: introduce new lp_idmap_backend() that takes the 
domain
   via  4198e80 s3:param: add a comment
   via  085b976 s3:param: remove unused function lp_idmap_backend()
   via  cef05fb s3:net idmap: remove call to lp_idmap_backend() - this is 
useless.
   via  600ba80 s3:param: remove unused functions lp_idmap_uid() and 
lp_idmap_gid()
   via  4e52fa7 s3:auth: use new lp_idmap_default_range() instead of 
lp_idmap_gid() in create_token_from_sid()
   via  58b302d s3:param: add utility function lp_idmap_default_range()
   via  1342bdd s3:param: add a utility function lp_idmap_range() to get 
the configured range for a given domain.
   via  e7b39fb s3:param: remove an old comment (that is not up-to date any 
more)
  from  72cd5d5 tdb: Remove "header" from tdb_context

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


- Log -
commit 6c2d6ada42779b1c7015ddf3cf0dc420c4558be1
Author: Christian Ambach 
Date:   Tue Jan 29 17:19:17 2013 +0100

s3:auth small optimization in create_token_from_sid

save some calls to lp_idmap_default_range(), calling it
once is enough

Signed-off-by: Christian Ambach 
Reviewed-by: Michael Adam 

Autobuild-User(master): Michael Adam 
Autobuild-Date(master): Tue Feb  5 19:14:25 CET 2013 on sn-devel-104

commit deea99ac36a431befae3af39b7e160ce2d7ba5dc
Author: Michael Adam 
Date:   Wed Jan 30 15:50:52 2013 +0100

s3:net: reduce indentation in net idmap delete for symmetry and consistency

Signed-off-by: Michael Adam 
Reviewed-by: Christian Ambach 

commit 50e3592ace69a919b3196420e56f09ce435302ea
Author: Michael Adam 
Date:   Wed Jan 30 15:46:47 2013 +0100

s3:net: introduce a talloc stackframe for net idmap delete

this simplifies the freeing at the end

Signed-off-by: Michael Adam 
Reviewed-by: Christian Ambach 

commit 8473764234bfec2f21b87ec69c213af4365749b4
Author: Christian Ambach 
Date:   Fri Dec 7 13:43:57 2012 +0100

s3:net_idmap_delete do not lock two records at the same time

the lock order check will prohibit this and as we are running inside
a transaction there is no need to lock the records before deleting them

Pair-Programmed-With: Michael Adam 

Signed-off-by: Christian Ambach 
Signed-off-by: Michael Adam 

commit 9aa79c11f07624d10f49a6840e93e84739997ffe
Author: Michael Adam 
Date:   Tue Jan 29 13:34:26 2013 +0100

s3:net idmap: use lp_idmap_default_backend() now that we have it.

Signed-off-by: Michael Adam 
Reviewed-by: Christian Ambach 

commit c37a4939026622e3751e9188a3079def89171153
Author: Michael Adam 
Date:   Tue Jan 29 13:26:11 2013 +0100

s3:param: add new lp_idmap_default_backend()

Signed-off-by: Michael Adam 
Reviewed-by: Christian Ambach 

commit 321401e7d1c812d70aa44350de0386a12d9c25f4
Author: Michael Adam 
Date:   Tue Jan 29 13:24:20 2013 +0100

s3:param: introduce new lp_idmap_backend() that takes the domain

Signed-off-by: Michael Adam 
Reviewed-by: Christian Ambach 

commit 4198e800d809cd0b7be5a0214a22b9a31b906cc4
Author: Michael Adam 
Date:   Mon Jan 28 15:41:13 2013 +0100

s3:param: add a comment

Signed-off-by: Michael Adam 
Reviewed-by: Christian Ambach 

commit 085b9767a6886aa04b8cfbee8077b411e466bfec
Author: Michael Adam 
Date:   Mon Jan 28 14:35:53 2013 +0100

s3:param: remove unused function lp_idmap_backend()

Signed-off-by: Michael Adam 
Reviewed-by: Christian Ambach 

commit cef05fbe8dc210ba257d2d018878d0b351009c02
Author: Michael Adam 
Date:   Mon Jan 28 14:29:21 2013 +0100

s3:net idmap: remove call to lp_idmap_backend() - this is useless.

The variable behind lp_idmap_backend() is never set.

Signed-off-by: Michael Adam 
Reviewed-by: Christian Ambach 

commit 600ba80246aaa6cb9499a49f48e92a2657fdc918
Author: Michael Adam 
Date:   Mon Jan 28 14:21:44 2013 +0100

s3:param: remove unused functions lp_idmap_uid() and lp_idmap_gid()

Signed-off-by: Michael Adam 
Reviewed-by: Christian Ambach 

commit 4e52fa7b7346c3afdaeb87c2af69ee71cb3cd1fb
Author: Michael Adam 
Date:   Mon Jan 28 16:45:30 2013 +0100

s3:auth: use new lp_idmap_default_range() instead of lp_idmap_gid() in 
create_token_from_sid()

Signed-off-by: Michael Adam 
Reviewed-by: Christian Ambach 

commit

[SCM] CTDB repository - branch 1.2.40 updated - ctdb-1.2.56-8-g055234c

2013-02-05 Thread Amitay Isaacs
The branch, 1.2.40 has been updated
   via  055234ceb7d71cc8d2bba4f15749006ce1b67176 (commit)
   via  35a003d6c3135e61f86d4d5acd46a46bf1bc1a57 (commit)
   via  b86270fae7fd9f8a7a718e15d8c7436a918f28c4 (commit)
  from  2c203bbad887dff6f38e9e47e640c05fad95a7be (commit)

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


- Log -
commit 055234ceb7d71cc8d2bba4f15749006ce1b67176
Author: Martin Schwenke 
Date:   Tue Feb 5 16:40:39 2013 +1100

initscript: export CTDB_DEBUG_LOCKS

Signed-off-by: Martin Schwenke 

commit 35a003d6c3135e61f86d4d5acd46a46bf1bc1a57
Author: Martin Schwenke 
Date:   Tue Feb 5 13:16:46 2013 +1100

initscript: export CTDB_EXTERNAL_TRACE

This means it can be set like any other configuration option in the
configuration file, without needing to export it there.

Cherry-pick-from: a0ef73e197dc9147f7718e0813fe803ff0b3d54d
Signed-off-by: Martin Schwenke 

commit b86270fae7fd9f8a7a718e15d8c7436a918f28c4
Author: Martin Schwenke 
Date:   Thu May 17 10:17:51 2012 +1000

ctdbd: Backport use of external script to debug hung eventscript

This is a cherry-pick from 6e68797af67bee36f2bad045f94806e7e98f27e9,
combined with several recent fixes:

  8507303b525d20c74e8ec4e7c4f5f275945cd3b6
scripts: debug-hung-script.sh doesn't need functions/loadconfig
  501461cc3e132d4adee9e91b5d4513a26bae2846
ctdbd: Remove debug_hung_script_ctx
  0581f9a84e58764d194f4e04064c2c5b393c348b
ctdbd: Remove command-line option --debug-hung-script
  3400b2ed34b6eb9496eb55f1aab6f89d2952060d
ctdbd: Complain loudly if CTDB_DEBUG_HUNG_SCRIPT script isn't executable
  9b0d56b16775aa16f33bdfdf831256e085fa3339
ctdbd: Don't use a fixed length buffer for the hung script command

Signed-off-by: Martin Schwenke 

---

Summary of changes:
 Makefile.in |1 +
 config/ctdb.init|7 ++
 config/ctdb.sysconfig   |3 ++
 config/debug-hung-script.sh |4 +++
 packaging/RPM/ctdb.spec.in  |1 +
 server/eventscript.c|   48 ++-
 6 files changed, 45 insertions(+), 19 deletions(-)
 create mode 100644 config/debug-hung-script.sh


Changeset truncated at 500 lines:

diff --git a/Makefile.in b/Makefile.in
index 136ae30..849abd7 100755
--- a/Makefile.in
+++ b/Makefile.in
@@ -291,6 +291,7 @@ install: all
if [ -f doc/onnode.1 ];then ${INSTALLCMD} -m 644 doc/onnode.1 
$(DESTDIR)$(mandir)/man1; fi
if [ -f doc/ltdbtool.1 ]; then ${INSTALLCMD} -m 644 doc/ltdbtool.1 
$(DESTDIR)$(mandir)/man1; fi
if [ ! -f $(DESTDIR)$(etcdir)/ctdb/notify.sh ];then ${INSTALLCMD} -m 
755 config/notify.sh $(DESTDIR)$(etcdir)/ctdb; fi
+   if [ ! -f $(DESTDIR)$(etcdir)/ctdb/debug-hung-script.sh ];then 
${INSTALLCMD} -m 755 config/debug-hung-script.sh $(DESTDIR)$(etcdir)/ctdb; fi
if [ ! -f $(DESTDIR)$(etcdir)/ctdb/ctdb-crash-cleanup.sh ];then 
${INSTALLCMD} -m 755 config/ctdb-crash-cleanup.sh $(DESTDIR)$(etcdir)/ctdb; fi
if [ ! -f $(DESTDIR)$(etcdir)/ctdb/gcore_trace.sh ];then ${INSTALLCMD} 
-m 755 config/gcore_trace.sh $(DESTDIR)$(etcdir)/ctdb; fi
 
diff --git a/config/ctdb.init b/config/ctdb.init
index 4fe01e3..3c2412d 100755
--- a/config/ctdb.init
+++ b/config/ctdb.init
@@ -111,6 +111,11 @@ build_ctdb_options () {
 maybe_set "--max-persistent-check-errors" 
"$CTDB_MAX_PERSISTENT_CHECK_ERRORS"
 }
 
+export_debug_variables ()
+{
+export CTDB_DEBUG_HUNG_SCRIPT CTDB_EXTERNAL_TRACE CTDB_DEBUG_LOCKS
+}
+
 # Log given message or stdin to either syslog or a CTDB log file
 do_log ()
 {
@@ -262,6 +267,8 @@ start() {
 
 build_ctdb_options
 
+export_debug_variables
+
 # make sure we drop any ips that might still be held if previous
 # instance of ctdb got killed with -9 or similar
 drop_all_public_ips
diff --git a/config/ctdb.sysconfig b/config/ctdb.sysconfig
index 1f2edc4..08a550f 100644
--- a/config/ctdb.sysconfig
+++ b/config/ctdb.sysconfig
@@ -92,6 +92,9 @@ CTDB_RECOVERY_LOCK="/some/place/on/shared/storage"
 # a script to run when node health changes
 # CTDB_NOTIFY_SCRIPT=/etc/ctdb/notify.sh
 
+# a script to collect data when an eventscript has hung
+# CTDB_DEBUG_HUNG_SCRIPT=/etc/ctdb/debug-hung-script.sh
+
 # the directory to put the local ctdb database files in
 # defaults to /var/ctdb
 # CTDB_DBDIR=/var/ctdb
diff --git a/config/debug-hung-script.sh b/config/debug-hung-script.sh
new file mode 100644
index 000..dcf68ba
--- /dev/null
+++ b/config/debug-hung-script.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+echo "Pstree output for the hung script:"
+pstree -p -a $1
diff --git a/packaging/RPM/ctdb.spec.in b/packaging/RPM/ctdb.spec.in
index 43c2c3b..e66ce37 100644
--- a/packaging/RPM/ctdb.spec.in
+++ b/packaging/RPM/ctdb.spec.in
@@ -88,6 +88,7 @@ rm -rf $RPM_BU