[SCM] Samba Shared Repository - annotated tag ldb-2.0.11 created

2020-06-30 Thread Karolin Seeger
The annotated tag, ldb-2.0.11 has been created
at  8e2b9cc73c5d37619e274a71818bc1c05f5d436d (tag)
   tagging  ecaeedb3183494c6901e30778a02adcdf7eb5f2a (commit)
  replaces  samba-4.11.9
 tagged by  Karolin Seeger
on  Tue Jun 30 12:26:15 2020 +0200

- Log -
ldb: tag release ldb-2.0.11
-BEGIN PGP SIGNATURE-

iQEzBAABCgAdFiEEkUejOXGVGO6QEby1R5ORYRMIQCUFAl77E0cACgkQR5ORYRMI
QCXFwQf+LlfhrR8+0rDzzQnVdyzlN2GJpNqzU1Tf2f0vM+jJT+RXvmN1byygE9qE
rvwIrce6ZGeBy3yqpzuVWZNDryzWQiBtlEIz5noDukhQDl9j1BBjy/KOaj2/SRCd
UC7OJBbaC5GYb+yZh7oDUf1bhG2x7mkbAROAjPE+mde1GXEPo2uv2veUCuK1D/nL
MsRzIyDSFf6TOJWJtWisYOAZ4qfbqWgsxU/yaWj2GP2wCB63Nd8VQWWdoP6diygW
t6KRbJcEJkMyT89dolNi00L3VwEF1c0/MeTS92IP2NwJ7ADVFe1K5UlqJC73ehKG
o7LKPwo4yRsaNBo+t3x4/cJut+Dymw==
=RewY
-END PGP SIGNATURE-

Gary Lockyer (4):
  ldb tests: Confirm lmdb free list handling
  lib ldb: lmdb clear stale readers on write txn start
  lib ldb: lmdb init var before calling mdb_reader_check
  ldb: Bump version to 2.0.11

Karolin Seeger (1):
  VERSION: Bump version up to 4.11.10...

---


-- 
Samba Shared Repository



[SCM] Samba Website Repository - branch master updated

2020-06-30 Thread Karolin Seeger
The branch, master has been updated
   via  d6babc0 Add Samba 4.11.10.
   via  1c2c0b5 NEWS[4.11.10]: Samba 4.11.10 Available for Download
  from  7fc403d gitlab moved their contributor graph URL

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


- Log -
commit d6babc0883a387ef4ab3a7ccd2bac80d77f6e122
Author: Karolin Seeger 
Date:   Tue Jun 30 12:14:33 2020 +0200

Add Samba 4.11.10.

Signed-off-by: Karolin Seeger 

commit 1c2c0b560e89d1e84b1b6cff95feb8ea89cd1b7b
Author: Karolin Seeger 
Date:   Tue Jun 30 12:10:44 2020 +0200

NEWS[4.11.10]: Samba 4.11.10 Available for Download

Signed-off-by: Karolin Seeger 

---

Summary of changes:
 history/header_history.html   |  1 +
 history/samba-4.11.10.html| 58 +++
 posted_news/20200630-101401.4.11.10.body.html | 13 +
 posted_news/20200630-101401.4.11.10.headline.html |  3 ++
 4 files changed, 75 insertions(+)
 create mode 100644 history/samba-4.11.10.html
 create mode 100644 posted_news/20200630-101401.4.11.10.body.html
 create mode 100644 posted_news/20200630-101401.4.11.10.headline.html


Changeset truncated at 500 lines:

