[SCM] Samba Shared Repository - branch master updated

2012-08-06 Thread Andrew Bartlett
The branch, master has been updated
   via  4e0fb8b Revert ldb: Add parameter to avoid NULL format string 
flagged by -Werror=format
   via  33c79c8 build: Make -Werror=format check only run where NULL is 
still accepted
   via  0514a84 Rework recursive waf build to be a selftest-enabled not a 
developer build
   via  dd8c0e5 build: Remove duplicate declaration of --enable-selftest
   via  49b2720 lib/param: Also enable vlp when --enable-selftest is 
specified
  from  1c7bd2b s3:smbd: remove unused variable in sesssetup.c

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


- Log -
commit 4e0fb8b4b1b7eadf315aeb599a079eb1d22a4d22
Author: Andrew Bartlett abart...@samba.org
Date:   Mon Aug 6 18:46:41 2012 +1000

Revert ldb: Add parameter to avoid NULL format string flagged by 
-Werror=format

This reverts commit cddcaf7bd2c272bc578ac1e4f7ec438ab94fc243.

-Werror=format is no longer uses when it would cause this to fail.
 This is a legitimate use of the ldb_search API.

Andrew Bartlett

Autobuild-User(master): Andrew Bartlett abart...@samba.org
Autobuild-Date(master): Mon Aug  6 14:47:27 CEST 2012 on sn-devel-104

commit 33c79c8731ea0c1ab78583a7c50953c56aea539f
Author: Andrew Bartlett abart...@samba.org
Date:   Mon Aug 6 18:46:30 2012 +1000

build: Make -Werror=format check only run where NULL is still accepted

This is needed because ldb_search() allows a NULL parameter for the format 
string
and this needs to be permitted by the format string checker before we want 
to
make this error fatal.

Andrew Bartlett

commit 0514a84f7e7d44eae3c7fcc85fc804af6fbfda6b
Author: Andrew Bartlett abart...@samba.org
Date:   Mon Aug 6 18:33:35 2012 +1000

Rework recursive waf build to be a selftest-enabled not a developer build

This essentially reverts commit a943a9ba2f739e8aee630f774915e8204aa8cf3a.

I've fixed this by making lib/param/parm_table.c honour --enable-selftest.

Andrew Bartlett

commit dd8c0e59a327c697e5f86a0fd3b18478c02c8c63
Author: Andrew Bartlett abart...@samba.org
Date:   Mon Aug 6 18:32:32 2012 +1000

build: Remove duplicate declaration of --enable-selftest

commit 49b27203174647d66fbf6a35266d587cc9e2e5cc
Author: Andrew Bartlett abart...@samba.org
Date:   Mon Aug 6 18:32:21 2012 +1000

lib/param: Also enable vlp when --enable-selftest is specified

---

Summary of changes:
 buildtools/wafsamba/samba_autoconf.py |   21 ++---
 lib/ldb/ldb_map/ldb_map.c |2 +-
 lib/param/loadparm.h  |2 +-
 lib/param/param_table.c   |2 +-
 selftest/wscript  |4 
 source3/Makefile-smbtorture4  |2 +-
 source3/param/loadparm.c  |2 +-
 source3/wscript   |3 ---
 8 files changed, 27 insertions(+), 11 deletions(-)


Changeset truncated at 500 lines:

