[SCM] Samba Shared Repository - branch master updated

2020-11-05 Thread Jeremy Allison
The branch, master has been updated
   via  c2fcd83ed7b s4:libnet:py_net - free event context in dealloc fn
  from  ca07dc775cb Revert "lookup_name: allow lookup for own realm"

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


- Log -
commit c2fcd83ed7b5cf54b2c5de296a4126ea4e9e155e
Author: Andrew Walker 
Date:   Mon Nov 2 16:42:29 2020 -0500

s4:libnet:py_net - free event context in dealloc fn

Creation of a new Net() object initializes an event context under
a NULL talloc context and then creates a new talloc context as a
child of the event context. The deallocation function for the
net object only frees the child and not the parent. This leaks an
fd for the tevent context and associated memory.

Signed-off-by: Andrew Walker 
Reviewed-by: Jeremy Allison 
Reviewed-by: Gary Lockyer 

Autobuild-User(master): Jeremy Allison 
Autobuild-Date(master): Fri Nov  6 04:58:31 UTC 2020 on sn-devel-184

---

Summary of changes:
 source4/libnet/py_net.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


Changeset truncated at 500 lines:

diff --git a/source4/libnet/py_net.c b/source4/libnet/py_net.c
index 25a25b0cfd1..df9280d8c18 100644
--- a/source4/libnet/py_net.c
+++ b/source4/libnet/py_net.c
@@ -843,7 +843,7 @@ static PyMethodDef net_obj_methods[] = {
 
 static void py_net_dealloc(py_net_Object *self)
 {
-   talloc_free(self->mem_ctx);
+   talloc_free(self->ev);
PyObject_Del(self);
 }
 


-- 
Samba Shared Repository



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

2020-11-05 Thread Karolin Seeger
The branch, v4-13-test has been updated
   via  4337a6378db s3-vfs_glusterfs: always disable write-behind translator
  from  87b220530b2 VERSION: Bump version up to 4.13.3...

https://git.samba.org/?p=samba.git;a=shortlog;h=v4-13-test


- Log -
commit 4337a6378db35d6204886d4e3ad6add5c727c7cd
Author: Günther Deschner 
Date:   Mon Nov 2 16:10:44 2020 +0100

s3-vfs_glusterfs: always disable write-behind translator

The "pass-through" option has now been merged upstream as of:
https://github.com/gluster/glusterfs/pull/1640

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14486

Guenther

Signed-off-by: Guenther Deschner 
Pair-Programmed-With: Anoop C S 
Pair-Programmed-With: Sachin Prabhu 
Reviewed-by: Jeremy Allison 

Autobuild-User(master): Jeremy Allison 
Autobuild-Date(master): Wed Nov  4 22:53:49 UTC 2020 on sn-devel-184

(cherry picked from commit a51cda69ec6a017ad04b5690a3ae67a5478deee9)

Autobuild-User(v4-13-test): Karolin Seeger 
Autobuild-Date(v4-13-test): Thu Nov  5 13:54:25 UTC 2020 on sn-devel-184

---

Summary of changes:
 source3/modules/vfs_glusterfs.c | 20 +---
 source3/wscript |  3 +++
 2 files changed, 20 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/modules/vfs_glusterfs.c b/source3/modules/vfs_glusterfs.c
index 3cbb1ab6cb6..bdfe35ced82 100644
--- a/source3/modules/vfs_glusterfs.c
+++ b/source3/modules/vfs_glusterfs.c
@@ -363,6 +363,7 @@ static int vfs_gluster_connect(struct vfs_handle_struct 
*handle,
glfs_t *fs = NULL;
TALLOC_CTX *tmp_ctx;
int ret = 0;
+   bool write_behind_pass_through_set = false;
 
tmp_ctx = talloc_new(NULL);
if (tmp_ctx == NULL) {
@@ -435,6 +436,17 @@ static int vfs_gluster_connect(struct vfs_handle_struct 
*handle,
goto done;
}
 
+#ifdef HAVE_GFAPI_VER_7_9
+   ret = glfs_set_xlator_option(fs, "*-write-behind", "pass-through",
+"true");
+   if (ret < 0) {
+   DBG_ERR("%s: Failed to set xlator option: pass-through\n",
+   volume);
+   goto done;
+   }
+   write_behind_pass_through_set = true;
+#endif
+
ret = glfs_set_logging(fs, logfile, loglevel);
if (ret < 0) {
DEBUG(0, ("%s: Failed to set logfile %s loglevel %d\n",
@@ -449,9 +461,11 @@ static int vfs_gluster_connect(struct vfs_handle_struct 
*handle,
goto done;
}
 
-   ret = check_for_write_behind_translator(tmp_ctx, fs, volume);
-   if (ret < 0) {
-   goto done;
+   if (!write_behind_pass_through_set) {
+   ret = check_for_write_behind_translator(tmp_ctx, fs, volume);
+   if (ret < 0) {
+   goto done;
+   }
}
 
ret = glfs_set_preopened(volume, handle->conn->connectpath, fs);
diff --git a/source3/wscript b/source3/wscript
index 335cfd797f1..9920432a360 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -1766,6 +1766,9 @@ main() {
 conf.CHECK_CFG(package='glusterfs-api', args='"glusterfs-api >= 7.6" 
--cflags --libs',
msg='Checking for glusterfs-api >= 7.6',
uselib_store="GFAPI_VER_7_6")
+conf.CHECK_CFG(package='glusterfs-api', args='"glusterfs-api >= 7.9" 
--cflags --libs',
+   msg='Checking for glusterfs-api >= 7.9',
+   uselib_store="GFAPI_VER_7_9")
 else:
 conf.SET_TARGET_TYPE('gfapi', 'EMPTY')
 conf.undefine('HAVE_GLUSTERFS')


-- 
Samba Shared Repository



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

2020-11-05 Thread Karolin Seeger
The branch, v4-12-test has been updated
   via  9215dc9dc69 s3-vfs_glusterfs: always disable write-behind translator
  from  15c35524a27 VERSION: Bump version up to 4.12.11...

https://git.samba.org/?p=samba.git;a=shortlog;h=v4-12-test


- Log -
commit 9215dc9dc69c76082d251b94b2d79c9129a732a3
Author: Günther Deschner 
Date:   Mon Nov 2 16:10:44 2020 +0100

s3-vfs_glusterfs: always disable write-behind translator

The "pass-through" option has now been merged upstream as of:
https://github.com/gluster/glusterfs/pull/1640

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14486

Guenther

Signed-off-by: Guenther Deschner 
Pair-Programmed-With: Anoop C S 
Pair-Programmed-With: Sachin Prabhu 
Reviewed-by: Jeremy Allison 

Autobuild-User(master): Jeremy Allison 
Autobuild-Date(master): Wed Nov  4 22:53:49 UTC 2020 on sn-devel-184

(cherry picked from commit a51cda69ec6a017ad04b5690a3ae67a5478deee9)

Autobuild-User(v4-12-test): Karolin Seeger 
Autobuild-Date(v4-12-test): Thu Nov  5 12:27:28 UTC 2020 on sn-devel-184

---

Summary of changes:
 source3/modules/vfs_glusterfs.c | 20 +---
 source3/wscript |  3 +++
 2 files changed, 20 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/modules/vfs_glusterfs.c b/source3/modules/vfs_glusterfs.c
index b733adfff5c..3f00e87c5e0 100644
--- a/source3/modules/vfs_glusterfs.c
+++ b/source3/modules/vfs_glusterfs.c
@@ -363,6 +363,7 @@ static int vfs_gluster_connect(struct vfs_handle_struct 
*handle,
glfs_t *fs = NULL;
TALLOC_CTX *tmp_ctx;
int ret = 0;
+   bool write_behind_pass_through_set = false;
 
tmp_ctx = talloc_new(NULL);
if (tmp_ctx == NULL) {
@@ -429,6 +430,17 @@ static int vfs_gluster_connect(struct vfs_handle_struct 
*handle,
goto done;
}
 
+#ifdef HAVE_GFAPI_VER_7_9
+   ret = glfs_set_xlator_option(fs, "*-write-behind", "pass-through",
+"true");
+   if (ret < 0) {
+   DBG_ERR("%s: Failed to set xlator option: pass-through\n",
+   volume);
+   goto done;
+   }
+   write_behind_pass_through_set = true;
+#endif
+
ret = glfs_set_logging(fs, logfile, loglevel);
if (ret < 0) {
DEBUG(0, ("%s: Failed to set logfile %s loglevel %d\n",
@@ -443,9 +455,11 @@ static int vfs_gluster_connect(struct vfs_handle_struct 
*handle,
goto done;
}
 
-   ret = check_for_write_behind_translator(tmp_ctx, fs, volume);
-   if (ret < 0) {
-   goto done;
+   if (!write_behind_pass_through_set) {
+   ret = check_for_write_behind_translator(tmp_ctx, fs, volume);
+   if (ret < 0) {
+   goto done;
+   }
}
 
ret = glfs_set_preopened(volume, handle->conn->connectpath, fs);
diff --git a/source3/wscript b/source3/wscript
index 6d5bd22ca49..1176f6fdc29 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -1742,6 +1742,9 @@ main() {
 conf.CHECK_CFG(package='glusterfs-api', args='"glusterfs-api >= 7.6" 
--cflags --libs',
msg='Checking for glusterfs-api >= 7.6',
uselib_store="GFAPI_VER_7_6")
+conf.CHECK_CFG(package='glusterfs-api', args='"glusterfs-api >= 7.9" 
--cflags --libs',
+   msg='Checking for glusterfs-api >= 7.9',
+   uselib_store="GFAPI_VER_7_9")
 else:
 conf.SET_TARGET_TYPE('gfapi', 'EMPTY')
 conf.undefine('HAVE_GLUSTERFS')


-- 
Samba Shared Repository



[SCM] Samba Website Repository - branch master updated

2020-11-05 Thread Karolin Seeger
The branch, master has been updated
   via  8039336 NEWS[4.11.16]: Samba 4.11.16 Available for Download
  from  70fe510 Add Samba 4.12.10.

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


- Log -
commit 80393364efe43c198c7a9ae56b853793ac51a4ad
Author: Karolin Seeger 
Date:   Wed Nov 4 11:32:57 2020 +0100

NEWS[4.11.16]: Samba 4.11.16 Available for Download

Signed-off-by: Karolin Seeger 

---

Summary of changes:
 history/{samba-4.12.10.html => samba-4.11.16.html} | 47 ++
 posted_news/20201105-101914.4.11.16.body.html  | 13 ++
 posted_news/20201105-101914.4.11.16.headline.html  |  3 ++
 3 files changed, 28 insertions(+), 35 deletions(-)
 copy history/{samba-4.12.10.html => samba-4.11.16.html} (51%)
 create mode 100644 posted_news/20201105-101914.4.11.16.body.html
 create mode 100644 posted_news/20201105-101914.4.11.16.headline.html


Changeset truncated at 500 lines:

diff --git a/history/samba-4.12.10.html b/history/samba-4.11.16.html
similarity index 51%
copy from history/samba-4.12.10.html
copy to history/samba-4.11.16.html
index 5395897..9c7d7e8 100644
--- a/history/samba-4.12.10.html
+++ b/history/samba-4.11.16.html
@@ -2,29 +2,28 @@
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
 http://www.w3.org/1999/xhtml";>
 
-Samba 4.12.10 - Release Notes
+Samba 4.11.16 - Release Notes
 
 
-Samba 4.12.10 Available for Download
+Samba 4.11.16 Available for Download
 
-https://download.samba.org/pub/samba/stable/samba-4.12.10.tar.gz";>Samba 
4.12.10 (gzipped)
-https://download.samba.org/pub/samba/stable/samba-4.12.10.tar.asc";>Signature
+https://download.samba.org/pub/samba/stable/samba-4.11.16.tar.gz";>Samba 
4.11.16 (gzipped)
+https://download.samba.org/pub/samba/stable/samba-4.11.16.tar.asc";>Signature
 
 
-https://download.samba.org/pub/samba/patches/samba-4.12.9-4.12.10.diffs.gz";>Patch
 (gzipped) against Samba 4.12.9
-https://download.samba.org/pub/samba/patches/samba-4.12.9-4.12.10.diffs.asc";>Signature
+https://download.samba.org/pub/samba/patches/samba-4.11.15-4.11.16.diffs.gz";>Patch
 (gzipped) against Samba 4.11.15
+https://download.samba.org/pub/samba/patches/samba-4.11.15-4.11.16.diffs.asc";>Signature
 
 
 
===
-   Release Notes for Samba 4.12.10
-  November 05, 2020
+   Release Notes for Samba 4.11.16
+  November 04, 2020
===
 
 
-This is the latest stable release of the Samba 4.12 release series.
-
-Major enhancements include:
+This is an extraordinary release of the Samba 4.11 release series to address 
the
+following issues:
 
   o BUG 14537: ctdb-common: Avoid aliasing errors during code optimization.
   o BUG 14486: vfs_glusterfs: Avoid data corruption with the write-behind
@@ -47,46 +46,24 @@ refuse to connect if detected. Please disable the 
write-behind translator for
 the GlusterFS volume to allow the plugin to connect to the volume.
 
 
-Changes since 4.12.9
-
+Changes since 4.11.15
+-
 
 o  Jeremy Allison <j...@samba.org>
* BUG 14486: s3: modules: vfs_glusterfs: Fix leak of char
  **lines onto mem_ctx on return.
 
-o  Ralph Boehme <s...@samba.org>
-   * BUG 14471: RN: vfs_zfsacl: Only grant DELETE_CHILD if ACL tag is special.
-
-o  Alexander Bokovoy <a...@samba.org>
-   * BUG 14538: smb.conf.5: Add clarification how configuration changes
- reflected by Samba.
-
 o  Günther Deschner <g...@samba.org>
* BUG 14486: s3-vfs_glusterfs: Refuse connection when write-behind xlator is
  present.
-   * winexe:: Add configure option to control whether to build it
- (default: auto).
 
 o  Amitay Isaacs <ami...@gmail.com>
-   * BUG 14487: Latest version of Bind9 is now 9.20.
* BUG 14537: ctdb-common: Avoid aliasing errors during code optimization.
 
-o  Stefan Metzmacher <me...@samba.org>
-   * BUG 14531: s4:dsdb:acl_read: Implement "List Object" mode 
feature.
-
 o  Sachin Prabhu <spra...@redhat.com>
* BUG 14486: docs-xml/manpages: Add warning about write-behind translator 
for
  vfs_glusterfs.
 
-o  Khem Raj <raj.k...@gmail.com>
-   * nsswitch/nsstest.c: Avoid nss function conflicts with glibc nss.h.
-
-o  Martin Schwenke <mar...@meltin.net>
-   * BUG 14513: ctdb disable/enable can still fail due to race condition.
-
-o  Andrew Walker <awal...@ixsystems.com>
-   * BUG 14471: RN: vfs_zfsacl: Only grant DELETE_CHILD if ACL tag is special.
-
 
 
 
diff --git a/posted_news/20201105-101914.4.11.16.body.html 
b/posted_news/20201105-101914.4.11.16.body.html
new file mode 100644
index 000..05

[SCM] Samba Website Repository - branch master updated

2020-11-05 Thread Karolin Seeger
The branch, master has been updated
   via  70fe510 Add Samba 4.12.10.
   via  1d1ef43 NEWS[4.12.10]: Samba 4.12.10 Available for Download
  from  3740d04 Add Samba 4.11.16 to the list.

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


- Log -
commit 70fe510939f9b687b6b28fd7be420d9630f9c0f4
Author: Karolin Seeger 
Date:   Thu Nov 5 11:01:49 2020 +0100

Add Samba 4.12.10.

Signed-off-by: Karolin Seeger 

commit 1d1ef43196d205df433f03f6a85b7d0b31e2e23b
Author: Karolin Seeger 
Date:   Thu Nov 5 11:00:11 2020 +0100

NEWS[4.12.10]: Samba 4.12.10 Available for Download

Signed-off-by: Karolin Seeger 

---

Summary of changes:
 history/header_history.html   |  1 +
 history/{samba-4.13.2.html => samba-4.12.10.html} | 52 +--
 posted_news/20201105-100129.4.12.10.body.html | 13 ++
 posted_news/20201105-100129.4.12.10.headline.html |  3 ++
 4 files changed, 36 insertions(+), 33 deletions(-)
 copy history/{samba-4.13.2.html => samba-4.12.10.html} (57%)
 create mode 100644 posted_news/20201105-100129.4.12.10.body.html
 create mode 100644 posted_news/20201105-100129.4.12.10.headline.html


Changeset truncated at 500 lines:

diff --git a/history/header_history.html b/history/header_history.html
index 51dd882..98f1054 100755
--- a/history/header_history.html
+++ b/history/header_history.html
@@ -12,6 +12,7 @@
samba-4.13.2
samba-4.13.1
samba-4.13.0
+   samba-4.12.10
samba-4.12.9
samba-4.12.8
samba-4.12.7
diff --git a/history/samba-4.13.2.html b/history/samba-4.12.10.html
similarity index 57%
copy from history/samba-4.13.2.html
copy to history/samba-4.12.10.html
index 295b081..5395897 100644
--- a/history/samba-4.13.2.html
+++ b/history/samba-4.12.10.html
@@ -2,29 +2,30 @@
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
 http://www.w3.org/1999/xhtml";>
 
-Samba 4.13.2 - Release Notes
+Samba 4.12.10 - Release Notes
 
 
-Samba 4.13.2 Available for Download
+Samba 4.12.10 Available for Download
 
-https://download.samba.org/pub/samba/stable/samba-4.13.2.tar.gz";>Samba 
4.13.2 (gzipped)
-https://download.samba.org/pub/samba/stable/samba-4.13.2.tar.asc";>Signature
+https://download.samba.org/pub/samba/stable/samba-4.12.10.tar.gz";>Samba 
4.12.10 (gzipped)
+https://download.samba.org/pub/samba/stable/samba-4.12.10.tar.asc";>Signature
 
 
-https://download.samba.org/pub/samba/patches/samba-4.13.1-4.13.2.diffs.gz";>Patch
 (gzipped) against Samba 4.13.1
-https://download.samba.org/pub/samba/patches/samba-4.13.1-4.13.2.diffs.asc";>Signature
+https://download.samba.org/pub/samba/patches/samba-4.12.9-4.12.10.diffs.gz";>Patch
 (gzipped) against Samba 4.12.9
+https://download.samba.org/pub/samba/patches/samba-4.12.9-4.12.10.diffs.asc";>Signature
 
 
 
-   ==
-   Release Notes for Samba 4.13.2
-  November 03, 2020
-   ==
+   ===
+   Release Notes for Samba 4.12.10
+  November 05, 2020
+   ===
 
 
-This is the latest stable release of the Samba 4.13 release series.
+This is the latest stable release of the Samba 4.12 release series.
 
 Major enhancements include:
+
   o BUG 14537: ctdb-common: Avoid aliasing errors during code optimization.
   o BUG 14486: vfs_glusterfs: Avoid data corruption with the write-behind
translator.
@@ -46,11 +47,11 @@ refuse to connect if detected. Please disable the 
write-behind translator for
 the GlusterFS volume to allow the plugin to connect to the volume.
 
 
-Changes since 4.13.1
+Changes since 4.12.9
 
 
 o  Jeremy Allison <j...@samba.org>
-   * BUG 14486: s3: modules: vfs_glusterfs: Fix leak of char 
+   * BUG 14486: s3: modules: vfs_glusterfs: Fix leak of char
  **lines onto mem_ctx on return.
 
 o  Ralph Boehme <s...@samba.org>
@@ -59,24 +60,16 @@ o  Ralph Boehme <s...@samba.org>
 o  Alexander Bokovoy <a...@samba.org>
* BUG 14538: smb.conf.5: Add clarification how configuration changes
  reflected by Samba.
-   * BUG 14552: daemons: Report status to systemd even when running in
- foreground.
-   * BUG 14553: DNS Resolver: Support both dnspython before and after 2.0.0.
- 
+
 o  Günther Deschner <g...@samba.org>
* BUG 14486: s3-vfs_glusterfs: Refuse connection when write-behind xlator is
  present.
+   * winexe:: Add configure option to control whether to build it
+ (

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

2020-11-05 Thread Karolin Seeger
The annotated tag, samba-4.12.10 has been created
at  ebcec0c424f97f4600839bfe5ef69e6c991a3c04 (tag)
   tagging  e608cffa870ef57f76ebc26e0e7de6116ff70ffa (commit)
  replaces  samba-4.12.9
 tagged by  Karolin Seeger
on  Thu Nov 5 10:59:56 2020 +0100

- Log -
samba: tag release samba-4.12.10
-BEGIN PGP SIGNATURE-

iF0EABECAB0WIQRS+8C4bZVLCEMyTNxvM5FbZWi36gUCX6PNHAAKCRBvM5FbZWi3
6oZKAJwNPj5AoInCCtd4E5V92P4hFbAHDgCfVNLE0L4JOJGd+tbO33RI7P9lV1A=
=72jY
-END PGP SIGNATURE-

Alexander Bokovoy (1):
  smb.conf.5: add clarification how configuration changes reflected by Samba

Amitay Isaacs (9):
  bind9-dlz: Bind 9.13.x switched to using bool as isc_boolean_t instead of 
int.
  provision: BIND 9.13.x is not supported
  bind9-dlz: Add support for BIND 9.14.x
  provision: Add support for BIND 9.14.x
  provision: BIND 9.15.x is not supported
  bind9-dlz: Add support for BIND 9.16.x
  provision: Add support for BIND 9.16.x
  provision: BIND 9.17.x is not supported
  ctdb-common: Avoid aliasing errors during code optimization

Andrew Walker (2):
  vfs_zfsacl: Add new parameter to stop automatic addition of special 
entries
  vfs_zfsacl: only grant DELETE_CHILD if ACL tag is special

Björn Jacke (1):
  docs: fix default value of spoolss:architecture

Günther Deschner (2):
  winexe: add configure option to control whether to build it (default: 
auto)
  s3-vfs_glusterfs: refuse connection when write-behind xlator is present

Jeremy Allison (1):
  s3: modules: vfs_glusterfs: Fix leak of char **lines onto mem_ctx on 
return.

Karolin Seeger (5):
  VERSION: Bump version up to 4.12.9...
  Merge tag 'samba-4.12.9' into v4-12-test
  VERSION: Bump version up to 4.12.10.
  WHATSNEW: Add release notes for Samba 4.12.10.
  VERSION: Disable GIT_SNAPSHOT for the 4.12.10 release.

Khem Raj (1):
  nsswitch/nsstest.c: Avoid nss function conflicts with glibc nss.h

Martin Schwenke (3):
  ctdb-recoverd: Drop unnecessary code
  ctdb-recoverd: Drop unnecessary and broken code
  ctdb-tests: Strengthen node state checking in ctdb disable/enable test

Ralph Boehme (3):
  vfs_zfsacl: use handle based facl() call to query ZFS filesytem ACL
  vfs_zfsacl: README.Coding fix
  vfs_zfsacl: use a helper variable in zfs_get_nt_acl_common()

Sachin Prabhu (1):
  docs-xml/manpages: Add warning about write-behind translator for 
vfs_glusterfs

Stefan Metzmacher (8):
  python/tests: add DynamicTestCase setUpDynamicTestCases() infrastructure
  s4:dsdb:tests: add AclVisibiltyTests
  s4:dsdb:acl_read: introduce aclread_check_object_visible() helper
  s4:dsdb:acl_read: fully set up 'struct aclread_context' before the search 
base acl check
  s4:dsdb:acl_read: make use of aclread_check_object_visible() for the 
search base
  s4:dsdb:acl_read: defer LDB_ERR_NO_SUCH_OBJECT
  s4:dsdb:util: add dsdb_do_list_object() helper
  s4:dsdb:acl_read: Implement "List Object" mode feature

---


-- 
Samba Shared Repository



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

2020-11-05 Thread Karolin Seeger
The branch, v4-12-stable has been updated
   via  e608cffa870 VERSION: Disable GIT_SNAPSHOT for the 4.12.10 release.
   via  3f64827fdb9 WHATSNEW: Add release notes for Samba 4.12.10.
   via  5d78ec76c86 s3: modules: vfs_glusterfs: Fix leak of char **lines 
onto mem_ctx on return.
   via  329c95136ff s3-vfs_glusterfs: refuse connection when write-behind 
xlator is present
   via  00040999380 docs-xml/manpages: Add warning about write-behind 
translator for vfs_glusterfs
   via  7e955ca5cf9 ctdb-common: Avoid aliasing errors during code 
optimization
   via  e1f7e422bd5 vfs_zfsacl: only grant DELETE_CHILD if ACL tag is 
special
   via  e14dfa439e7 vfs_zfsacl: use a helper variable in 
zfs_get_nt_acl_common()
   via  b260c3003bb vfs_zfsacl: README.Coding fix
   via  1bf997aa244 vfs_zfsacl: Add new parameter to stop automatic 
addition of special entries
   via  78d843f4362 vfs_zfsacl: use handle based facl() call to query ZFS 
filesytem ACL
   via  fe842a5412a smb.conf.5: add clarification how configuration changes 
reflected by Samba
   via  2b4c9b9baca VERSION: Bump version up to 4.12.10.
   via  fe8d38f49e6 Merge tag 'samba-4.12.9' into v4-12-test
   via  ae4d3932cfb docs: fix default value of spoolss:architecture
   via  c3c95e07443 winexe: add configure option to control whether to 
build it (default: auto)
   via  fd5ef942bad provision: BIND 9.17.x is not supported
   via  8a7fc998f09 provision: Add support for BIND 9.16.x
   via  7336a1c6755 bind9-dlz: Add support for BIND 9.16.x
   via  4ab29fb056a provision: BIND 9.15.x is not supported
   via  55d1f4e9f5e provision: Add support for BIND 9.14.x
   via  5400b928d42 bind9-dlz: Add support for BIND 9.14.x
   via  49eaec78a0b provision: BIND 9.13.x is not supported
   via  4cbeb5ca3c3 bind9-dlz: Bind 9.13.x switched to using bool as 
isc_boolean_t instead of int.
   via  d5933bfdee2 nsswitch/nsstest.c: Avoid nss function conflicts with 
glibc nss.h
   via  a127fb862b6 s4:dsdb:acl_read: Implement "List Object" mode feature
   via  66e64bf9a61 s4:dsdb:util: add dsdb_do_list_object() helper
   via  6073edb8c08 s4:dsdb:acl_read: defer LDB_ERR_NO_SUCH_OBJECT
   via  376fd7e1c0f s4:dsdb:acl_read: make use of 
aclread_check_object_visible() for the search base
   via  f6af56ad68a s4:dsdb:acl_read: fully set up 'struct aclread_context' 
before the search base acl check
   via  c1df795199c s4:dsdb:acl_read: introduce 
aclread_check_object_visible() helper
   via  1da871f7f24 s4:dsdb:tests: add AclVisibiltyTests
   via  62f7642b073 python/tests: add DynamicTestCase 
setUpDynamicTestCases() infrastructure
   via  3a1d5236678 ctdb-tests: Strengthen node state checking in ctdb 
disable/enable test
   via  3a4def14560 ctdb-recoverd: Drop unnecessary and broken code
   via  91a8a9a9850 ctdb-recoverd: Drop unnecessary code
   via  f4ce7990607 VERSION: Bump version up to 4.12.9...
  from  43c7685056d VERSION: Disable GIT_SNAPSHOT for Samba 4.12.9.

https://git.samba.org/?p=samba.git;a=shortlog;h=v4-12-stable


- Log -
---

Summary of changes:
 VERSION|   2 +-
 WHATSNEW.txt   |  99 ++-
 ctdb/common/system_socket.c|  31 +-
 ctdb/server/ctdb_recoverd.c|  61 
 .../failover/pubips.030.disable_enable.sh  |   4 +-
 docs-xml/manpages/nmbd.8.xml   |  10 +-
 docs-xml/manpages/smb.conf.5.xml   |  30 ++
 docs-xml/manpages/smbd.8.xml   |  13 +-
 docs-xml/manpages/vfs_glusterfs.8.xml  |  22 ++
 docs-xml/manpages/vfs_zfsacl.8.xml |  20 ++
 docs-xml/manpages/winbindd.8.xml   |   7 +-
 .../smbdotconf/printing/spoolssarchitecture.xml|   4 +-
 examples/winexe/wscript_build  |   3 +-
 nsswitch/nsstest.c |  16 +-
 python/samba/provision/sambadns.py |  17 +-
 python/samba/tests/__init__.py |  27 ++
 source3/modules/vfs_glusterfs.c|  91 ++
 source3/modules/vfs_zfsacl.c   | 203 ++---
 source3/wscript|  17 ++
 source4/dns_server/dlz_minimal.h   |  24 +-
 source4/dns_server/wscript_build   |  20 ++
 source4/dsdb/samdb/ldb_modules/acl_read.c  | 185 +---
 source4/dsdb/samdb/ldb_modules/util.c  |  21 ++
 source4/dsdb/tests/python/acl.py   | 321 -
 source4/selftest/tests.py  |   2 +-
 source4/setup/named.conf.dlz   |   6 +
 26 files changed, 1076 insertions(+), 180 de

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

2020-11-05 Thread Karolin Seeger
The branch, v4-12-test has been updated
   via  15c35524a27 VERSION: Bump version up to 4.12.11...
   via  e608cffa870 VERSION: Disable GIT_SNAPSHOT for the 4.12.10 release.
   via  3f64827fdb9 WHATSNEW: Add release notes for Samba 4.12.10.
  from  5d78ec76c86 s3: modules: vfs_glusterfs: Fix leak of char **lines 
onto mem_ctx on return.

https://git.samba.org/?p=samba.git;a=shortlog;h=v4-12-test


- Log -
commit 15c35524a27eacc81c0f562e0dda5e353257f448
Author: Karolin Seeger 
Date:   Thu Nov 5 10:07:17 2020 +0100

VERSION: Bump version up to 4.12.11...

and re-enable GIT_SNAPSHOT.

Signed-off-by: Karolin Seeger 

commit e608cffa870ef57f76ebc26e0e7de6116ff70ffa
Author: Karolin Seeger 
Date:   Thu Nov 5 10:06:06 2020 +0100

VERSION: Disable GIT_SNAPSHOT for the 4.12.10 release.

Signed-off-by: Karolin Seeger 

commit 3f64827fdb9a0049a16f83db343d19450e7dedb4
Author: Karolin Seeger 
Date:   Thu Nov 5 10:03:16 2020 +0100

WHATSNEW: Add release notes for Samba 4.12.10.

Signed-off-by: Karolin Seeger 

---

Summary of changes:
 VERSION  |  2 +-
 WHATSNEW.txt | 99 ++--
 2 files changed, 98 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/VERSION b/VERSION
index 49b2ac7887c..034279d4345 100644
--- a/VERSION
+++ b/VERSION
@@ -25,7 +25,7 @@
 
 SAMBA_VERSION_MAJOR=4
 SAMBA_VERSION_MINOR=12
-SAMBA_VERSION_RELEASE=10
+SAMBA_VERSION_RELEASE=11
 
 
 # If a official release has a serious bug  #
diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index 674d250c71a..69007c592f5 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -1,3 +1,98 @@
+   ===
+   Release Notes for Samba 4.12.10
+  November 05, 2020
+   ===
+
+
+This is the latest stable release of the Samba 4.12 release series.
+
+Major enhancements include:
+
+  o BUG 14537: ctdb-common: Avoid aliasing errors during code optimization.
+  o BUG 14486: vfs_glusterfs: Avoid data corruption with the write-behind
+   translator.
+
+
+===
+Details
+===
+
+The GlusterFS write-behind performance translator, when used with Samba, could
+be a source of data corruption. The translator, while processing a write call,
+immediately returns success but continues writing the data to the server in the
+background. This can cause data corruption when two clients relying on Samba to
+provide data consistency are operating on the same file.
+
+The write-behind translator is enabled by default on GlusterFS.
+The vfs_glusterfs plugin will check for the presence of the translator and
+refuse to connect if detected. Please disable the write-behind translator for
+the GlusterFS volume to allow the plugin to connect to the volume.
+
+
+Changes since 4.12.9
+
+
+o  Jeremy Allison 
+   * BUG 14486: s3: modules: vfs_glusterfs: Fix leak of char
+ **lines onto mem_ctx on return.
+
+o  Ralph Boehme 
+   * BUG 14471: RN: vfs_zfsacl: Only grant DELETE_CHILD if ACL tag is special.
+
+o  Alexander Bokovoy 
+   * BUG 14538: smb.conf.5: Add clarification how configuration changes
+ reflected by Samba.
+
+o  Günther Deschner 
+   * BUG 14486: s3-vfs_glusterfs: Refuse connection when write-behind xlator is
+ present.
+   * winexe:: Add configure option to control whether to build it
+ (default: auto).
+
+o  Amitay Isaacs 
+   * BUG 14487: Latest version of Bind9 is now 9.20.
+   * BUG 14537: ctdb-common: Avoid aliasing errors during code optimization.
+
+o  Stefan Metzmacher 
+   * BUG 14531: s4:dsdb:acl_read: Implement "List Object" mode feature.
+
+o  Sachin Prabhu 
+   * BUG 14486: docs-xml/manpages: Add warning about write-behind translator 
for
+ vfs_glusterfs.
+
+o  Khem Raj 
+   * nsswitch/nsstest.c: Avoid nss function conflicts with glibc nss.h.
+
+o  Martin Schwenke 
+   * BUG 14513: ctdb disable/enable can still fail due to race condition.
+
+o  Andrew Walker 
+   * BUG 14471: RN: vfs_zfsacl: Only grant DELETE_CHILD if ACL tag is special.
+
+
+###
+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 4.1 and newer product in the project's Bugzilla
+database (https://bugzilla.samba.org/).
+
+
+==