diff --git a/history/header_history.html b/history/header_history.html
index b6c27bb..b0fbbab 100755
--- a/history/header_history.html
+++ b/history/header_history.html
@@ -13,6 +13,7 @@
samba-4.12.2
samba-4.12.1
samba-4.12.0
+   samba-4.11.10
samba-4.11.9
samba-4.11.8
samba-4.11.7
diff --git a/history/samba-4.11.10.html b/history/samba-4.11.10.html
new file mode 100644
index 000..b7c28f7
--- /dev/null
+++ b/history/samba-4.11.10.html
@@ -0,0 +1,58 @@
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+http://www.w3.org/1999/xhtml";>
+
+Samba 4.11.10 - Release Notes
+
+
+Samba 4.11.10 Available for Download
+
+https://download.samba.org/pub/samba/stable/samba-4.11.10.tar.gz";>Samba 
4.11.10 (gzipped)
+https://download.samba.org/pub/samba/stable/samba-4.11.10.tar.asc";>Signature
+
+
+https://download.samba.org/pub/samba/patches/samba-4.11.9-4.11.10.diffs.gz";>Patch
 (gzipped) against Samba 4.11.9
+https://download.samba.org/pub/samba/patches/samba-4.11.9-4.11.10.diffs.asc";>Signature
+
+
+
+   ===
+   Release Notes for Samba 4.11.10
+June 30, 2020
+  ===
+
+
+This is the latest stable release of the Samba 4.11 release series.
+
+
+Changes since 4.11.9
+
+
+o  Jeremy Allison <j...@samba.org>
+   * BUG 14374: Fix segfault when using SMBC_opendir_ctx() routine for share
+ folder that contains incorrect symbols in any file name.
+
+o  Ralph Boehme <s...@samba.org>
+   * BUG 14350: vfs_shadow_copy2 doesn't fail case looking in 
snapdirseverywhere
+ mode.
+
+o  Alexander Bokovoy <a...@samba.org>
+   * BUG 14413: ldb_ldap: Fix off-by-one increment in lldb_add_msg_attr.
+
+o  Volker Lendecke <v...@samba.org>
+   * BUG 14366: Malicous SMB1 server can crash libsmbclient.
+   * BUG 14382: winbindd: Fix a use-after-free when winbind clients exit.
+
+o  Gary Lockyer <g...@catalyst.net.nz>
+   * BUG 14330: ldb: Bump version to 2.0.11, LMDB databases can grow without
+ bounds.
+
+o  Andreas Schneider <a...@samba.org>
+   * BUG 14358: docs-xml: Fix usernames in pam_winbind manpages.
+   * BUG 14370: Client tools are not able to read gencache anymore.
+
+
+
+
+
+
diff --git a/posted_news/20200630-101401.4.11.10.body.html 
b/posted_news/20200630-101401.4.11.10.body.html
new file mode 100644
index 000..0198e5b
--- /dev/null
+++ b/posted_news/20200630-101401.4.11.10.body.html
@@ -0,0 +1,13 @@
+
+30 June 2020
+Samba 4.11.10 Available for Download
+
+This is the latest stable release of the Samba 4.11 release series.
+
+
+The uncompressed tarball has been signed using GnuPG (ID 6F33915B6568B7EA).
+The source code can be https://download.samba.org/pub/samba/stable/samba-4.11.10.tar.gz";>downloaded
 now.
+A https://download.samba.org/pub/samba/patches/samba-4.11.9-4.11.10.diffs.gz";>patch
 against Samba 4.11.9 is also available.
+See https://www.samba.org/samba/history/samba-4.11.10.html";>the 
release notes for more info.
+
+
diff --git a/posted_news/20200630-101401.4.11.10.headline.html 
b/posted_news/20200630-101401.4.11.10.headline.html
new file mode 100644
index 000..cc3c515
--- /dev/null
+++ b/posted_news/20200630-101401.4.11.10.headline.html
@@ -0,0 +1,3 @@
+
+ 30 June 2020 Samba 4.11.10 Available for 
Download
+


-- 
Samba Website Repository



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