diff --git a/buildtools/wafsamba/samba_autoconf.py 
b/buildtools/wafsamba/samba_autoconf.py
index cfab476..03c2b24 100644
--- a/buildtools/wafsamba/samba_autoconf.py
+++ b/buildtools/wafsamba/samba_autoconf.py
@@ -437,10 +437,10 @@ def CHECK_STRUCTURE_MEMBER(conf, structname, member,
 
 
 @conf
-def CHECK_CFLAGS(conf, cflags):
+def CHECK_CFLAGS(conf, cflags, fragment='int main(void) { return 0; }\n'):
 '''check if the given cflags are accepted by the compiler
 '''
-return conf.check(fragment='int main(void) { return 0; }\n',
+return conf.check(fragment=fragment,
   execute=0,
   type='nolink',
   ccflags=cflags,
@@ -622,11 +622,26 @@ def SAMBA_CONFIG_H(conf, path=None):
 
 if Options.options.developer:
 # we add these here to ensure that -Wstrict-prototypes is not set 
during configure
-conf.ADD_CFLAGS('-Wall -g -Wshadow -Werror=strict-prototypes 
-Wstrict-prototypes -Werror=pointer-arith -Wpointer-arith -Wcast-align 
-Werror=write-strings -Wwrite-strings -Werror-implicit-function-declaration 
-Werror=format -Wformat=2 -Wno-format-y2k -Wmissing-prototypes -fno-common 
-Werror=address',
+conf.ADD_CFLAGS('-Wall -g -Wshadow -Werror=strict-prototypes 
-Wstrict-prototypes -Werror=pointer-arith -Wpointer-arith -Wcast-align 
-Werror=write-strings -Wwrite-strings -Werror-implicit-function-declaration 
-Wformat=2 -Wno-format-y2k -Wmissing-prototypes -fno-common -Werror=address',
 testflags=True)
 conf.ADD_CFLAGS('-Wcast-qual', testflags=True)
 conf.env.DEVELOPER_MODE = True
 
+# This check is because for ldb_search(), a NULL format string
+# is not an error, but some compilers complain about that.
+if CHECK_CFLAGS(conf, -Werror=format, '''
+int testformat(char *format, ...) __attribute__ ((format (__printf__, 1, 2)));
+

[SCM] Samba Shared Repository - branch master updated

2012-08-06 Thread Stefan Metzmacher
The branch, master has been updated
   via  efe28b1 s4:libcli/pyerrors: add PyErr_NTSTATUS_NOT_OK_RAISE()
   via  a370792 s4:libcli/pyerrors: 
s/PyErr_WERROR_IS_ERR_RAISE/PyErr_WERROR_NOT_OK_RAISE/
  from  4e0fb8b Revert ldb: Add parameter to avoid NULL format string 
flagged by -Werror=format

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


- Log -
commit efe28b124770eaa66e39b1e9c717358d53547bd5
Author: Stefan Metzmacher me...@samba.org
Date:   Mon Aug 6 10:41:31 2012 +0200

s4:libcli/pyerrors: add PyErr_NTSTATUS_NOT_OK_RAISE()

metze

Autobuild-User(master): Stefan Metzmacher me...@samba.org
Autobuild-Date(master): Mon Aug  6 18:06:50 CEST 2012 on sn-devel-104

commit a370792cbc7285da90ef261d03efe781075ff71b
Author: Stefan Metzmacher me...@samba.org
Date:   Mon Aug 6 10:39:19 2012 +0200

s4:libcli/pyerrors: s/PyErr_WERROR_IS_ERR_RAISE/PyErr_WERROR_NOT_OK_RAISE/

metze

---

Summary of changes:
 source4/dsdb/pydsdb.c |   10 +-
 source4/lib/registry/pyregistry.c |   24 
 source4/libcli/util/pyerrors.h|8 +++-
 3 files changed, 24 insertions(+), 18 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/dsdb/pydsdb.c b/source4/dsdb/pydsdb.c
index b9e1dd7..3558049 100644
--- a/source4/dsdb/pydsdb.c
+++ b/source4/dsdb/pydsdb.c
@@ -591,7 +591,7 @@ static PyObject *py_dsdb_DsReplicaAttribute(PyObject *self, 
PyObject *args)
}
 
werr = a-syntax-ldb_to_drsuapi(syntax_ctx, a, el, attr, attr);
-   PyErr_WERROR_IS_ERR_RAISE(werr);
+   PyErr_WERROR_NOT_OK_RAISE(werr);
 
ret = py_return_ndr_struct(samba.dcerpc.drsuapi, 
DsReplicaAttribute, attr, attr);
 
@@ -702,11 +702,11 @@ static PyObject *py_dsdb_normalise_attributes(PyObject 
*self, PyObject *args)
}
 
werr = a-syntax-ldb_to_drsuapi(syntax_ctx, a, el, attr, attr);
-   PyErr_WERROR_IS_ERR_RAISE(werr);
+   PyErr_WERROR_NOT_OK_RAISE(werr);
 
/* now convert back again */
werr = a-syntax-drsuapi_to_ldb(syntax_ctx, a, attr, el, el);
-   PyErr_WERROR_IS_ERR_RAISE(werr);
+   PyErr_WERROR_NOT_OK_RAISE(werr);
 
ret = py_return_ndr_struct(ldb, MessageElement, el, el);
 
@@ -860,7 +860,7 @@ static PyObject *py_dsdb_set_schema_from_ldif(PyObject 
*self, PyObject *args)
PyErr_LDB_OR_RAISE(py_ldb, ldb);
 
result = dsdb_set_schema_from_ldif(ldb, pf, df, dn);
-   PyErr_WERROR_IS_ERR_RAISE(result);
+   PyErr_WERROR_NOT_OK_RAISE(result);
 
Py_RETURN_NONE;
 }
@@ -911,7 +911,7 @@ static PyObject 
*py_dsdb_write_prefixes_from_schema_to_ldb(PyObject *self, PyObj
}
 
result = dsdb_write_prefixes_from_schema_to_ldb(NULL, ldb, schema);
-   PyErr_WERROR_IS_ERR_RAISE(result);
+   PyErr_WERROR_NOT_OK_RAISE(result);
 
Py_RETURN_NONE;
 }
diff --git a/source4/lib/registry/pyregistry.c 
b/source4/lib/registry/pyregistry.c
index 2e8b95f..ad411e8 100644
--- a/source4/lib/registry/pyregistry.c
+++ b/source4/lib/registry/pyregistry.c
@@ -49,7 +49,7 @@ static PyObject *py_get_predefined_key_by_name(PyObject 
*self, PyObject *args)
return NULL;
 
result = reg_get_predefined_key_by_name(ctx, name, key);
-   PyErr_WERROR_IS_ERR_RAISE(result);
+   PyErr_WERROR_NOT_OK_RAISE(result);
 
return pytalloc_steal(PyRegistryKey, key);
 }
@@ -64,7 +64,7 @@ static PyObject *py_key_del_abs(PyObject *self, PyObject 
*args)
return NULL;
 
result = reg_key_del_abs(ctx, path);
-   PyErr_WERROR_IS_ERR_RAISE(result);
+   PyErr_WERROR_NOT_OK_RAISE(result);
 
Py_RETURN_NONE;
 }
@@ -80,7 +80,7 @@ static PyObject *py_get_predefined_key(PyObject *self, 
PyObject *args)
return NULL;
 
result = reg_get_predefined_key(ctx, hkey, key);
-   PyErr_WERROR_IS_ERR_RAISE(result);
+   PyErr_WERROR_NOT_OK_RAISE(result);
 
return pytalloc_steal(PyRegistryKey, key);
 }
@@ -94,7 +94,7 @@ static PyObject *py_diff_apply(PyObject *self, PyObject *args)
return NULL;
 
result = reg_diff_apply(ctx, filename);
-   PyErr_WERROR_IS_ERR_RAISE(result);
+   PyErr_WERROR_NOT_OK_RAISE(result);
 
Py_RETURN_NONE; 
 }
@@ -127,7 +127,7 @@ static PyObject *py_mount_hive(PyObject *self, PyObject 
*args)
SMB_ASSERT(ctx != NULL);
 
result = reg_mount_hive(ctx, PyHiveKey_AsHiveKey(py_hivekey), hkey, 
elements);
-   PyErr_WERROR_IS_ERR_RAISE(result);
+   PyErr_WERROR_NOT_OK_RAISE(result);
 
Py_RETURN_NONE;
 }
@@ -137,7 +137,7 @@ static PyObject *registry_new(PyTypeObject *type, PyObject 
*args, PyObject *kwar
WERROR result;
struct registry_context *ctx;
result = reg_open_local(NULL, ctx);
-   PyErr_WERROR_IS_ERR_RAISE(result);
+   

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

2012-08-06 Thread Karolin Seeger
The branch, v3-6-stable has been updated
   via  99c832a WHATSNEW: Add latest changes to the release notes.
   via  55d593f s4-torture: add ntprinting ndr operations testsuite.
   via  a7fdcbb ntprinting: mark the final 4 byte null pointer for printer 
data in ndr_pull_ntprinting_printer as read.
   via  4773eee ndr: fix push/pull DATA_BLOB with NDR_NOALIGN
   via  f793924 ntprinting: make decode_ntprinting helpers public in idl.
   via  c76961e WHATSNEW: Add changes since 3.6.6.
   via  37c2104 Fix bug 9062: cmd_lsarpc.c:1171: bad call to data_blob_const
   via  023b586 Use ippGet/ippSet (accessors) for IPP API.
   via  5261386 Fix bug #9037 - Name clash in MD5 cause...
   via  f79cee2 s3-winbind: Fix bug #9052 resolving our own Domain Local 
groups.
   via  e445130 s3-printing: fix broken print_job_get_name() return
   via  45859fd s3-torture: Use static printer for smbd spooler test 
(cherry picked from commit e0e0f30958f9cd4dbc8faba901216869bb6601e5)
   via  4caee8a s3-printing: use euid for vlp job tracking
   via  cf5fc02 s3-printing: fill print_generic sysjob id on job submission
   via  d5e77d2 s3-printing: pass lpq command to job_submit
   via  fc9ab1f s3-printing: remove unused print_job_fname() (cherry picked 
from commit f831a9bdb77c3e7ea7e5ae1653567ee12ceb)
   via  9ba0e90 s3-printing: pass a talloc ctx to unpack_pjob
   via  4e3d163 s3-printing: return talloced print jobs
   via  84c0836 s3-printing: clean up print_job_pause/resume interface
   via  819b1f9 s3-printing: fix potential print db refcount leak (cherry 
picked from commit 41d935744a03435337a90ab1477a7a54f96ca972)
   via  da24c7c s3-spoolss: remove duplicate . in smbd spooler path 
(cherry picked from commit df9a97b81f2a5520ed0ef79d9aeb3a014799e89c)
   via  a4835b8 s3-printing: remove print_parse_jobid()
   via  8f79660 s3-printing: remove redundant variable set (cherry picked 
from commit bf00b2155bc3e42946a3b2c6b9f88606b77f4bc8)
   via  ed60f5a s3-printing: remove print_parse_jobid() calls from 
printing.c
   via  5b12a91 s3-printing: rename queue-job sysjob
   via  35d1aa9 s3-printing: remove print_parse_jobid() from print_cups.c
   via  e07f676 s3-printing: store print jobid as part of struct printjob
   via  e86edf9 torture: add test for smbd print job spooling
   via  898621b s3:smb2_server: implement credit granting similar to windows
   via  3253b4e s3:smb2_server: make sure sequence numbers don't wrap at 
UINT64_MAX
   via  ce87140 s3:smb2_server: make sure we don't grant more credits than 
we allow
   via  2a7b53f s3:smb2_server: check the already granted credits like in 
the master branch
   via  0841ee2 s3:smb2_server: split out a smb2_validate_sequence_number() 
function
   via  da50122 s3:smb2_server: clear sequence window if we got the lowest 
sequence id
   via  3430b3a s3:smb2_server: fix calculation of the next bitmap_offset
   via  db97472 s3:smb2_server: remove unused and confusing 
DEFAULT_SMB2_MAX_CREDIT_BITMAP_FACTOR
   via  0af77fd s3:smb2_server: call smbd_smb2_request_validate() also in 
smbd_smb2_first_negprot()
   via  901432b s3:smb2_server: start the connection with one credit 
granted to the client
   via  8f6116e s3: Make us survive smb2.lock.rw-shared with aio enabled
   via  b33a97c Fix bug #9034 - Typo in set_re_uid() call when 
USE_SETRESUID selected in configure.
   via  b87847f s3:vfs_gpfs: be less verbose in get/set_xattr functions
   via  a30bd6f s3-vfs_gpfs: Fix bug #9003, posix acl on gpfs
   via  f07890a s3:winbindd: don't turn negative cache entries into valid 
idmappings (bug #9002)
   via  b193272 s3:passdb: don't turn negative cache entries into valid 
idmappings (bug #9002)
   via  dbe86be s3:winbindd: do not expose negative cache idmap entries as 
valid mappings (bug #9002)
   via  032e651 s3:winbindd: discard the expired gid cache if we're online 
(bug #9002)
   via  aed0136 s3: fix build without ads support
   via  22543c7 Fix bug #8974 - Kernel oplocks are broken when uid(file) != 
uid(process).
   via  14296e4 s3: Correct documentation of case sensitive
   via  96b47be Same fix as bug 8989 - Samba 3.5.x (and probably all other 
versions of Samba) does not send correct responses to NT Transact Secondary 
when no data and no params
   via  7697136 Fix Bug 8989 - Samba 3.5.x (and probably all other versions 
of Samba) does not send correct responses to NT Transact Secondary when no data 
and no params
  from  3a9fa74 WHATSNEW: Start release notes for Samba 3.6.7.

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


- Log -
commit 99c832a24d6d0c80d8f76f38b0062b62a0730706
Author: Karolin Seeger ksee...@samba.org
Date:   Mon Jul 30 19:10:53 2012 +0200

WHATSNEW: Add latest changes to the release 

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

2012-08-06 Thread Karolin Seeger
The annotated tag, samba-3.6.7 has been created
at  2a31c7a65785f8c18cde79d1e006ec29f2243fbe (tag)
   tagging  99c832a24d6d0c80d8f76f38b0062b62a0730706 (commit)
  replaces  samba-3.6.6
 tagged by  Karolin Seeger
on  Mon Jul 30 19:59:54 2012 +0200

- Log -
tag samba-3.6.7
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.15 (GNU/Linux)

iD8DBQBQFsukbzORW2Vot+oRAsAOAJ9fNnP1V0cZS3AB4EEi0oGs1kWfWQCbB7kg
XPwZQGAGVGnCz6NcpuVL5sA=
=xJ3g
-END PGP SIGNATURE-

Andreas Schneider (1):
  s3-winbind: Fix bug #9052 resolving our own Domain Local groups.

Björn Jacke (1):
  s3: fix build without ads support

David Binderman (1):
  Fix bug 9062: cmd_lsarpc.c:1171: bad call to data_blob_const

David Disseldorp (19):
  torture: add test for smbd print job spooling
  s3-printing: store print jobid as part of struct printjob
  s3-printing: remove print_parse_jobid() from print_cups.c
  s3-printing: rename queue-job sysjob
  s3-printing: remove print_parse_jobid() calls from printing.c
  s3-printing: remove redundant variable set
  s3-printing: remove print_parse_jobid()
  s3-spoolss: remove duplicate . in smbd spooler path
  s3-printing: fix potential print db refcount leak
  s3-printing: clean up print_job_pause/resume interface
  s3-printing: return talloced print jobs
  s3-printing: pass a talloc ctx to unpack_pjob
  s3-printing: remove unused print_job_fname()
  s3-printing: pass lpq command to job_submit
  s3-printing: fill print_generic sysjob id on job submission
  s3-printing: use euid for vlp job tracking
  s3-torture: Use static printer for smbd spooler test
  s3-printing: fix broken print_job_get_name() return
  ndr: fix push/pull DATA_BLOB with NDR_NOALIGN

Günther Deschner (3):
  ntprinting: make decode_ntprinting helpers public in idl.
  ntprinting: mark the final 4 byte null pointer for printer data in 
ndr_pull_ntprinting_printer as read.
  s4-torture: add ntprinting ndr operations testsuite.

Jeremy Allison (4):
  Fix Bug 8989 - Samba 3.5.x (and probably all other versions of Samba) 
does not send correct responses to NT Transact Secondary when no data and no 
params
  Same fix as bug 8989 - Samba 3.5.x (and probably all other versions of 
Samba) does not send correct responses to NT Transact Secondary when no data 
and no params
  Fix bug #8974 - Kernel oplocks are broken when uid(file) != uid(process).
  Fix bug #9034 - Typo in set_re_uid() call when USE_SETRESUID selected in 
configure.

Jiri Popelka (1):
  Use ippGet/ippSet (accessors) for IPP API.

Jura Sasek (1):
  Fix bug #9037 - Name clash in MD5 cause...

Karolin Seeger (4):
  VERSION: Bump version number up to 3.6.7.
  WHATSNEW: Start release notes for Samba 3.6.7.
  WHATSNEW: Add changes since 3.6.6.
  WHATSNEW: Add latest changes to the release notes.

Olaf Flebbe (1):
  s3: Correct documentation of case sensitive

Stefan Metzmacher (15):
  s3:winbindd: discard the expired gid cache if we're online (bug #9002)
  s3:winbindd: do not expose negative cache idmap entries as valid mappings 
(bug #9002)
  s3:passdb: don't turn negative cache entries into valid idmappings (bug 
#9002)
  s3:winbindd: don't turn negative cache entries into valid idmappings (bug 
#9002)
  s3:vfs_gpfs: be less verbose in get/set_xattr functions
  s3:smb2_server: start the connection with one credit granted to the client
  s3:smb2_server: call smbd_smb2_request_validate() also in 
smbd_smb2_first_negprot()
  s3:smb2_server: remove unused and confusing 
DEFAULT_SMB2_MAX_CREDIT_BITMAP_FACTOR
  s3:smb2_server: fix calculation of the next bitmap_offset
  s3:smb2_server: clear sequence window if we got the lowest sequence id
  s3:smb2_server: split out a smb2_validate_sequence_number() function
  s3:smb2_server: check the already granted credits like in the master 
branch
  s3:smb2_server: make sure we don't grant more credits than we allow
  s3:smb2_server: make sure sequence numbers don't wrap at UINT64_MAX
  s3:smb2_server: implement credit granting similar to windows

Volker Lendecke (2):
  s3-vfs_gpfs: Fix bug #9003, posix acl on gpfs
  s3: Make us survive smb2.lock.rw-shared with aio enabled

---


-- 
Samba Shared Repository


[SCM] Samba Website Repository - branch master updated

2012-08-06 Thread Karolin Seeger
The branch, master has been updated
   via  a84eee3 Announce Samba 3.6.7.
  from  daffb26 Announce Samba 3.5.16.

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


- Log -
commit a84eee372769d549c7cea4cf183e795855f01991
Author: Karolin Seeger ksee...@samba.org
Date:   Mon Aug 6 19:02:48 2012 +0200

Announce Samba 3.6.7.

Karolin

---

Summary of changes:
 generated_news/latest_10_bodies.html|   21 ---
 generated_news/latest_10_headlines.html |4 +-
 generated_news/latest_2_bodies.html |   24 
 history/header_history.html |1 +
 history/samba-3.6.7.html|   86 +++
 latest_stable_release.html  |6 +-
 6 files changed, 116 insertions(+), 26 deletions(-)
 create mode 100755 history/samba-3.6.7.html


Changeset truncated at 500 lines:

diff --git a/generated_news/latest_10_bodies.html 
b/generated_news/latest_10_bodies.html
index d373163..b1540f7 100644
--- a/generated_news/latest_10_bodies.html
+++ b/generated_news/latest_10_bodies.html
@@ -1,3 +1,15 @@
+   h5a name=3.6.706 August 2012/a/h5
+   p class=headlineSamba 3.6.7 Available for Download/p
+   pThis is the latest stable release of the Samba 3.6 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-3.6.7.tar.gz;downloaded
+now/a. A a 
href=http://samba.org/samba/ftp/patches/patch-3.6.6-3.6.7.diffs.gz;
+patch against Samba 3.6.6/a is also available.
+See a href=http://samba.org/samba/history/samba-3.6.67html;
+the release notes for more info/a./p
+
h5a name=3.5.1602 July 2012/a/h5
p class=headlineSamba 3.5.16 Available for Download/p
pThis is the latest stable release of the Samba 3.5 series./p
@@ -117,12 +129,3 @@ now/a. A a 
href=http://samba.org/samba/ftp/patches/patch-3.6.2-3.6.3.diffs.g
 using GnuPG (ID 6568B7EA).  The source code can be
 a href=http://samba.org/samba/ftp/stable/samba-3.6.2.tar.gz;downloaded
 now/a. A a 
href=http://samba.org/samba/ftp/patches/patch-3.6.1-3.6.2.diffs.gz;patch 
against Samba 3.6.1/a is also available. See a 
href=http://samba.org/samba/history/samba-3.6.2.html;the release notes for 
more info/a./p
-
-   h5a name=lwn_lca1217 January 2012/a/h5
-   p class=headlineLCA: A Samba 4 update/p
-
-pRead what Jonathan Corbet and many others got presented at
-a href=http://linux.conf.au/;linux.conf.au 2012/a at the
-a href=http://lwn.net/SubscriberLink/475592/8ed5bac474ed9f8a/;
-A Samba 4 update/a talk.
-/p
diff --git a/generated_news/latest_10_headlines.html 
b/generated_news/latest_10_headlines.html
index d4e166e..12233bd 100644
--- a/generated_news/latest_10_headlines.html
+++ b/generated_news/latest_10_headlines.html
@@ -1,4 +1,6 @@
 ul
+   li 06 August 2012 a href=#3.6.7Samba 3.6.7 Available for 
Download/a/li
+
li 02 July 2012 a href=#3.5.16Samba 3.5.16 Available for 
Download/a/li
 
li 25 June 2012 a href=#3.6.6Samba 3.6.6 Available for 
Download/a/li
@@ -16,6 +18,4 @@
li 29 January 2012 a href=#3.6.3Samba 3.6.3 Security Release 
Available for Download/a/li
 
li 25 January 2012 a href=#3.6.2Samba 3.6.2 Available for 
Download/a/li
-
-   li 17 January 2012 a 
href=http://lwn.net/SubscriberLink/475592/8ed5bac474ed9f8a/;A Samba 4 
update/a featured by a href=http://LWN.net/LWN.net/a./li
 /ul
diff --git a/generated_news/latest_2_bodies.html 
b/generated_news/latest_2_bodies.html
index 29ade38..15a0c8b 100644
--- a/generated_news/latest_2_bodies.html
+++ b/generated_news/latest_2_bodies.html
@@ -1,3 +1,15 @@
+   h5a name=3.6.706 August 2012/a/h5
+   p class=headlineSamba 3.6.7 Available for Download/p
+   pThis is the latest stable release of the Samba 3.6 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-3.6.7.tar.gz;downloaded
+now/a. A a 
href=http://samba.org/samba/ftp/patches/patch-3.6.6-3.6.7.diffs.gz;
+patch against Samba 3.6.6/a is also available.
+See a href=http://samba.org/samba/history/samba-3.6.67html;
+the release notes for more info/a./p
+
h5a name=3.5.1602 July 2012/a/h5
p class=headlineSamba 3.5.16 Available for Download/p
pThis is the latest stable release of the Samba 3.5 series./p
@@ -6,15 +18,3 @@
 using GnuPG (ID 6568B7EA).  The source code can be
 a href=http://samba.org/samba/ftp/stable/samba-3.5.16.tar.gz;downloaded
 now/a. A a 
href=http://samba.org/samba/ftp/patches/patch-3.5.15-3.5.16.diffs.gz;patch 
against Samba 3.5.15/a is also available. See a 
href=http://samba.org/samba/history/samba-3.5.16.html;the release notes for 
more info/a./p
-
-   h5a name=3.6.625 June 2012/a/h5
-   

[SCM] Samba Website Repository - branch master updated

2012-08-06 Thread Karolin Seeger
The branch, master has been updated
   via  6ba1a98 Fix link to the 3.6.7 release notes.
  from  a84eee3 Announce Samba 3.6.7.

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


- Log -
commit 6ba1a981a5e71f173bfa429aea83694bf2994da6
Author: Karolin Seeger ksee...@samba.org
Date:   Mon Aug 6 19:17:36 2012 +0200

Fix link to the 3.6.7 release notes.

Karolin

---

Summary of changes:
 generated_news/latest_10_bodies.html |2 +-
 generated_news/latest_2_bodies.html  |2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/generated_news/latest_10_bodies.html 
b/generated_news/latest_10_bodies.html
index b1540f7..030dd9b 100644
--- a/generated_news/latest_10_bodies.html
+++ b/generated_news/latest_10_bodies.html
@@ -7,7 +7,7 @@ using GnuPG (ID 6568B7EA).  The source code can be
 a href=http://samba.org/samba/ftp/stable/samba-3.6.7.tar.gz;downloaded
 now/a. A a 
href=http://samba.org/samba/ftp/patches/patch-3.6.6-3.6.7.diffs.gz;
 patch against Samba 3.6.6/a is also available.
-See a href=http://samba.org/samba/history/samba-3.6.67html;
+See a href=http://samba.org/samba/history/samba-3.6.7.html;
 the release notes for more info/a./p
 
h5a name=3.5.1602 July 2012/a/h5
diff --git a/generated_news/latest_2_bodies.html 
b/generated_news/latest_2_bodies.html
index 15a0c8b..c469a5e 100644
--- a/generated_news/latest_2_bodies.html
+++ b/generated_news/latest_2_bodies.html
@@ -7,7 +7,7 @@ using GnuPG (ID 6568B7EA).  The source code can be
 a href=http://samba.org/samba/ftp/stable/samba-3.6.7.tar.gz;downloaded
 now/a. A a 
href=http://samba.org/samba/ftp/patches/patch-3.6.6-3.6.7.diffs.gz;
 patch against Samba 3.6.6/a is also available.
-See a href=http://samba.org/samba/history/samba-3.6.67html;
+See a href=http://samba.org/samba/history/samba-3.6.7.html;
 the release notes for more info/a./p
 
h5a name=3.5.1602 July 2012/a/h5


-- 
Samba Website Repository


[SCM] Samba Shared Repository - branch master updated

2012-08-06 Thread Christian Ambach
The branch, master has been updated
   via  b20fb15 s4:libcli/smb2/write correct error checking
   via  4e91ccf smbXcli: add some includes to fix compiler warnings
   via  0dfc330 lib/socket_wrapper: writev returns ssize_t, not int
   via  18c152f lib/param: move enum dns_update_settings to lib/param
  from  efe28b1 s4:libcli/pyerrors: add PyErr_NTSTATUS_NOT_OK_RAISE()

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


- Log -
commit b20fb153e1f20a2c6bdbf71d91858e8d2b1c4712
Author: Christian Ambach a...@samba.org
Date:   Fri Jul 27 15:09:18 2012 +0200

s4:libcli/smb2/write correct error checking

Server might return STATUS_BUFFER_OVERFLOW, which is not caught by 
NT_STATUS_IS_ERR

Autobuild-User(master): Christian Ambach a...@samba.org
Autobuild-Date(master): Mon Aug  6 20:01:01 CEST 2012 on sn-devel-104

commit 4e91ccf16de6db8fdfdec65717b95f0e072f42da
Author: Christian Ambach a...@samba.org
Date:   Tue Jul 24 13:16:57 2012 +0200

smbXcli: add some includes to fix compiler warnings

if smbXcli_base.h is included on its own, there are various compiler 
warnings
about implicitly declared struct iovec and smb2_create_blobs

commit 0dfc33026e1445327954b8822afe4e44e82185ef
Author: Christian Ambach a...@samba.org
Date:   Fri Jul 27 15:08:05 2012 +0200

lib/socket_wrapper: writev returns ssize_t, not int

commit 18c152f8aa5ab7b5463fa1f6daf72fbbe32eaddb
Author: Christian Ambach a...@samba.org
Date:   Fri Aug 3 17:59:17 2012 +0200

lib/param: move enum dns_update_settings to lib/param

---

Summary of changes:
 lib/param/loadparm.c|1 -
 lib/param/loadparm.h|3 +++
 lib/socket_wrapper/socket_wrapper.c |2 +-
 lib/socket_wrapper/socket_wrapper.h |2 +-
 libcli/smb/smbXcli_base.h   |3 +++
 source3/param/loadparm.c|1 -
 source4/dns_server/dns_update.c |2 +-
 source4/dns_server/dns_update.h |   25 -
 source4/libcli/smb2/write.c |2 +-
 9 files changed, 10 insertions(+), 31 deletions(-)
 delete mode 100644 source4/dns_server/dns_update.h


Changeset truncated at 500 lines:

diff --git a/lib/param/loadparm.c b/lib/param/loadparm.c
index 80733b4..4751a06 100644
--- a/lib/param/loadparm.c
+++ b/lib/param/loadparm.c
@@ -66,7 +66,6 @@
 #include lib/param/s3_param.h
 #include lib/util/bitmap.h
 #include libcli/smb/smb_constants.h
-#include source4/dns_server/dns_update.h
 
 #define standard_sub_basic talloc_strdup
 
diff --git a/lib/param/loadparm.h b/lib/param/loadparm.h
index 8c4a7b1..591e6e5 100644
--- a/lib/param/loadparm.h
+++ b/lib/param/loadparm.h
@@ -176,6 +176,9 @@ enum printing_types 
{PRINT_BSD,PRINT_SYSV,PRINT_AIX,PRINT_HPUX,
 #define ADS_AUTH_SASL_FORCE   0x0080
 #define ADS_AUTH_USER_CREDS   0x0100
 
+/* DNS update settings */
+enum dns_update_settings {DNS_UPDATE_OFF, DNS_UPDATE_ON, DNS_UPDATE_SIGNED};
+
 /* LDAP SSL options */
 enum ldap_ssl_types {LDAP_SSL_OFF, LDAP_SSL_START_TLS};
 
diff --git a/lib/socket_wrapper/socket_wrapper.c 
b/lib/socket_wrapper/socket_wrapper.c
index 44d21fb..3c9d0f1 100644
--- a/lib/socket_wrapper/socket_wrapper.c
+++ b/lib/socket_wrapper/socket_wrapper.c
@@ -2506,7 +2506,7 @@ int swrap_readv(int s, const struct iovec *vector, size_t 
count)
return ret;
 }
 
-int swrap_writev(int s, const struct iovec *vector, size_t count)
+ssize_t swrap_writev(int s, const struct iovec *vector, size_t count)
 {
struct msghdr msg;
struct iovec tmp;
diff --git a/lib/socket_wrapper/socket_wrapper.h 
b/lib/socket_wrapper/socket_wrapper.h
index 32c9de6..bd8cdca 100644
--- a/lib/socket_wrapper/socket_wrapper.h
+++ b/lib/socket_wrapper/socket_wrapper.h
@@ -56,7 +56,7 @@ ssize_t swrap_recv(int s, void *buf, size_t len, int flags);
 ssize_t swrap_read(int s, void *buf, size_t len);
 ssize_t swrap_send(int s, const void *buf, size_t len, int flags);
 int swrap_readv(int s, const struct iovec *vector, size_t count);
-int swrap_writev(int s, const struct iovec *vector, size_t count);
+ssize_t swrap_writev(int s, const struct iovec *vector, size_t count);
 int swrap_close(int);
 int swrap_dup(int oldfd);
 int swrap_dup2(int oldfd, int newfd);
diff --git a/libcli/smb/smbXcli_base.h b/libcli/smb/smbXcli_base.h
index 689369e..2c0410b 100644
--- a/libcli/smb/smbXcli_base.h
+++ b/libcli/smb/smbXcli_base.h
@@ -21,6 +21,9 @@
 #ifndef _SMBXCLI_BASE_H_
 #define _SMBXCLI_BASE_H_
 
+#include sys/uio.h
+#include libcli/smb/smb2_create_blob.h
+
 struct smbXcli_conn;
 struct smbXcli_session;
 struct smbXcli_tcon;
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index dc23868..1b766c3 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -68,7 +68,6 @@
 #include dbwrap/dbwrap.h
 #include dbwrap/dbwrap_rbt.h
 #include ../lib/util/bitmap.h

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

2012-08-06 Thread Karolin Seeger
The branch, v3-6-test has been updated
   via  af159e2 WHASTNEW: Start release notes for Samba 3.6.8.
   via  cefbf9a VERSION: Bump version number up to 3.6.8.
  from  54233b5 WHATSNEW: Add latest changes to the release notes.

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


- Log -
commit af159e2873888186665aeafc23491bf0b22f738c
Author: Karolin Seeger ksee...@samba.org
Date:   Mon Aug 6 20:05:13 2012 +0200

WHASTNEW: Start release notes for Samba 3.6.8.

Karolin

commit cefbf9a13ee9c3a4ca3df2e7687466a0c542d888
Author: Karolin Seeger ksee...@samba.org
Date:   Mon Aug 6 20:02:52 2012 +0200

VERSION: Bump version number up to 3.6.8.

Karolin

---

Summary of changes:
 WHATSNEW.txt|   45 +++--
 source3/VERSION |2 +-
 2 files changed, 44 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index a3c3fa7..05de570 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -1,4 +1,44 @@
=
+   Release Notes for Samba 3.6.8
+ September 17, 2012
+   =
+
+
+This is is the latest stable release of Samba 3.6.
+
+Major enhancements in Samba 3.6.8 include:
+
+o  
+
+Changes since 3.6.7:
+
+
+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.6 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.6.7
August 6, 2012
=
@@ -87,8 +127,9 @@ database (https://bugzilla.samba.org/).
 == The Samba Team
 ==
 
-Release notes for older releases follow:
-
+
+--
+
 
=
Release Notes for Samba 3.6.6
diff --git a/source3/VERSION b/source3/VERSION
index 7de69aa..8f4809c 100644
--- a/source3/VERSION
+++ b/source3/VERSION
@@ -25,7 +25,7 @@
 
 SAMBA_VERSION_MAJOR=3
 SAMBA_VERSION_MINOR=6
-SAMBA_VERSION_RELEASE=7
+SAMBA_VERSION_RELEASE=8
 
 
 # Bug fix releases use a letter for the patch revision #


-- 
Samba Shared Repository


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

2012-08-06 Thread Karolin Seeger
The branch, v3-6-stable has been updated
   via  f31bbbc WHASTNEW: Start release notes for Samba 3.6.8.
   via  eb4d88b VERSION: Bump version number up to 3.6.8.
  from  99c832a WHATSNEW: Add latest changes to the release notes.

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


- Log -
commit f31bbbc9eff325fead3cfe409c02ea2b79a2f199
Author: Karolin Seeger ksee...@samba.org
Date:   Mon Aug 6 20:05:13 2012 +0200

WHASTNEW: Start release notes for Samba 3.6.8.

Karolin
(cherry picked from commit af159e2873888186665aeafc23491bf0b22f738c)

commit eb4d88bfdafe9cd8de0b5cb366f18a24f727f537
Author: Karolin Seeger ksee...@samba.org
Date:   Mon Aug 6 20:02:52 2012 +0200

VERSION: Bump version number up to 3.6.8.

Karolin
(cherry picked from commit cefbf9a13ee9c3a4ca3df2e7687466a0c542d888)

---

Summary of changes:
 WHATSNEW.txt|   45 +++--
 source3/VERSION |2 +-
 2 files changed, 44 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index a3c3fa7..05de570 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -1,4 +1,44 @@
=
+   Release Notes for Samba 3.6.8
+ September 17, 2012
+   =
+
+
+This is is the latest stable release of Samba 3.6.
+
+Major enhancements in Samba 3.6.8 include:
+
+o  
+
+Changes since 3.6.7:
+
+
+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.6 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.6.7
August 6, 2012
=
@@ -87,8 +127,9 @@ database (https://bugzilla.samba.org/).
 == The Samba Team
 ==
 
-Release notes for older releases follow:
-
+
+--
+
 
=
Release Notes for Samba 3.6.6
diff --git a/source3/VERSION b/source3/VERSION
index e8473bc..e3edda5 100644
--- a/source3/VERSION
+++ b/source3/VERSION
@@ -25,7 +25,7 @@
 
 SAMBA_VERSION_MAJOR=3
 SAMBA_VERSION_MINOR=6
-SAMBA_VERSION_RELEASE=7
+SAMBA_VERSION_RELEASE=8
 
 
 # Bug fix releases use a letter for the patch revision #


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch master updated

2012-08-06 Thread Stefan Metzmacher
The branch, master has been updated
   via  721096b s3:smb2_server: make use of 
smbd_smb2_inbuf_parse_compound() in smbd_smb2_request_read*()
   via  fbd663c s3:smb2_server: make use of 
smbd_smb2_inbuf_parse_compound() in smbd_smb2_request_create()
   via  9e9d784 s3:smb2_server: remove const from smbd_smb2_first_negprot()
   via  c1b3454 s3:smb2_server: add smbd_smb2_inbuf_parse_compound()
  from  b20fb15 s4:libcli/smb2/write correct error checking

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


- Log -
commit 721096b1ad58e97a20896fa74fa8e06013bb8a15
Author: Stefan Metzmacher me...@samba.org
Date:   Sun Aug 5 20:52:55 2012 +0200

s3:smb2_server: make use of smbd_smb2_inbuf_parse_compound() in 
smbd_smb2_request_read*()

This changes the way we read SMB2 traffic from the socket,
now as create just one large buffer for the whole NBT payload
and then split it into iovec elements in smbd_smb2_inbuf_parse_compound()

metze

Autobuild-User(master): Stefan Metzmacher me...@samba.org
Autobuild-Date(master): Mon Aug  6 21:54:35 CEST 2012 on sn-devel-104

commit fbd663c1437c104e9bc7f8f51fdef3747a111935
Author: Stefan Metzmacher me...@samba.org
Date:   Sun Aug 5 20:48:51 2012 +0200

s3:smb2_server: make use of smbd_smb2_inbuf_parse_compound() in 
smbd_smb2_request_create()

metze

commit 9e9d784def6f0465075e0f0ce6243daaab277d90
Author: Stefan Metzmacher me...@samba.org
Date:   Sun Aug 5 20:46:35 2012 +0200

s3:smb2_server: remove const from smbd_smb2_first_negprot()

metze

commit c1b345425997bc56a9dffd910b674e6820638337
Author: Stefan Metzmacher me...@samba.org
Date:   Sun Aug 5 19:39:39 2012 +0200

s3:smb2_server: add smbd_smb2_inbuf_parse_compound()

metze

---

Summary of changes:
 source3/smbd/globals.h |8 +-
 source3/smbd/smb2_server.c |  482 ++--
 2 files changed, 200 insertions(+), 290 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h
index cf9d01b..967fe85 100644
--- a/source3/smbd/globals.h
+++ b/source3/smbd/globals.h
@@ -219,7 +219,7 @@ bool smbd_is_smb2_header(const uint8_t *inbuf, size_t size);
 void reply_smb2002(struct smb_request *req, uint16_t choice);
 void reply_smb20ff(struct smb_request *req, uint16_t choice);
 void smbd_smb2_first_negprot(struct smbd_server_connection *sconn,
-const uint8_t *inbuf, size_t size);
+uint8_t *inbuf, size_t size);
 
 NTSTATUS smbd_smb2_request_error_ex(struct smbd_smb2_request *req,
NTSTATUS status,
@@ -493,10 +493,8 @@ struct smbd_smb2_request {
 #define SMBD_SMB2_OUT_DYN_LEN(req)   (SMBD_SMB2_OUT_DYN_IOV(req)-iov_len)
 
struct {
-   /* the NBT header is not allocated */
-   uint8_t nbt_hdr[4];
/*
-* vector[0] NBT
+* vector[0] TRANSPORT HEADER
 * .
 * vector[1] SMB2
 * vector[2] fixed body
@@ -518,7 +516,7 @@ struct smbd_smb2_request {
/* the NBT header is not allocated */
uint8_t nbt_hdr[4];
/*
-* vector[0] NBT
+* vector[0] TRANSPORT HEADER
 * .
 * vector[1] SMB2
 * vector[2] fixed body
diff --git a/source3/smbd/smb2_server.c b/source3/smbd/smb2_server.c
index 443a8f9..1c19cce 100644
--- a/source3/smbd/smb2_server.c
+++ b/source3/smbd/smb2_server.c
@@ -180,16 +180,121 @@ static struct smbd_smb2_request 
*smbd_smb2_request_allocate(TALLOC_CTX *mem_ctx)
return req;
 }
 
+static NTSTATUS smbd_smb2_inbuf_parse_compound(struct smbXsrv_connection *conn,
+  NTTIME now,
+  uint8_t *buf,
+  size_t buflen,
+  TALLOC_CTX *mem_ctx,
+  struct iovec **piov,
+  int *pnum_iov)
+{
+   struct iovec *iov;
+   int num_iov = 1;
+   size_t taken = 0;
+   uint8_t *first_hdr = buf;
+
+   /*
+* Note: index '0' is reserved for the transport protocol
+*/
+   iov = talloc_zero_array(mem_ctx, struct iovec, num_iov);
+   if (iov == NULL) {
+   return NT_STATUS_NO_MEMORY;
+   }
+
+   while (taken  buflen) {
+   size_t len = buflen - taken;
+   uint8_t *hdr = first_hdr + taken;
+   struct iovec *cur;
+   size_t full_size;
+   size_t next_command_ofs;
+   uint16_t body_size;
+   struct iovec