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

2013-07-02 Thread Karolin Seeger
The branch, v4-0-stable has been updated
   via  5e3a301 VERSION: Disable git snapshots for the 4.0.7 release.
   via  67a77db WHATSNEW: Add release notes for Samba 4.0.7.
   via  cc13903 torture: Add tests for LDAP substring search with no 
strings provided
   via  51f19c4 libcli/ldap: Cope with substring match with no chunks in 
ldap_push_filter
   via  980ecbf ldb: bump version to allow a depencency on the substring 
crash fix
   via  1650e8a ldb: Cope with substring match with no chunks in 
ldb_filter_from_tree
   via  df6574c ldb: Ensure not to segfault on a filter such as (mail=)
   via  b67c906 heimdal_build: Add missing dep on samba4kgetcred
   via  4b25860 docs: Avoid mentioning a possibly misleading option.
   via  a46a6be tevent: Fix Coverity ID 989236 Operands don't affect result
   via  45ba921 Bug 8997: change libreplace GPL source to LGPL
   via  897bfd1 s4-dfs_server: check for netbios aliases in 
ad_get_referrals (bug #9947)
   via  57a6c8f dns: Support larger queries when asking forwarder
   via  81539da idl: Add support for parsing OPT records
   via  9328284 When message-type is drvupgrade, MSG_DEBUG should be 
replaced with MSG_PRINTER_DRVUPGRADE.
   via  865765c Check for WRITE_ACCESS on the file before overriding an 
EACCESS.
   via  e90f140 Ensure we don't try the open_file_fchmod() if we can't 
write to the file.
   via  02a9d78 Remove indentation around code wrapped by unneeded 
CAN_WRITE.
   via  7391cae Add early return in file_set_dosmode() on a read only share.
   via  d0ec11d BUG 9881: Check for system libtevent.
   via  1d610ce s4:winbind: don't leak libnet_context into the main event 
context (bug #9929)
   via  62e25dc Fix bug 9900: is_printer_published GUID retrieval
   via  60bb8f9 printing: explicitly clear PUBLISHED attribute
   via  6736784 dns: Delete dnsNode objects when they are empty
   via  1a1e445 dns: Fix allocation of txt_record in txt record tests
   via  a2814d3 dns: more debug debug options in the tests
   via  5a2d041 winbind4: Fix bug 9832 -- talloc use after free
   via  d4cd828 waf: build PIEs if supported by the compiler
   via  b4378f1 waf: build position independent executables
   via  097ec58 waf: add --with[out]-pie configure arguments
   via  0996e95 build: Add missing new line to replaced python shebang 
line. (Fix bug #9909)
   via  2aee249 build: Install smbtar in waf build
   via  06228ec build: Blacklist the release-4-0-0 provision as well
   via  1100bf2 build: Do not set PATH in install_with_python now we set 
$PYTHON
   via  7f88d81 build: Rework BSD_STYLE_STATVFS check to match autoconf 
build
   via  f27239b lib/replace: Set BROKEN_STRNLEN and BROKEN_STRNDUP on all 
AIX
   via  85db5bf docs: Remove all references to testprns
   via  b54aed1 docs: Fix small errors in TOSHARG-Compiling
   via  68c5915 docs: Remove TOSHARG-HighAvailability which is made 
obsolete by CTDB
   via  5bbcf09 docs: Remove out of date and unmaintained Speed page from 
the HOWTO
   via  07073fb dns: Add support for MX queries
   via  46e82a2 More generic check for OpenBSD platform
   via  9b1fac4 docs: mention AD prerequirements for using idmap_ad
   via  f6f3849 winbind/idmap_ad: be verbose about the user that we fail to 
map
   via  27a3cab s3:lib/server_mutex: open mutex.tdb with CLEAR_IF_FIRST
   via  671943a s3-rpc_server: Ensure we are root when starting and usiing 
gensec
   via  c497442 VERSION: Bump version number up to 4.0.7...
  from  4800b9f VERSION: Disable git snapshots for the 4.0.6 release.

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


- Log -
---

Summary of changes:
 VERSION|2 +-
 WHATSNEW.txt   |  112 +-
 buildtools/wafsamba/samba_autoconf.py  |4 +-
 buildtools/wafsamba/wafsamba.py|   15 +-
 dfs_server/dfs_server_ad.c |   35 ++
 docs-xml/Samba3-HOWTO/TOSHARG-Compiling.xml|6 +-
 docs-xml/Samba3-HOWTO/TOSHARG-HighAvailability.xml |  500 
 docs-xml/Samba3-HOWTO/TOSHARG-Speed.xml|  327 -
 docs-xml/Samba3-HOWTO/index.xml|4 -
 docs-xml/manpages/idmap_ad.8.xml   |9 +-
 docs-xml/manpages/nmbd.8.xml   |1 -
 docs-xml/manpages/smb.conf.5.xml   |1 -
 docs-xml/manpages/smbd.8.xml   |1 -
 docs-xml/smbdotconf/domain/allowdnsupdates.xml |4 +-
 docs-xml/using_samba/appd.xml  |   18 -
 docs-xml/using_samba/ch01.xml  |6 -
 docs-xml/using_samba/ch07.xml

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

2013-07-02 Thread Karolin Seeger
The annotated tag, samba-4.0.7 has been created
at  a0db687ac06e6bb00c428599aa51f342c15f4ead (tag)
   tagging  5e3a3012f3083c40e70f89c1d96ffa6be91aa72a (commit)
  replaces  samba-4.0.6
 tagged by  Karolin Seeger
on  Mon Jul 1 09:17:27 2013 +0200

- Log -
samba: tag release samba-4.0.7
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iD8DBQBR0S0HbzORW2Vot+oRAv9cAJwN2dC3xjI69yDDSre/ORBcehddDgCfSIX3
vAxJhcOWoyfR0jl6rDhtK1s=
=AA5S
-END PGP SIGNATURE-

Andreas Schneider (1):
  BUG 9881: Check for system libtevent.

Andrew Bartlett (16):
  s3-rpc_server: Ensure we are root when starting and usiing gensec
  docs: Remove out of date and unmaintained Speed page from the HOWTO
  docs: Remove TOSHARG-HighAvailability which is made obsolete by CTDB
  docs: Fix small errors in TOSHARG-Compiling
  docs: Remove all references to testprns
  lib/replace: Set BROKEN_STRNLEN and BROKEN_STRNDUP on all AIX
  build: Rework BSD_STYLE_STATVFS check to match autoconf build
  build: Do not set PATH in install_with_python now we set $PYTHON
  build: Blacklist the release-4-0-0 provision as well
  build: Install smbtar in waf build
  heimdal_build: Add missing dep on samba4kgetcred
  ldb: Ensure not to segfault on a filter such as (mail=)
  ldb: Cope with substring match with no chunks in ldb_filter_from_tree
  ldb: bump version to allow a depencency on the substring crash fix
  libcli/ldap: Cope with substring match with no chunks in ldap_push_filter
  torture: Add tests for LDAP substring search with no strings provided

Björn Baumbach (1):
  s4-dfs_server: check for netbios aliases in ad_get_referrals (bug #9947)

Björn Jacke (2):
  winbind/idmap_ad: be verbose about the user that we fail to map
  docs: mention AD prerequirements for using idmap_ad

David Disseldorp (6):
  waf: add --with[out]-pie configure arguments
  waf: build position independent executables
  waf: build PIEs if supported by the compiler
  printing: explicitly clear PUBLISHED attribute
  Fix bug 9900: is_printer_published GUID retrieval
  Bug 8997: change libreplace GPL source to LGPL

Jeremy Allison (4):
  Add early return in file_set_dosmode() on a read only share.
  Remove indentation around code wrapped by unneeded CAN_WRITE.
  Ensure we don't try the open_file_fchmod() if we can't write to the file.
  Check for WRITE_ACCESS on the file before overriding an EACCESS.

Kai Blin (6):
  dns: Add support for MX queries
  dns: more debug debug options in the tests
  dns: Fix allocation of txt_record in txt record tests
  dns: Delete dnsNode objects when they are empty
  idl: Add support for parsing OPT records
  dns: Support larger queries when asking forwarder

Karolin Seeger (3):
  VERSION: Bump version number up to 4.0.7...
  WHATSNEW: Add release notes for Samba 4.0.7.
  VERSION: Disable git snapshots for the 4.0.7 release.

Michael Adam (1):
  build: Add missing new line to replaced python shebang line. (Fix bug 
#9909)

Michael Wood (1):
  docs: Avoid mentioning a possibly misleading option.

Peng Haitao (1):
  When message-type is drvupgrade, MSG_DEBUG should be replaced with 
MSG_PRINTER_DRVUPGRADE.

Stefan Metzmacher (2):
  s3:lib/server_mutex: open mutex.tdb with CLEAR_IF_FIRST
  s4:winbind: don't leak libnet_context into the main event context (bug 
#9929)

Vadim Zhukov (1):
  More generic check for OpenBSD platform

Volker Lendecke (2):
  winbind4: Fix bug 9832 -- talloc use after free
  tevent: Fix Coverity ID 989236 Operands don't affect result

---


-- 
Samba Shared Repository


[SCM] Samba Website Repository - branch master updated

2013-07-02 Thread Karolin Seeger
The branch, master has been updated
   via  bc38ac6 Announce Samba 4.0.7.
  from  7bf4548 Announce Samba 3.6.16.

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


- Log -
commit bc38ac61eb910e137ce55ddaad8342f17db7d9fd
Author: Karolin Seeger ksee...@samba.org
Date:   Tue Jul 2 09:47:11 2013 +0200

Announce Samba 4.0.7.

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

---

Summary of changes:
 generated_news/latest_10_bodies.html|   54 -
 generated_news/latest_10_headlines.html |4 +-
 generated_news/latest_2_bodies.html |   26 
 history/header_history.html |1 +
 history/samba-4.0.7.html|  101 +++
 latest_stable_release.html  |6 +-
 6 files changed, 133 insertions(+), 59 deletions(-)
 create mode 100755 history/samba-4.0.7.html


Changeset truncated at 500 lines:

diff --git a/generated_news/latest_10_bodies.html 
b/generated_news/latest_10_bodies.html
index b56c433..ea4b4d4 100644
--- a/generated_news/latest_10_bodies.html
+++ b/generated_news/latest_10_bodies.html
@@ -1,3 +1,16 @@
+   h5a name=4.0.702 July 2013/a/h5
+   p class=headlineSamba 4.0.7 Available for Download/p
+   pThis is the latest stable release of the Samba 4.0 series./p
+
+pThe uncompressed tarballs and patch files have been signed
+using GnuPG (ID 6568B7EA).  The source code can be
+a href=http://samba.org/samba/ftp/stable/samba-4.0.7.tar.gz;downloaded
+now/a. A a 
href=http://samba.org/samba/ftp/patches/patch-4.0.6-4.0.7.diffs.gz;
+patch against Samba 4.0.6/a is also available. See
+a href=http://samba.org/samba/history/samba-4.0.7.html; the release notes
+ for more info/a./p
+
+
h5a name=3.6.1619 June 2013/a/h5
p class=headlineSamba 3.6.16 Available for Download/p
pThis is the latest stable release of the Samba 3.6 series./p
@@ -113,44 +126,3 @@ now/a. A a 
href=http://samba.org/samba/ftp/patches/patch-4.0.2-4.0.3.diffs.g
 patch against Samba 4.0.2/a is also available. See
 a href=http://samba.org/samba/history/samba-4.0.3.html; the release notes
  for more info/a./p
-
-
-   h5a name=4.0.230 January 2013/a/h5
-   p class=headlineSamba 4.0.2, 3.6.12 and 3.5.21 bSecurity 
Releases/b Available for Download/p
-   pThese are security releases in order to address
-   a 
href=http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-0213;CVE-2013-0213/a
-   (Samba 3.0.x to 4.0.1 (incl.) are affected by a bclickjacking issue 
in SWAT/b) and br
-   a 
href=http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-0214;CVE-2013-0214
 /a
-   (Samba 3.0.x to 4.0.1 (incl.) are affected by a bpotential XSRF in 
SWAT/b)./p
-
-pThe uncompressed tarballs and patch files have been signed
-using GnuPG (ID 6568B7EA)./p
-p
-The source code can be downloaded here:
-lia href=http://samba.org/samba/ftp/stable/samba-4.0.2.tar.gz;download
-Samba 4.0.2/a,/li
-lia href=http://samba.org/samba/ftp/stable/samba-3.6.12.tar.gz;download
-Samba 3.6.12/a,/li
-lia href=http://samba.org/samba/ftp/stable/samba-3.5.21.tar.gz;download
-Samba 3.5.21/a./li
-/p
-
-p
-Patches against the parents are also available:
-lia 
href=http://samba.org/samba/ftp/patches/patch-4.0.1-4.0.2.diffs.gz;patch Samba
-4.0.1/4.0.2/a,/li
-lia 
href=http://samba.org/samba/ftp/patches/patch-3.6.11-3.6.12.diffs.gz;patch
-Samba 3.6.11/3.6.12/a,/li
-lia 
href=http://samba.org/samba/ftp/patches/patch-3.5.20-3.5.21.diffs.gz;patch
-Samba 3.5.20/3.5.21/a./li
-/p
-
-p
-Please see the release notes for more info:
-lia href=http://samba.org/samba/history/samba-4.0.2.html;release notes
-Samba 4.0.2/a,/li
-lia href=http://samba.org/samba/history/samba-3.6.12.html;release notes
-Samba 3.6.12/a,/li
-lia href=http://samba.org/samba/history/samba-3.5.21.html;release notes
-Samba 3.5.21/a./li
-/p
diff --git a/generated_news/latest_10_headlines.html 
b/generated_news/latest_10_headlines.html
index e0dba2e..3dcbebe 100644
--- a/generated_news/latest_10_headlines.html
+++ b/generated_news/latest_10_headlines.html
@@ -1,4 +1,6 @@
 ul
+   li 02 July 2013 a href=#4.0.7Samba 4.0.7 Available for 
Download/a/li
+
li 19 June 2013 a href=#3.6.16Samba 3.6.16 Available for 
Download/a/li
 
li 21 May 2013 a href=#4.0.6Samba 4.0.6 Available for 
Download/a/li
@@ -16,6 +18,4 @@
li 18 March 2013 a href=#3.6.13Samba 3.6.13 Available for 
Download/a/li
 
li 05 February 2013 a href=#4.0.3Samba 4.0.3 Available for 
Download/a/li
-
-   li 30 January 2013 a href=#4.0.2Samba 4.0.2, 3.6.12 and 3.5.21 
Security Releases Available for Download/a/li
 /ul
diff --git a/generated_news/latest_2_bodies.html 
b/generated_news/latest_2_bodies.html
index cf0a1f9..cdc55f1 100644
--- a/generated_news/latest_2_bodies.html
+++ b/generated_news/latest_2_bodies.html
@@ -1,3 +1,16 @@
+   

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

2013-07-02 Thread Karolin Seeger
The branch, v4-0-test has been updated
   via  9f7cbc7 s3:smbd:smb2: fix setting of scavenge timeout when 
reconnecting durable handles
   via  e309d2e s3:smbd: call scavenger_schedule_disconnected() from close 
normal file for durable handles
   via  f688ed3 s3:smbd: add a scavenger process for disconnected durable 
handles
   via  888694d s3:locking: add function share_mode_cleanup_disconnected()
   via  4e423bc s3:locking: improve debug output of parse_share_modes()
   via  73f7c56 s3:locking: no need to make a file_id passed by value a 
constant
   via  1446ff4 s3:locking:brlock: add function brl_cleanup_disconnected()
   via  66eedcd s3:locking:brlock: explain the lockdb_clean semantic better 
in brl_reconnect_disconnected()
   via  b25d4ae s3:locking:brlock: let validate_lock_entries keep entries 
for disconnected servers in traverses
   via  383e20d s3:locking:brlock: improve the comment for the brl self 
cleaning code
   via  ff5e657 s3:locking:brlock: use serverids_exist to 
validate_lock_entries
   via  9fa4365 s3:smbXsrv_open: add function smbXsrv_open_cleanup()
   via  db0325f s3:smbXsrv_open: factor out smbXsrv_open_global_parse_record
   via  17106d7 s3:smbXsrv_open: add smbXsrv_open_global_traverse()
   via  e5c3875 lib: Add prctl_set_comment to utils.
   via  5eccfbf s3:smbd:smb2: fix segfault (access after free) in durable 
disconnect code
   via  af17545 s3:smbd: add debugging to close code (regarding disconnect 
of a durable)
   via  6a8cd1c s3:smbd: use smbXsrv_open_close() instead of 
smbXsrv_open_update()
  from  5c8e5ba VERSION: Bump version number up to 4.0.8...

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


- Log -
commit 9f7cbc7e8916268da7fa6e2e7bd4e1a1154ab1ab
Author: Michael Adam ob...@samba.org
Date:   Thu Apr 18 13:11:03 2013 +0200

s3:smbd:smb2: fix setting of scavenge timeout when reconnecting durable 
handles

The bug fixed with this commit led to reconnected durable handles
having a disconnect timeout of 0 msec. This fix re-establishes the
original timeout for the reconnected handle.

Pair-Programmed-With: Stefan Metzmacher me...@samba.org

Signed-off-by: Stefan Metzmacher me...@samba.org
Signed-off-by: Michael Adam ob...@samba.org
(cherry picked from commit beb9a27180e5570337381d03fac55bbe6d1637e0)

The last 18 patches address bug #9930 - smbd did not cleanup disonnected 
durable
handles.

Autobuild-User(v4-0-test): Karolin Seeger ksee...@samba.org
Autobuild-Date(v4-0-test): Tue Jul  2 12:45:17 CEST 2013 on sn-devel-104

commit e309d2e3cf1e32b1302a38915fc5e3165626e9f3
Author: Gregor Beck gb...@sernet.de
Date:   Wed Mar 20 10:01:43 2013 +0100

s3:smbd: call scavenger_schedule_disconnected() from close normal file for 
durable handles

Signed-off-by: Gregor Beck gb...@sernet.de
Reviewed-by: Michael Adam ob...@samba.org
Reviewed-by: Stefan Metzmacher me...@samba.org
(cherry picked from commit c2ef5182e32fafeb3e279d9fc3a2a409e4aa0543)

commit f688ed37faa5c4e8979c0ae6e18859e9b0dc020b
Author: Gregor Beck gb...@sernet.de
Date:   Thu Feb 7 15:26:37 2013 +0100

s3:smbd: add a scavenger process for disconnected durable handles

Pair-Programmed-With: Stefan Metzmacher me...@samba.org

Signed-off-by: Gregor Beck gb...@sernet.de
Signed-off-by: Stefan Metzmacher me...@samba.org
Reviewed-by: Michael Adam ob...@samba.org
(cherry picked from commit 1ed22ba4b7998c1fc29476e931bd463f2bc1ba7e)

Conflicts:

source3/Makefile.in

commit 888694d3b15c54696e9ccde4b37a4eb1e98f2e65
Author: Gregor Beck gb...@sernet.de
Date:   Wed Mar 13 11:35:37 2013 +0100

s3:locking: add function share_mode_cleanup_disconnected()

For a given file, clean share mode entries for a given persistent file id.

Pair-Programmed-With: Michael Adam ob...@samba.org
Pair-Programmed-With: Stefan Metzmacher me...@samba.org

Signed-off-by: Gregor Beck gb...@sernet.de
Signed-off-by: Michael Adam ob...@samba.org
Signed-off-by: Stefan Metzmacher me...@samba.org
(cherry picked from commit f608bedfca4118b7e3606802df40e266bcc099d8)

commit 4e423bc59703994842d6c271203894c485e9faa3
Author: Gregor Beck gb...@sernet.de
Date:   Wed Mar 20 10:22:06 2013 +0100

s3:locking: improve debug output of parse_share_modes()

Signed-off-by: Gregor Beck gb...@sernet.de
Reviewed-by: Michael Adam ob...@samba.org
Reviewed-by: Stefan Metzmacher me...@samba.org
(cherry picked from commit 0ac0b35dad796d10cf04ab77a53a926420cc0589)

commit 73f7c56e1c890d9e50665b0bdd23234925d48112
Author: Gregor Beck gb...@sernet.de
Date:   Tue Mar 12 15:10:51 2013 +0100

s3:locking: no need to make a file_id passed by value a constant

Signed-off-by: Gregor Beck gb...@sernet.de
Reviewed-by: Michael 

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

2013-07-02 Thread Karolin Seeger
The branch, v4-1-test has been updated
   via  bef3fc8 tsocket: Pass the full port number to getaddrinfo().
   via  3d20d20 smbtorture: Make cracksname easier to debug by outputing 
the offered format
   via  74dd365 Fix a missing parenthesis in the LDAP search request
   via  af41eb6 docs-xml/manpages/smbclient.1.xml: fix case of -T flag in 
example.
   via  59462f2 winbindd and nmbd don't set their umask to zero on startup 
like smbd does.
   via  011dc52 sharesec: Document --view-all
   via  4da8984 sharesec: Document -v/--view
   via  780e2b0 sharesec: Implement --view-all
   via  4ee73fd s3:smbd/close remove filesystem lock before removing 
sharemode
   via  935992f s3:smbd/close use common exit path
   via  245b5ff s3:lib add mapping for ETXTBSY
   via  526f0df s3-ctdb: Fix auto-enabling of CTDB readonly support
   via  c9924eb s3:smbd/aio mark file as modified in the SMB2 case
   via  e65c532 nsswitch: fix a comment
   via  48ae86f heimdal_build: Add missing dep on samba4kgetcred
   via  7bf8fc7 torture: Add tests for LDAP substring search with no 
strings provided
   via  70cb7fd libcli/ldap: Cope with substring match with no chunks in 
ldap_push_filter
   via  4ca9639 ldb: bump version to allow a depencency on the substring 
crash fix
   via  1a279f7 ldb: Cope with substring match with no chunks in 
ldb_filter_from_tree
   via  32d0b75 Note how vfs_gpfs uses the acl map full control parameter.
   via  056e636 Add missing documentation for vfs_zfsacl.
   via  b00d9d2 Use existing acl map full control parameter to control 
the adding of the DELETE_CHILD parameter on NFSv4/ZFS/GPFS file ACE's.
   via  398ee49 s3/smbclient: fix incorrect command tab completions
   via  d544d17 build: Remove the struct MD5Context conf file check.
   via  9b88166 lsa4: Fix a set but unused variable warning
   via  0ee8650 ldb: Ensure not to segfault on a filter such as (mail=)
   via  bbe09b3 Add missing SMB2/SMB3 share capability flag define
   via  06e5401 lsa4: Fix a set but unused variable warning
   via  7d5daaa lsa4: Remove an unused variable
   via  2448fe3 lsa4: Remove an unused variable
   via  720b4d3 lsa4: Remove an unused variable
   via  6c49f90 Fix glusterfs backend crash found at the Microsoft interop 
event.
   via  b96cea4 Fix some blank line endings
   via  d2642cb dns: Fix CID 1034969 Uninitialized scalar variable
   via  ad86e2a s3:passdb/pdb_util make pdb_create_builtin consider whether 
backend deals with BUILTIN
   via  2d2d13e s3:passdb add a gid argument to pdb_create_builtin_alias
   via  212baed s3:utils/net_sam make use of pdb_create_builtin helper 
function
   via  df41835 s3:passdb expose pdb_create_builtin function
   via  6a048b4 s3:passdb/pdb_tdb add parameter to control handling of 
BUILTIN
   via  324b3cc s3:passdb/pdb_ldap remove an unnecessary check
   via  01e094b s3:passdb/pdb_ldap make the module handle well-known
   via  987de8a s3:passdb make pdb_sid_to_id honor backend responsibilities
   via  55dd9e6 s3:passdb/pdb_samba_dsdb make the module handle well-known
   via  56df37d s3:lib/util_sid_passdb make use of pdb_is_responsible_for_* 
functions
   via  0ad38d7 s3:passdb add pdb_*_is_responsible_for* functions
   via  9eb67f2 s3:passdb add idmap control functions
   via  0ad89c3 s3:passdb/samba_dsdb fix some compiler warnings
   via  e211b5c s3:passdb/samba_dsdb fix a compiler warning
   via  e17bc56 s3:utils/net_lookup fix a format-error
   via  88c72fc s4-winbind: Add special case for BUILTIN domain
   via  d4091c5 Fix bug #9166 - Starting smbd or nmbd with stdin from 
/dev/null results in EOF on stdin
   via  fc13489 build: Build with system md5.h on OpenIndiana
   via  5c4772e Re-add umask(0) code removed by commit 
3a7c2777ee0de37d758fe81d67d6836a8354825e
   via  fcc43cf Fix xx_path() - return check from mkdir() is incorrect.
   via  d924da9 docs/vfs_catia: rework man page
   via  8ac17ff docs/vfs_catia: remove space-char mapping recommendation
   via  8d75965 vfs_catia: use translate direction enum instead of int
   via  4cd7e1d vfs_streams_xattr: Do not attempt to write empty attribute 
twice
   via  9f25ad4 librpc: Shorten dcerpc_binding_handle_call a bit
   via  7982d2a librpc: Use tevent_req_poll_ntstatus
   via  20bede7 libsmbclient: Fix typos
   via  fffb701 tsocket: Add some const
   via  cf86f3e gencache: Simplify gencache_init a bit
   via  c71d6ec genrand: Slightly simplify do_reseed
   via  dd0e38b tevent: Fix Coverity ID 989236 Operands don't affect result
   via  f1781ad dsdb: remove a wrong comment in 
dsdb_check_access_on_dn_internal()
   via  122214b dsdb: don't allow a missing nTSecurityDescriptor in 
dsdb_get_sd_from_ldb_message()
   via  5959aff dsdb: use AS_SYSTEM | SHOW_RECYCLED for 

autobuild: intermittent test failure detected

2013-07-02 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/2013-07-02-1855/flakey.log

The samba3 build logs are available here:

   http://git.samba.org/autobuild.flakey/2013-07-02-1855/samba3.stderr
   http://git.samba.org/autobuild.flakey/2013-07-02-1855/samba3.stdout

The source4 build logs are available here:

   http://git.samba.org/autobuild.flakey/2013-07-02-1855/samba.stderr
   http://git.samba.org/autobuild.flakey/2013-07-02-1855/samba.stdout
  
The top commit at the time of the failure was:

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


[SCM] Samba Shared Repository - branch master updated

2013-07-02 Thread Jeremy Allison
The branch, master has been updated
   via  caf3af3 s3-winbind: Allow sec_initial_uid() to store creds.
   via  a4af4fa selftest: Use higher ip numbers.
   via  d5511b1 selftest: Add a newline to root entries in the nss files.
   via  7392985 selftest: Fix domain name of plugindc.
   via  bf5bc72 torture: Don't segfault in smb2.session on error.
   via  d295e18 torture: Don't segfault in raw.session on error.
   via  474eee0 torture: Fix comparsion of uninitalized bytes.
  from  0b58eed tsocket: Pass the full port number to getaddrinfo().

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


- Log -
commit caf3af33deeea9bee61a741fcc991285006cc6f5
Author: Andreas Schneider a...@samba.org
Date:   Mon Jul 1 13:02:48 2013 +0200

s3-winbind: Allow sec_initial_uid() to store creds.

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): Tue Jul  2 23:26:24 CEST 2013 on sn-devel-104

commit a4af4fa9db768dce2e009ba132cf88525a9b8314
Author: Andreas Schneider a...@samba.org
Date:   Mon Jul 1 13:02:47 2013 +0200

selftest: Use higher ip numbers.

127.0.0.2 is used by some distributions to resolve the own hostname.

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

commit d5511b125ccfd9c46cad63796aa49258bcc0ae38
Author: Andreas Schneider a...@samba.org
Date:   Mon Jul 1 13:02:46 2013 +0200

selftest: Add a newline to root entries in the nss files.

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

commit 7392985b2981cb82be5f99255faae1605972be53
Author: Andreas Schneider a...@samba.org
Date:   Mon Jul 1 13:02:45 2013 +0200

selftest: Fix domain name of plugindc.

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

commit bf5bc723da0605c7bc796f5e047e3f041db0b943
Author: Andreas Schneider a...@samba.org
Date:   Mon Jul 1 13:02:44 2013 +0200

torture: Don't segfault in smb2.session on error.

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

commit d295e18409a2e18e52c5bb76fec0e0540b6199cf
Author: Andreas Schneider a...@samba.org
Date:   Mon Jul 1 13:02:43 2013 +0200

torture: Don't segfault in raw.session on error.

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

commit 474eee0df7893a3a4546e1c6ea47220700c5b99f
Author: Andreas Schneider a...@samba.org
Date:   Tue Jul 2 15:24:40 2013 +0200

torture: Fix comparsion of uninitalized bytes.

As we compare string make sure we have the null terminator.

Found by valgrind.

Signed-off-by: Andreas Schneider a...@samba.org
Reviewed-by: Volker Lendecke v...@samba.org

---

Summary of changes:
 selftest/target/Samba.pm  |   11 ++-
 selftest/target/Samba3.pm |6 --
 selftest/target/Samba4.pm |2 +-
 source3/winbindd/winbindd_ccache_access.c |2 +-
 source4/torture/raw/session.c |4 +++-
 source4/torture/smb2/session.c|2 +-
 6 files changed, 16 insertions(+), 11 deletions(-)


Changeset truncated at 500 lines:

diff --git a/selftest/target/Samba.pm b/selftest/target/Samba.pm
index fa18985..ab3851f 100644
--- a/selftest/target/Samba.pm
+++ b/selftest/target/Samba.pm
@@ -150,11 +150,12 @@ sub get_interface($)
 $netbiosname = lc($netbiosname);
 
 my %interfaces = ();
-$interfaces{locals3dc2} = 2;
-$interfaces{localmember3} = 3;
-$interfaces{localshare4} = 4;
-$interfaces{localktest6} = 6;
-$interfaces{maptoguest} = 7;
+$interfaces{locals3dc2} = 3;
+$interfaces{localmember3} = 4;
+$interfaces{localshare4} = 5;
+
+$interfaces{localktest6} = 7;
+$interfaces{maptoguest} = 8;
 
 # 11-16 used by selftest.pl for client interfaces
 
diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm
index 91a8133..26f5e92 100755
--- a/selftest/target/Samba3.pm
+++ b/selftest/target/Samba3.pm
@@ -1124,7 +1124,8 @@ $unix_name:x:$unix_uid:$unix_gids[0]:$unix_name 
gecos:$prefix_abs:/bin/false
 pdbtest:x:$uid_pdbtest:$gid_nogroup:pdbtest gecos:$prefix_abs:/bin/false
 ;
if ($unix_uid != 0) {
-   print PASSWD root:x:$uid_root:$gid_root:root 
gecos:$prefix_abs:/bin/false;
+   print PASSWD root:x:$uid_root:$gid_root:root 
gecos:$prefix_abs:/bin/false
+;
}
close(PASSWD);
 
@@ -1139,7 +1140,8 @@ domusers:X:$gid_domusers:
 domadmins:X:$gid_domadmins:
 ;
if ($unix_gids[0] != 0) {
-   print GROUP root:x:$gid_root:;
+   print GROUP root:x:$gid_root:
+;
 

[SCM] CTDB repository - branch 1.2.40 updated - ctdb-1.2.64-33-gdc84c8e

2013-07-02 Thread Amitay Isaacs
The branch, 1.2.40 has been updated
   via  dc84c8ed12ed1bf136827b55128c2e74b38bdf55 (commit)
   via  20f730070d9dfbff5e29461a32dec8ee2a185a68 (commit)
   via  345f17d9bcf4b4f0f246b951d55458e1f774f5df (commit)
   via  c7156f49616600d1ad97262115728fbb42ef5574 (commit)
   via  d2f641181927f427b80705e28b88777e50a88433 (commit)
   via  1fbe90b28f11d18ab1a0e3e15eaa42c6de75683f (commit)
   via  8196c25749e9b12628768bdd96f9d85bd7166c07 (commit)
   via  7b98e4cae9b3e52256bdf5ec42aedabe236b7de5 (commit)
   via  d450c31e37fd4b38a6ac3245a85082769b78935f (commit)
   via  877923c8aee49eb3ef610d83727f41ae2f9d09ba (commit)
   via  350ba6907b8f7122c4df21879ffbb3b74e8df93c (commit)
   via  24a0bc600acbe3deea9549ce87567e9e0f779a89 (commit)
   via  42c8c05d23dcd22404d6c761171ffe210734150c (commit)
   via  c0626646d87fe477bbbd425ef94513f466b2e876 (commit)
   via  324d70e26bef94fab1c8c9b8c17cd0a7817866d9 (commit)
   via  1a03e2f0366800eeb15308932f6483f48e2547ea (commit)
   via  df6d7554ccb6c53bcff9bded85ed4882f335eaee (commit)
   via  1c64d205d92da6b5a9af98190755ebce5e1176f1 (commit)
   via  53ecceb8e0dba4149005bb4b042c0845470e859b (commit)
   via  c311947f93c5c01a3819c401566dfa9dc87855d0 (commit)
   via  ca276e0ceb0952ca2832829d8bfc44074915ffe5 (commit)
   via  d29d729ddb26fc5f8ce622a2e733c57baa3733a6 (commit)
   via  5c62e4313c505baba73beab9fcb097ea4e10d452 (commit)
   via  faf8a5fd78ca4854bf103bb4317758082f127684 (commit)
   via  2a2de0939e1a30a4eb8839dbd49d8d8c80609d9c (commit)
   via  c18dbafff80494277d2bb1c91f67cdf3c2425ad8 (commit)
   via  911534f39708848087911f2ab69dbcbc59c12295 (commit)
   via  023d4825375f49e8eeaa25ff54db4fc5eeea9ac8 (commit)
   via  c7665d48f1ac5baecfd64502f419215b1fb259d0 (commit)
   via  5f235169728576e008067d08eefa0661d4a6b520 (commit)
   via  a2bc855110b908ed72941bdfe176a79a5b5876a6 (commit)
   via  7a77f8661c4b7919c0b575fb79a22e62391e7654 (commit)
   via  c02afd52b6788dfe6b051f185465ff6854f7a845 (commit)
  from  4560186b514221bbde89ebc0124380007a22ed08 (commit)

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


- Log -
commit dc84c8ed12ed1bf136827b55128c2e74b38bdf55
Author: Amitay Isaacs ami...@gmail.com
Date:   Tue Jul 2 17:19:05 2013 +1000

New version 1.2.65

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

commit 20f730070d9dfbff5e29461a32dec8ee2a185a68
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
(cherry picked from commit ef1c4e99ca66e7a990bc557f34abb624c315e6ba)

commit 345f17d9bcf4b4f0f246b951d55458e1f774f5df
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
(cherry picked from commit fcd5e1f04c5fe6c98399429b8f0918b8779acba6)

commit c7156f49616600d1ad97262115728fbb42ef5574
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
(cherry picked from commit 932360992b08a5483d90c0590218ba0fd756119e)

commit d2f641181927f427b80705e28b88777e50a88433
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
(cherry picked from commit 741944f118e98f178b860194eecb215180949d18)

commit 1fbe90b28f11d18ab1a0e3e15eaa42c6de75683f
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
(cherry picked from commit ac06c46e4a80c635f6094b5ac6f0bf3e3a02db95)

commit 8196c25749e9b12628768bdd96f9d85bd7166c07
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
(cherry picked from commit df30c0a05ed908fc2a997c56ff5484736b23b70f)

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

recoverd: 

[SCM] CTDB repository - annotated tag ctdb-1.2.65 created - ctdb-1.2.65

2013-07-02 Thread Amitay Isaacs
The annotated tag, ctdb-1.2.65 has been created
at  cbc43cae7cc3b7901cc5bf77d4c103ff699d0e88 (tag)
   tagging  dc84c8ed12ed1bf136827b55128c2e74b38bdf55 (commit)
  replaces  ctdb-1.2.64
 tagged by  Amitay Isaacs
on  Wed Jul 3 10:16:51 2013 +1000

- Log -
new version 1.2.65

Amitay Isaacs (22):
  recoverd: When updating flags on nodes, send updated flags and not old 
flags
  recoverd: Print banning message only after verifying pnn
  freeze: Log message from ctdb_start_freeze() and ctdb_control_freeze()
  freeze: If priority is invalid here, it's time to abort
  freeze: Make ctdb_start_freeze() a void function
  banning: Log ban state changes for other nodes at higher debug level
  recovered: Remove old comment as the code corresponding to that has gone 
away
  recoverd: Set node_flags information as soon as we get nodemap
  recoverd: Also check if current node is in recovery when it is banned
  banning: Make ctdb_local_node_got_banned() a void function
  banning: No need to check if banned pnn is for local node
  banning: Do not come out of ban if databases are not frozen
  recoverd: Do not set banning credits on a node if current node is inactive
  recoverd: Always do an early exit from main_loop if node is stopped or 
banned
  recoverd: No need to check if node is recovery master when inactive
  recoverd: Update capabilities only if the current node is active
  recoverd: Delay the initial election if node is started in stopped state
  recoverd: Move code to ban other nodes after we get local node flags
  recoverd: Refactor code to ban misbehaving nodes
  doc: The second half of monitoring is only for recovery master
  ctdbd: Don't ban self if init or shutdown event fails
  New version 1.2.65

Martin Schwenke (3):
  recoverd: Clarify some misleading log messages
  tools/ctdb: Add force option to recover command
  recoverd: Don't continue if the current node gets banned

Michael Adam (5):
  recoverd: remove bogus comment qqq from add prototype new banning code
  recoverd: eliminate some trailing spaces from ctdb_election_win()
  recoverd: fix a comment in main_loop
  recoverd: fix a comment typo
  recoverd: when the recmaster is banned, use that information when forcing 
an election

Stefan Metzmacher (3):
  server/banning: also release all ips if we're banning ourself
  server/recoverd: do takeover_run after verifying the reclock file
  recoverd: try to become the recovery master if we have the capability, 
but the current master doesn't

---


-- 
CTDB repository