2020-06-30 Thread Karolin Seeger
The branch, v4-11-stable has been updated
   via  a905508e09e VERSION: Disable GIT_SNAPSHOT for the 4.11.10 release.
   via  6fdb3c33990 WHATSNEW: Add release notes for Samba 4.11.10.
   via  9e819be438a ldb_ldap: fix off-by-one increment in lldb_add_msg_attr
   via  5761f5a199c lib/ldb: add unit test for ldb_ldap internal code
   via  0f35dbd96c0 s3: libsmbclient: Finish unifing bad iconv behavior 
across CORE NT1 SMB2 protocols.
   via  daddc6956f6 s3: libsmb: In SMB2 return 
NT_STATUS_INVALID_NETWORK_RESPONSE if name conversion ended up with a NULL 
filename.
   via  b8f0a185bba s3: libsmb: In SMB1 old protocol - return 
NT_STATUS_INVALID_NETWORK_RESPONSE if name conversion ended up with a NULL 
filename.
   via  f02467bf688 s3: selftest: Add test_smbclient_iconv.sh to check 
client behavior on bad name conversion.
   via  ac45713a18a s3: selftest: Add share definition [bad_iconv] in 
fileserver.
   via  d90e5a71c79 winbindd: Fix a use-after-free when winbind clients exit
   via  d1b03ef8ddc s3: lib: Paranoia around use of snprintf copying into a 
fixed-size buffer from a getenv() pointer.
   via  cb50ee7a423 s3:gencache: Allow to open gencache as read-only
   via  247e406e985 lib:util: Add test for path_expand_tilde()
   via  107526266b2 lib:util: Add path_expand_tilde()
   via  f47dc8b8f68 docs-xml: Fix usernames in pam_winbind manpages
   via  f5ee0cc29e4 libsmb: Protect cli_oem_change_password() from rprcnt<2
   via  e8ffd6244d6 libsmb: Protect cli_RNetServerEnum against rprcnt<6
   via  39a3d728a60 libsmb: Protect cli_RNetShareEnum() against rprcnt<6
   via  f69c9ea345f libsmb: Fix indentation in cli_RNetShareEnum()
   via  84362eef4cf vfs_shadow_copy2: implement case canonicalisation in 
shadow_copy2_get_real_filename()
   via  3d60f8ac9fa s3/lib: add is_gmt_token()
   via  f8805f5db4d smbd: make get_real_filename_full_scan() public
   via  f23992c09a6 CI: add two tests for shadow_copy2 VFS module
   via  ecaeedb3183 ldb: Bump version to 2.0.11
   via  d65f5a1567e lib ldb: lmdb init var before calling mdb_reader_check
   via  5fb94e3efc6 lib ldb: lmdb clear stale readers on write txn start
   via  9d8ca2233cd ldb tests: Confirm lmdb free list handling
   via  b6a7b42f9a8 VERSION: Bump version up to 4.11.10...
  from  8f72e88335c VERSION: Disable GIT_SNAPSHOT for the 4.11.9 release.

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


- Log -
---

Summary of changes:
 VERSION|   2 +-
 WHATSNEW.txt   |  63 +-
 docs-xml/manpages/pam_winbind.8.xml|   4 +-
 docs-xml/manpages/pam_winbind.conf.5.xml   |   4 +-
 lib/ldb/ABI/{ldb-2.0.10.sigs => ldb-2.0.11.sigs}   |   0
 ...ldb-util-1.1.10.sigs => pyldb-util-2.0.11.sigs} |   0
 lib/ldb/ldb_ldap/ldb_ldap.c|   2 -
 lib/ldb/ldb_mdb/ldb_mdb.c  |  17 +
 lib/ldb/tests/ldb_lmdb_free_list_test.c| 661 +
 lib/ldb/tests/lldb_ldap.c  | 105 
 lib/ldb/wscript|  24 +-
 lib/util/tests/test_util_paths.c   | 127 
 lib/util/util_paths.c  |  76 +++
 lib/util/util_paths.h  |   9 +
 lib/util/wscript_build |   5 +
 selftest/target/Samba3.pm  |  20 +
 selftest/tests.py  |   2 +
 source3/include/proto.h|   1 +
 source3/lib/filename_util.c|  19 +
 source3/lib/gencache.c |  63 +-
 source3/libsmb/cli_smb2_fnum.c |   6 +
 source3/libsmb/clilist.c   |  10 +-
 source3/libsmb/clirap.c| 151 +++--
 source3/modules/vfs_shadow_copy2.c |  91 ++-
 source3/script/tests/test_shadow_copy.sh   |  12 +
 source3/script/tests/test_smbclient_iconv.sh   |  53 ++
 source3/selftest/tests.py  |   7 +
 source3/smbd/filename.c|  10 +-
 source3/smbd/proto.h   |   6 +
 source3/winbindd/winbindd_dual.c   |  28 +-
 30 files changed, 1484 insertions(+), 94 deletions(-)
 copy lib/ldb/ABI/{ldb-2.0.10.sigs => ldb-2.0.11.sigs} (100%)
 copy lib/ldb/ABI/{pyldb-util-1.1.10.sigs => pyldb-util-2.0.11.sigs} (100%)
 create mode 100644 lib/ldb/tests/ldb_lmdb_free_list_test.c
 create mode 100644 lib/ldb/tests/lldb_ldap.c
 create mode 100644 lib/util/tests/test_util_paths.c
 create mode 100755 source3/script/tests/test_smbclient_iconv.sh


Changeset truncated at 500 lines:

diff --git a/VERSION b/VERSI

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

2020-06-30 Thread Karolin Seeger
The annotated tag, samba-4.11.10 has been created
at  8233c15025c2f073071f19659a1919b2df34c5dd (tag)
   tagging  a905508e09ebbd9ad2ec633be9606ca0e6881102 (commit)
  replaces  samba-4.11.9
 tagged by  Karolin Seeger
on  Tue Jun 30 12:10:29 2020 +0200

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

iF0EABECAB0WIQRS+8C4bZVLCEMyTNxvM5FbZWi36gUCXvsPlQAKCRBvM5FbZWi3
6q3PAJ9Lr4rH9cjy5m/+C+Ra+v1fkxedGACfY0hquBoeVktCxvvj822U4gUUXtM=
=qJ42
-END PGP SIGNATURE-

Alexander Bokovoy (2):
  lib/ldb: add unit test for ldb_ldap internal code
  ldb_ldap: fix off-by-one increment in lldb_add_msg_attr

Andreas Schneider (4):
  docs-xml: Fix usernames in pam_winbind manpages
  lib:util: Add path_expand_tilde()
  lib:util: Add test for path_expand_tilde()
  s3:gencache: Allow to open gencache as read-only

Gary Lockyer (4):
  ldb tests: Confirm lmdb free list handling
  lib ldb: lmdb clear stale readers on write txn start
  lib ldb: lmdb init var before calling mdb_reader_check
  ldb: Bump version to 2.0.11

Jeremy Allison (6):
  s3: lib: Paranoia around use of snprintf copying into a fixed-size buffer 
from a getenv() pointer.
  s3: selftest: Add share definition [bad_iconv] in fileserver.
  s3: selftest: Add test_smbclient_iconv.sh to check client behavior on bad 
name conversion.
  s3: libsmb: In SMB1 old protocol - return 
NT_STATUS_INVALID_NETWORK_RESPONSE if name conversion ended up with a NULL 
filename.
  s3: libsmb: In SMB2 return NT_STATUS_INVALID_NETWORK_RESPONSE if name 
conversion ended up with a NULL filename.
  s3: libsmbclient: Finish unifing bad iconv behavior across CORE NT1 SMB2 
protocols.

Karolin Seeger (3):
  VERSION: Bump version up to 4.11.10...
  WHATSNEW: Add release notes for Samba 4.11.10.
  VERSION: Disable GIT_SNAPSHOT for the 4.11.10 release.

Ralph Boehme (4):
  CI: add two tests for shadow_copy2 VFS module
  smbd: make get_real_filename_full_scan() public
  s3/lib: add is_gmt_token()
  vfs_shadow_copy2: implement case canonicalisation in 
shadow_copy2_get_real_filename()

Volker Lendecke (5):
  libsmb: Fix indentation in cli_RNetShareEnum()
  libsmb: Protect cli_RNetShareEnum() against rprcnt<6
  libsmb: Protect cli_RNetServerEnum against rprcnt<6
  libsmb: Protect cli_oem_change_password() from rprcnt<2
  winbindd: Fix a use-after-free when winbind clients exit

---


-- 
Samba Shared Repository



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

2020-06-30 Thread Karolin Seeger
The branch, v4-11-test has been updated
   via  08a51254198 VERSION: Bump version up to 4.11.11...
   via  a905508e09e VERSION: Disable GIT_SNAPSHOT for the 4.11.10 release.
   via  6fdb3c33990 WHATSNEW: Add release notes for Samba 4.11.10.
  from  9e819be438a ldb_ldap: fix off-by-one increment in lldb_add_msg_attr

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


- Log -
commit 08a51254198537395e9a6ea7a98fd627a491bf15
Author: Karolin Seeger 
Date:   Wed Jun 24 12:35:39 2020 +0200

VERSION: Bump version up to 4.11.11...

and re-enable GIT_SNAPSHOT.

Signed-off-by: Karolin Seeger 

commit a905508e09ebbd9ad2ec633be9606ca0e6881102
Author: Karolin Seeger 
Date:   Wed Jun 24 12:34:59 2020 +0200

VERSION: Disable GIT_SNAPSHOT for the 4.11.10 release.

Signed-off-by: Karolin Seeger 

commit 6fdb3c33990f802c9e679d1a5f3bc8ad6a79486b
Author: Karolin Seeger 
Date:   Wed Jun 24 12:34:26 2020 +0200

WHATSNEW: Add release notes for Samba 4.11.10.

Signed-off-by: Karolin Seeger 

---

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


Changeset truncated at 500 lines:

diff --git a/VERSION b/VERSION
index 4c7fb5b4df2..8f8da5faff0 100644
--- a/VERSION
+++ b/VERSION
@@ -25,7 +25,7 @@
 
 SAMBA_VERSION_MAJOR=4
 SAMBA_VERSION_MINOR=11
-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 e4af7cb4105..c3f04c7993a 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -1,3 +1,62 @@
+   ===
+   Release Notes for Samba 4.11.10
+June 30, 2020
+  ===
+
+
+This is the latest stable release of the Samba 4.11 release series.
+
+
+Changes since 4.11.9
+
+
+o  Jeremy Allison 
+   * BUG 14374: Fix segfault when using SMBC_opendir_ctx() routine for share
+ folder that contains incorrect symbols in any file name.
+
+o  Ralph Boehme 
+   * BUG 14350: vfs_shadow_copy2 doesn't fail case looking in 
snapdirseverywhere
+ mode.
+
+o  Alexander Bokovoy 
+   * BUG 14413: ldb_ldap: Fix off-by-one increment in lldb_add_msg_attr.
+
+o  Volker Lendecke 
+   * BUG 14366: Malicous SMB1 server can crash libsmbclient.
+   * BUG 14382: winbindd: Fix a use-after-free when winbind clients exit.
+
+o  Gary Lockyer 
+   * BUG 14330: ldb: Bump version to 2.0.11, LMDB databases can grow without
+ bounds.
+
+o  Andreas Schneider 
+   * BUG 14358: docs-xml: Fix usernames in pam_winbind manpages.
+   * BUG 14370: Client tools are not able to read gencache anymore.
+
+
+###
+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/).
+
+
+==
+== Our Code, Our Bugs, Our Responsibility.
+== The Samba Team
+==
+
+
+Release notes for older releases follow:
+
+
==
Release Notes for Samba 4.11.9
 May 05, 2020
@@ -81,8 +140,8 @@ database (https://bugzilla.samba.org/).
 ==
 
 
-Release notes for older releases follow:
-
+--
+
 
==
Release Notes for Samba 4.11.8


-- 
Samba Shared Repository



[SCM] Samba Shared Repository - branch master updated

2020-06-30 Thread Isaac Boukris
The branch, master has been updated
   via  213501163c0 share_mode_lock.c: initialize out param
  from  a89efdfe823 libgpo: only install group policy admx files when 
building as DC

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


- Log -
commit 213501163c0cd139b711e8b62bd21d4d7011045b
Author: Isaac Boukris 
Date:   Mon Jun 29 10:42:09 2020 +0200

share_mode_lock.c: initialize out param

detected by covscan:
source3/locking/share_mode_lock.c:1563:6: warning: Branch condition 
evaluates to a garbage value

Signed-off-by: Isaac Boukris 
Reviewed-by: David Mulder 

Autobuild-User(master): Isaac Boukris 
Autobuild-Date(master): Tue Jun 30 09:42:33 UTC 2020 on sn-devel-184

---

Summary of changes:
 source3/locking/share_mode_lock.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/locking/share_mode_lock.c 
b/source3/locking/share_mode_lock.c
index adfa917df31..a93141304b2 100644
--- a/source3/locking/share_mode_lock.c
+++ b/source3/locking/share_mode_lock.c
@@ -1765,8 +1765,9 @@ static size_t share_mode_entry_find(
 {
ssize_t left, right, middle;
 
+   *match = false;
+
if (num_share_modes == 0) {
-   *match = false;
return 0;
}
 
@@ -1790,7 +1791,7 @@ static size_t share_mode_entry_find(
ok = share_mode_entry_get(middle_ptr, e);
if (!ok) {
DBG_DEBUG("share_mode_entry_get failed\n");
-   return false;
+   return 0;
}
 
cmp = share_mode_entry_cmp(
@@ -1807,7 +1808,6 @@ static size_t share_mode_entry_find(
}
}
 
-   *match = false;
return left;
 }
 


-- 
Samba Shared Repository



[SCM] Samba Shared Repository - branch master updated

2020-06-30 Thread Anoop C S
The branch, master has been updated
   via  a89efdfe823 libgpo: only install group policy admx files when 
building as DC
  from  d93a6d2663a util: fix build on AIX by fixing the order of replace.h 
include

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


- Log -
commit a89efdfe82307b3306bffddb8fa419f96ee86810
Author: Günther Deschner 
Date:   Fri Jun 26 10:35:13 2020 +0200

libgpo: only install group policy admx files when building as DC

Guenther

Signed-off-by: Guenther Deschner 
Reviewed-by: David Mulder 
Reviewed-by: Anoop C S 

Autobuild-User(master): Anoop C S 
Autobuild-Date(master): Tue Jun 30 07:51:48 UTC 2020 on sn-devel-184

---

Summary of changes:
 libgpo/wscript_build | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


Changeset truncated at 500 lines:

diff --git a/libgpo/wscript_build b/libgpo/wscript_build
index e6e54fe359a..cb0a40a008c 100644
--- a/libgpo/wscript_build
+++ b/libgpo/wscript_build
@@ -20,4 +20,5 @@ bld.SAMBA3_PYTHON('python_samba_libgpo', 'pygpo.c',
   deps='%s gpext talloc ads TOKEN_UTIL auth %s' % 
(pyparam_util, pyrpc_util),
   realname='samba/gpo.so')
 
-bld.RECURSE('admx')
+if bld.AD_DC_BUILD_IS_ENABLED():
+bld.RECURSE('admx')


-- 
Samba Shared Repository