autobuild[sn-devel-184]: intermittent test failure detected

2019-05-22 Thread autobuild
The autobuild test system (on sn-devel-184) has detected an intermittent 
failing test in 
the current master tree.

The autobuild log of the failure is available here:

   
https://git.samba.org/autobuild.flakey.sn-devel-184/2019-05-23-0356/flakey.log

The failure seems to be in the "ctdb" suite, whose build logs are available 
here:

   
https://git.samba.org/autobuild.flakey.sn-devel-184/2019-05-23-0356/ctdb.stderr
   
https://git.samba.org/autobuild.flakey.sn-devel-184/2019-05-23-0356/ctdb.stdout
  
The top commit at the time of the failure was:

commit 30622ed876c305a9b03686edb48de987704f
Author: Volker Lendecke 
Date:   Tue May 21 15:26:55 2019 +0200

smbd: Fix a panic

Opening a file with a stale (smbd died) LEVEL_II oplock makes

vfs_set_filelen-> ... ->contend_level2_oplocks_begin_default

trigger the immediate leading to do_break_to_none. This goes through
because fsp->oplock_type is not initialized yet, thus 0. Also,
file_has_read_oplocks is still valid, because the smbd that has died
could not clean up the brlock.tdb entry.

Later in the code the exclusive oplock is granted, which is then found
by do_break_to_none, making it panic.

This patch just runs the direct FTRUNCATE instead of vfs_set_filelen.
This means the contend_level2_oplock code is skipped.

The relevant break (LEVEL_II to NONE) is now done in delay_for_oplock()
with the nice effect of removing a comment that was very confusing to
me.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13957
Signed-off-by: Volker Lendecke 
Reviewed-by: Ralph Boehme 

Autobuild-User(master): Ralph Böhme 
Autobuild-Date(master): Wed May 22 20:09:29 UTC 2019 on sn-devel-184

and the last 50 lines of the stdout log were:

 PASSED  tests/tool/ctdb.stop.003.sh
 PASSED  tests/tool/ctdb.unban.001.sh
 PASSED  tests/tool/ctdb.unban.002.sh
 PASSED  tests/tool/ctdb.unban.003.sh
 PASSED  tests/tool/ctdb.uptime.001.sh
 PASSED  tests/tool/ctdb.writekey.001.sh
 PASSED  tests/simple/00_ctdb_onnode.sh
 PASSED  tests/simple/01_ctdb_reclock_command.sh
 PASSED  tests/simple/02_ctdb_tunables.sh
 PASSED  tests/simple/05_ctdb_listnodes.sh
 PASSED  tests/simple/06_ctdb_getpid.sh
 PASSED  tests/simple/07_ctdb_process_exists.sh
 PASSED  tests/simple/08_ctdb_isnotrecmaster.sh
 PASSED  tests/simple/09_ctdb_ping.sh
 PASSED  tests/simple/11_ctdb_ip.sh
 PASSED  tests/simple/12_ctdb_getdebug.sh
 PASSED  tests/simple/13_ctdb_setdebug.sh
 PASSED  tests/simple/14_ctdb_statistics.sh
 PASSED  tests/simple/15_ctdb_statisticsreset.sh
 PASSED  tests/simple/16_ctdb_config_add_ip.sh
 PASSED  tests/simple/17_ctdb_config_delete_ip.sh
 PASSED  tests/simple/18_ctdb_reloadips.sh
 PASSED  tests/simple/19_ip_takeover_noop.sh
 PASSED  tests/simple/20_delip_iface_gc.sh
 PASSED  tests/simple/21_ctdb_attach.sh
 PASSED  tests/simple/23_ctdb_moveip.sh
 PASSED  tests/simple/24_ctdb_getdbmap.sh
 PASSED  tests/simple/25_dumpmemory.sh
 PASSED  tests/simple/26_ctdb_config_check_error_on_unreachable_ctdb.sh
 PASSED  tests/simple/27_ctdb_detach.sh
 PASSED  tests/simple/28_zero_eventscripts.sh
 PASSED  tests/simple/32_ctdb_disable_enable.sh
 PASSED  tests/simple/35_ctdb_getreclock.sh
 PASSED  tests/simple/42_ctdb_stop_continue.sh
 PASSED  tests/simple/43_stop_recmaster_yield.sh
 PASSED  tests/simple/51_message_ring.sh
 PASSED  tests/simple/52_fetch_ring.sh
 PASSED  tests/simple/53_transaction_loop.sh
 PASSED  tests/simple/54_transaction_loop_recovery.sh
 PASSED  tests/simple/55_ctdb_ptrans.sh
 PASSED  tests/simple/56_replicated_transaction_recovery.sh
 PASSED  tests/simple/58_ctdb_restoredb.sh
 PASSED  tests/simple/60_recoverd_missing_ip.sh
*FAILED* tests/simple/69_recovery_resurrect_deleted.sh

516/517 tests passed

Not cleaning up TEST_VAR_DIR=tests/var
autotest exited with exit status 1
Makefile:22: recipe for target 'autotest' failed



[SCM] Samba Shared Repository - branch master updated

2019-05-22 Thread Ralph Böhme
The branch, master has been updated
   via  30622ed876c smbd: Fix a panic
   via  febb933fc7b smbtorture: Add a test to make smbd panic
   via  ebf95e62bd0 smbd: Enable "smbd:suicide mode" for smb2
  from  31de52ed2ef s4-ntvfs: Remove untested ntvfs_cifsposix backend

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


- Log -
commit 30622ed876c305a9b03686edb48de987704f
Author: Volker Lendecke 
Date:   Tue May 21 15:26:55 2019 +0200

smbd: Fix a panic

Opening a file with a stale (smbd died) LEVEL_II oplock makes

vfs_set_filelen-> ... ->contend_level2_oplocks_begin_default

trigger the immediate leading to do_break_to_none. This goes through
because fsp->oplock_type is not initialized yet, thus 0. Also,
file_has_read_oplocks is still valid, because the smbd that has died
could not clean up the brlock.tdb entry.

Later in the code the exclusive oplock is granted, which is then found
by do_break_to_none, making it panic.

This patch just runs the direct FTRUNCATE instead of vfs_set_filelen.
This means the contend_level2_oplock code is skipped.

The relevant break (LEVEL_II to NONE) is now done in delay_for_oplock()
with the nice effect of removing a comment that was very confusing to
me.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13957
Signed-off-by: Volker Lendecke 
Reviewed-by: Ralph Boehme 

Autobuild-User(master): Ralph Böhme 
Autobuild-Date(master): Wed May 22 20:09:29 UTC 2019 on sn-devel-184

commit febb933fc7bcba56af845fde61615a9fcbd67b07
Author: Volker Lendecke 
Date:   Tue May 21 14:53:46 2019 +0200

smbtorture: Add a test to make smbd panic

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13957
Signed-off-by: Volker Lendecke 
Reviewed-by: Ralph Boehme 

commit ebf95e62bd03a7344b3a141c3e7102aac721f25a
Author: Volker Lendecke 
Date:   Tue May 21 14:52:22 2019 +0200

smbd: Enable "smbd:suicide mode" for smb2

The next commit needs an smbd to just exit and leave data behind in the
locking.tdb file. Don't make it harder to eventually phase out SMB1: Do
the test in SMB2.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13957
Signed-off-by: Volker Lendecke 
Reviewed-by: Ralph Boehme 

---

Summary of changes:
 selftest/knownfail|  1 +
 source3/smbd/open.c   | 13 
 source3/smbd/smb2_server.c| 12 +++
 source4/torture/smb2/oplock.c | 75 +++
 4 files changed, 94 insertions(+), 7 deletions(-)


Changeset truncated at 500 lines:

diff --git a/selftest/knownfail b/selftest/knownfail
index 5bc18a69168..2c31bf91619 100644
--- a/selftest/knownfail
+++ b/selftest/knownfail
@@ -142,6 +142,7 @@
 ^samba4.smb2.oplock.exclusive9\(.*\)$
 ^samba4.smb2.oplock.brl3\(.*\)$ # samba 4 oplocks are a mess
 ^samba4.smb2.oplock.levelii500\(.*\)$ # samba 4 oplocks are a mess
+^samba4.smb2.oplock.levelii502\(.*\)$ # samba 4 oplocks are a mess
 ^samba4.smb2.oplock.brl1\(.*\)$ # samba 4 oplocks are a mess
 ^samba4.smb2.oplock.batch22\(.*\)$ # samba 4 oplocks are a mess
 ^samba4.smb2.oplock.batch19\(.*\)$ # samba 4 oplocks are a mess
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index ec7906b4b77..0a4abe0d820 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -1911,12 +1911,7 @@ static bool delay_for_oplock(files_struct *fsp,
break_to = e_lease_type & ~delay_mask;
 
if (will_overwrite) {
-   /*
-* we'll decide about SMB2_LEASE_READ later.
-*
-* Maybe the break will be deferred
-*/
-   break_to &= ~SMB2_LEASE_HANDLE;
+   break_to &= ~(SMB2_LEASE_HANDLE|SMB2_LEASE_READ);
}
 
DEBUG(10, ("entry %u: e_lease_type %u, will_overwrite: %u\n",
@@ -3675,13 +3670,17 @@ static NTSTATUS open_file_ntcreate(connection_struct 
*conn,
(!S_ISFIFO(fsp->fsp_name->st.st_ex_mode))) {
int ret;
 
-   ret = vfs_set_filelen(fsp, 0);
+   ret = SMB_VFS_FTRUNCATE(fsp, 0);
if (ret != 0) {
status = map_nt_error_from_unix(errno);
TALLOC_FREE(lck);
fd_close(fsp);
return status;
}
+   notify_fname(fsp->conn, NOTIFY_ACTION_MODIFIED,
+FILE_NOTIFY_CHANGE_SIZE
+| FILE_NOTIFY_CHANGE_ATTRIBUTES,
+fsp->fsp_name->base_name);
}
 
/*
diff --git a/source3/smbd/smb2_server.c b/source3/smbd/smb2_server.c
index 5057cf68d7b..7b6e82ba2f0 100644
--- 

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

2019-05-22 Thread Karolin Seeger
The branch, v4-10-test has been updated
   via  5508e9c8cb4 Merge tag 'samba-4.10.4' into v4-10-test
   via  8e479542e28 VERSION: Disable GIT_SNAPSHOT for the 4.10.4 release.
   via  def2c7dabc9 Merge 'origin/v4-10-stable' into the real 4.10.4 release
   via  8eb462bf914 Merge tag 'samba-4.10.3' into v4-10-stable
   via  6c23ad16f02 VERSION: Disable GIT_SNAPSHOT for the 4.10.3 release.
  from  827b5423c0f VERSION: Bump version up to 4.10.5...

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


- Log -
commit 5508e9c8cb4206a1c2b012c6925f8c6f40f89c1f
Merge: 827b5423c0f 8e479542e28
Author: Karolin Seeger 
Date:   Wed May 22 12:31:17 2019 +0200

Merge tag 'samba-4.10.4' into v4-10-test

samba: tag release samba-4.10.4

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

---

Summary of changes:


Changeset truncated at 500 lines:



-- 
Samba Shared Repository



[SCM] Samba Website Repository - branch master updated

2019-05-22 Thread Karolin Seeger
The branch, master has been updated
   via  520e0ce NEWS[4.10.4]: Samba 4.10.4 Available for Download
  from  af4ea9b NEWS[4.10.3]: Samba 4.10.3, 4.9.8 and 4.8.12 Security 
Releases Available

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


- Log -
commit 520e0ceba6e267c0cb6d7db28ba806561c59329b
Author: Karolin Seeger 
Date:   Wed May 22 12:25:25 2019 +0200

NEWS[4.10.4]: Samba 4.10.4 Available for Download

Signed-off-by: Karolin Seeger 

---

Summary of changes:
 history/header_history.html  |   1 +
 history/samba-4.10.4.html| 115 +++
 posted_news/20190522-102630.4.10.4.body.html |  13 +++
 posted_news/20190522-102630.4.10.4.headline.html |   3 +
 4 files changed, 132 insertions(+)
 create mode 100644 history/samba-4.10.4.html
 create mode 100644 posted_news/20190522-102630.4.10.4.body.html
 create mode 100644 posted_news/20190522-102630.4.10.4.headline.html


Changeset truncated at 500 lines:

diff --git a/history/header_history.html b/history/header_history.html
index 229a679..15a3c50 100755
--- a/history/header_history.html
+++ b/history/header_history.html
@@ -9,6 +9,7 @@
Release Notes


+   samba-4.10.4
samba-4.10.3
samba-4.10.2
samba-4.10.1
diff --git a/history/samba-4.10.4.html b/history/samba-4.10.4.html
new file mode 100644
index 000..778a5d5
--- /dev/null
+++ b/history/samba-4.10.4.html
@@ -0,0 +1,115 @@
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;>
+http://www.w3.org/1999/xhtml;>
+
+Samba 4.10.4 - Release Notes
+
+
+Samba 4.10.4 Available for Download
+
+https://download.samba.org/pub/samba/stable/samba-4.10.4.tar.gz;>Samba 
4.10.4 (gzipped)
+https://download.samba.org/pub/samba/stable/samba-4.10.4.tar.asc;>Signature
+
+
+https://download.samba.org/pub/samba/patches/samba-4.10.3-4.10.4.diffs.gz;>Patch
 (gzipped) against Samba 4.10.3
+https://download.samba.org/pub/samba/patches/samba-4.10.3-4.10.4.diffs.asc;>Signature
+
+
+
+   ==
+   Release Notes for Samba 4.10.4
+May 22, 2019
+   ==
+
+
+This is the latest stable release of the Samba 4.10 release series.
+
+
+Changes since 4.10.3:
+-
+
+o  Jeremy Allison j...@samba.org
+   * BUG 13938: s3: SMB1: Dont allow recvfile on stream fsps.
+
+o  Douglas Bagnall douglas.bagn...@catalyst.net.nz
+   * BUG 13882: py/provision: Fix for Python 2.6.
+
+o  Tim Beale timbe...@catalyst.net.nz
+   * BUG 13873: netcmd: Fix passwordsettings --max-pwd-age command.
+
+o  Ralph Boehme s...@samba.org
+   * BUG 13938: s3:smbd: Dont use recvfile on streams.
+
+o  Gnther Deschner g...@samba.org
+   * BUG 13861: s3-libnet_join: net ads join to child domain fails 
when using
+ -U admin@forestroot.
+
+o  David Disseldorp dd...@samba.org
+   * BUG 13896: vfs_ceph: Explicitly enable libcephfs POSIX ACL support.
+   * BUG 13940: vfs_ceph: Fix cephwrap_flistxattr() debug message.
+
+o  Amitay Isaacs ami...@gmail.com
+   * BUG 13895: ctdb-common: Avoid race between fd and signal events.
+   * BUG 13943: ctdb-common: Fix memory leak in run_proc.
+
+o  Volker Lendecke v...@samba.org
+   * BUG 13892: lib: Initialize getline() arguments.
+   * BUG 13903: winbind: Fix overlapping id ranges.
+
+o  Gary Lockyer g...@catalyst.net.nz
+   * BUG 13902: lib util debug: Increase format buffer to 4KiB.
+   * BUG 13927: nsswitch pam_winbind: Fix Asan use after free.
+   * BUG 13929: s4 lib socket: Ensure address string owned by parent struct.
+   * BUG 13936: s3 rpc_client: Fix Asan stack use after scope.
+
+o  Stefan Metzmacher me...@samba.org
+   * BUG 10097: s3:smbd: Handle IO_REPARSE_TAG_DFS in
+ SMB_FIND_FILE_FULL_DIRECTORY_INFO.
+   * BUG 10344: smb2_tcon: Avoid STATUS_PENDING completely on tdis.
+   * BUG 12845: smb2_sesssetup: avoid STATUS_PENDING responses for session
+ setup.
+   * BUG 13698: smb2_tcon: Avoid STATUS_PENDING completely on tdis.
+   * BUG 13796: smb2_sesssetup: avoid STATUS_PENDING responses for session
+ setup.
+   * BUG 13843: dbcheck: Fix the err_empty_attribute() check.
+   * BUG 13858: vfs_snapper: Drop unneeded fstat handler.
+   * BUG 13862: vfs_default: Fix vfswrap_offload_write_send()
+ NT_STATUS_INVALID_VIEW_SIZE check.
+   * BUG 13863: smb2_server: Grant all 8192 credits to clients.
+   * BUG 13919: smbd: Implement SMB_FILE_NORMALIZED_NAME_INFORMATION handling.
+
+o  Anoop C S anoo...@redhat.com
+   * BUG 13872: s3/vfs_glusterfs: Dynamically determine NAME_MAX.
+
+o  Robert Sander r.san...@heinlein-support.de
+   * BUG 13918: s3: modules: ceph: Use current working directory inst

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

2019-05-22 Thread Karolin Seeger
The branch, v4-10-stable has been updated
   via  8e479542e28 VERSION: Disable GIT_SNAPSHOT for the 4.10.4 release.
   via  def2c7dabc9 Merge 'origin/v4-10-stable' into the real 4.10.4 release
   via  fa9de54681b WHATSNEW: Add release notes for Samba 4.10.4.
   via  d6243acb3ac ctdb-common: Fix memory leak in run_proc
   via  0d4280abf98 ctdb-common: Fix memory leak
   via  32065a0772e ctdb-recoverd: Fix memory leak
   via  417a4d2c3cc vfs_ceph: fix cephwrap_flistxattr() debug message
   via  4c02823ab51 s3:smbspool: Fix regression printing with Kerberos 
credentials
   via  5c9489ba557 s3: SMB1: Don't allow recvfile on stream fsp's.
   via  198cb5b0550 s3:smbd: don't use recvfile on streams
   via  f7ffa7a007f s3:utils: If share is NULL in smbcacls, don't print it
   via  b0e862a64a7 s3:utils: If share is NULL in smbcquotas, don't print it
   via  601cb1d5726 s3:winbindd: Do not free db_path in idmap_tdb2 before 
we printed it
   via  5b6adbb0f05 ctdb:common: Do not print NULL if we don't get a 
sockpath
   via  b578a2df99f s4:torture: Do not free full_name before we printed it
   via  4113054a7ce lib:torture: Fix string comparison macros where we 
directly pass NULL
   via  a81f78ce4e4 s4:torture: Do not print NULL strings we just checked 
before
   via  b522ed38de1 s4:ntvfs: Do not free eadb before we printed an error
   via  405872948fa s3:rpc_server: Do not free the tdbname before we 
printed it
   via  4f0a4fac3de s4:auth: Fix debug statement in gensec_gssapi
   via  8542379bde8 s3 rpc_client: Fix Asan stack use after scope
   via  8a320aad332 ctdb-daemon: Never use 0 as a client ID
   via  6aa0fd8b7cd s4 lib socket: Ensure address string owned by parent 
struct
   via  385a36b7e7c nsswitch pam_winbind: Fix Asan use after free
   via  52ba5136f2f ctdb-tests: Fix logic error in simple ctdb reloadips 
test
   via  63a59de4f0f ctdb-tests: Make ctdb reloadips tests more reliable
   via  efb35a1a695 ctdb-tests: Capture output in $out on failure as well
   via  65bf14afd83 ctdb-tests: Remove old socket wrapper state directory 
during setup
   via  33739d55569 ctdb-tests: Actually restart if cluster doesn't become 
healthy
   via  0cdf5c6b5ce ctdb-tests: Don't clean up test var directory in 
autotest target
   via  3582e306606 ctdb-tests: Fix usage message
   via  b8cf1594a73 ctdb-tests: Wait to allow database attach/detach to 
take effect
   via  221da170256 ctdb-tests: Avoid bulk output in $out, prefer $outfile
   via  2044466dd3e ctdb-tests: Make try_command_on_node less error-prone
   via  8bb1726f6a7 ctdb-tests: Change sanity_check_output() to internally 
use $out
   via  c054f19fb37 ctdb-tests: Extend test to cover ctdb rddumpmemory
   via  8c9abb2749f ctdb-tools: Fix ctdb dumpmemory to avoid printing 
trailing NUL
   via  42b32da4160 smbd: implement SMB_FILE_NORMALIZED_NAME_INFORMATION 
handling
   via  5308f042e67 s4:torture/smb2: add smb2.getinfo.normalized test
   via  3205d032781 s4:libcli/raw: add 
RAW_FILEINFO_NORMALIZED_NAME_INFORMATION support
   via  07382f0765a smbd: allow case insensitive opens of named streams
   via  649dd7bce86 s4:torture/smb2: add smb2.stream.names3 test
   via  f4a603a9f32 s3: modules: ceph: use current working directory 
instead of share path
   via  de505618e60 s3:debug: enable logging for early startup failures
   via  c584a4b4dfb s3:debug: adjust indention
   via  c7f25b25d3a s3:debug: use struct initializer
   via  1fa6a46fa53 winbind: Fix overlapping id ranges
   via  24d39db5c37 selftest: Add trusted domain tests for idmap_ad
   via  3a46730f12e selftest: Pass trusted domain information to idmap_ad 
test
   via  c3c2f3707a0 selftest: Add idmap configuration for trusted domain 
for idmap_ad
   via  79c04524c38 selftest: Make trusted domain information available for 
idmap_ad environment
   via  28b5ff2ccf7 selftest: Use fl2008r2dc for ad_member_idmap_ad
   via  38746ec0a3e selftest: Add gid-to-sid lookup to idmap_ad test
   via  9c167fa8628 lib util debug: Increase format buffer to 4KiB
   via  2cc3b4c42c5 lib: Initialize getline() arguments
   via  d1962a5f527 pytests/dns: use 2.6 compatible syntax
   via  893ac2a6b20 netcmd: Fix passwordsettings --max-pwd-age command
   via  afc2243b478 netcmd: Add some timestamp conversion helper functions
   via  36da4c095de netcmd: Use python constant for -0x8000
   via  1efa1e01194 tests: Add test for setting min/maxPwdAge
   via  ea74b0eb2ef dbcheck: fix the err_empty_attribute() check
   via  b01e1e3376b winbind: Use domain name from lsa query for sid_to_name 
cache entry
   via  9034980420d winbind: Return queried domain name from name_to_sid
   via  b519cd2156d winbind: Query domain from winbind sam_name_to_sid
   via  af48878005a winbind: Query 

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

2019-05-22 Thread Karolin Seeger
The annotated tag, samba-4.10.4 has been created
at  dcb65453063f1965577586e45180c54646f02ac7 (tag)
   tagging  8e479542e28d3b52a940fc12c9e72d782d953d00 (commit)
  replaces  samba-4.10.3
 tagged by  Karolin Seeger
on  Wed May 22 12:25:11 2019 +0200

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

iF0EABECAB0WIQRS+8C4bZVLCEMyTNxvM5FbZWi36gUCXOUjhwAKCRBvM5FbZWi3
6ioWAJsEXUnhorC6h1f3Me7QTP6dc3lnvwCgi08GRB1eUkQz95DdcSInF8Knf8I=
=f+XW
-END PGP SIGNATURE-

Amitay Isaacs (2):
  ctdb-common: Avoid race between fd and signal events
  ctdb-common: Fix memory leak in run_proc

Andreas Schneider (17):
  docs: Update smbclient manpage for --max-protocol
  s3:libads: Print more information when LDAP fails
  s3:libsmb: Add some useful debug output to cliconnect
  auth:creds: Prefer the principal over DOMAIN/username when using NTLM
  s3:libnet: Use more secure name for the JOIN krb5.conf
  s3:libads: Make sure we can lookup KDCs which are not configured
  s4:auth: Fix debug statement in gensec_gssapi
  s3:rpc_server: Do not free the tdbname before we printed it
  s4:ntvfs: Do not free eadb before we printed an error
  s4:torture: Do not print NULL strings we just checked before
  lib:torture: Fix string comparison macros where we directly pass NULL
  s4:torture: Do not free full_name before we printed it
  ctdb:common: Do not print NULL if we don't get a sockpath
  s3:winbindd: Do not free db_path in idmap_tdb2 before we printed it
  s3:utils: If share is NULL in smbcquotas, don't print it
  s3:utils: If share is NULL in smbcacls, don't print it
  s3:smbspool: Fix regression printing with Kerberos credentials

Anoop C S (2):
  s3/vfs_glusterfs_fuse: Dynamically determine NAME_MAX
  s3/vfs_glusterfs: Dynamically determine NAME_MAX

Christof Schmitt (16):
  memcache: Introduce struct for storing talloc pointer
  memcache: Properly track the size of talloc objects
  memcache: Increase size of default memcache to 512k
  torture: Add test for talloc size accounting in memcache
  nsswitch: Add testcase for checking output of wbinfo --sid-to-name
  winbind: Query domain from msrpc name_to_sid
  winbind: Query domain from winbind rpc name_to_sid
  winbind: Query domain from winbind sam_name_to_sid
  winbind: Return queried domain name from name_to_sid
  winbind: Use domain name from lsa query for sid_to_name cache entry
  selftest: Add gid-to-sid lookup to idmap_ad test
  selftest: Use fl2008r2dc for ad_member_idmap_ad
  selftest: Make trusted domain information available for idmap_ad 
environment
  selftest: Add idmap configuration for trusted domain for idmap_ad
  selftest: Pass trusted domain information to idmap_ad test
  selftest: Add trusted domain tests for idmap_ad

David Disseldorp (4):
  vfs_snapper: drop unneeded fstat handler
  vfs_ceph: explicitly enable libcephfs POSIX ACL support
  docs/vfs_ceph: describe new ACL behaviour
  vfs_ceph: fix cephwrap_flistxattr() debug message

Douglas Bagnall (2):
  py/provision: fix for Python 2.6
  pytests/dns: use 2.6 compatible syntax

Gary Lockyer (4):
  lib util debug: Increase format buffer to 4KiB
  nsswitch pam_winbind: Fix Asan use after free
  s4 lib socket: Ensure address string owned by parent struct
  s3 rpc_client: Fix Asan stack use after scope

Guenther Deschner (3):
  s3:libnet: Fix debug message in libnet_DomainJoin()
  auth:ntlmssp: Add back CRAP ndr debug output
  s3:ldap: Leave add machine code early for pre-existing accounts

Günther Deschner (3):
  s3-libnet_join: always pass down admin domain to ads layer
  s3-libnet_join: setup libnet join error string when AD connect fails
  s3-libnet_join: allow fallback to NTLMSSP auth in libnet_join

Jeremy Allison (1):
  s3: SMB1: Don't allow recvfile on stream fsp's.

Karolin Seeger (10):
  VERSION: Bump version up to 4.10.2...
  Merge tag 'samba-4.10.2' into v4-10-test
  VERSION: Bump version up to 4.10.3.
  VERSION: Disable GIT_SNAPSHOT for the 4.10.3 release.
  Merge tag 'samba-4.10.3' into v4-10-test
  VERSION: Bump version up to 4.10.4.
  WHATSNEW: Add release notes for Samba 4.10.4.
  Merge tag 'samba-4.10.3' into v4-10-stable
  Merge 'origin/v4-10-stable' into the real 4.10.4 release
  VERSION: Disable GIT_SNAPSHOT for the 4.10.4 release.

Martin Schwenke (27):
  ctdb-scripts: Reindent some functions prior to making changes
  ctdb-scripts: Rename variable nfslock_service to nfs_lock_service
  ctdb-scripts: Add test variable CTDB_NFS_DISTRO_STYLE
  ctdb-scripts: Factor out nfs_load_config()
  ctdb-scripts: Stop/start mount/rquotad/status via NFS call-out
  ctdb-scripts: Start NFS quota service if defined
  ctdb-scripts: Add 

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

2019-05-22 Thread Karolin Seeger
The branch, v4-10-stable has been updated
   via  8eb462bf914 Merge tag 'samba-4.10.3' into v4-10-stable
   via  70a164b3214 VERSION: Disable GIT_SNAPSHOT for the 4.10.3 release.
  from  6c23ad16f02 VERSION: Disable GIT_SNAPSHOT for the 4.10.3 release.

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


- Log -
commit 8eb462bf914f9b8f9427ececbfc15ae8ae4e5b72
Merge: 6c23ad16f02 70a164b3214
Author: Karolin Seeger 
Date:   Wed May 22 12:05:26 2019 +0200

Merge tag 'samba-4.10.3' into v4-10-stable

samba: tag release samba-4.10.3

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

---

Summary of changes:


Changeset truncated at 500 lines:



-- 
Samba Shared Repository



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

2019-05-22 Thread Karolin Seeger
The branch, v4-10-test has been updated
   via  827b5423c0f VERSION: Bump version up to 4.10.5...
   via  d3cfdd71997 VERSION: Disable GIT_SNAPSHOT for the 4.10.4 release.
   via  fa9de54681b WHATSNEW: Add release notes for Samba 4.10.4.
  from  d6243acb3ac ctdb-common: Fix memory leak in run_proc

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


- Log -
commit 827b5423c0fe6ad472226b6d172e0460d074135a
Author: Karolin Seeger 
Date:   Wed May 22 11:50:17 2019 +0200

VERSION: Bump version up to 4.10.5...

and re-enable GIT_SNAPSHOT.

Signed-off-by: Karolin Seeger 

commit d3cfdd71997494589edd73943d574964720b5f13
Author: Karolin Seeger 
Date:   Wed May 22 11:49:22 2019 +0200

VERSION: Disable GIT_SNAPSHOT for the 4.10.4 release.

Signed-off-by: Karolin Seeger 

commit fa9de54681bc2ebfb37b43f2a7bd2d69124f24c7
Author: Karolin Seeger 
Date:   Wed May 22 11:48:35 2019 +0200

WHATSNEW: Add release notes for Samba 4.10.4.

Signed-off-by: Karolin Seeger 

---

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


Changeset truncated at 500 lines:

diff --git a/VERSION b/VERSION
index d6337dea09a..cdd63c11a9c 100644
--- a/VERSION
+++ b/VERSION
@@ -25,7 +25,7 @@
 
 SAMBA_VERSION_MAJOR=4
 SAMBA_VERSION_MINOR=10
-SAMBA_VERSION_RELEASE=4
+SAMBA_VERSION_RELEASE=5
 
 
 # If a official release has a serious bug  #
diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index 8472caa032c..21aef0c4960 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -1,3 +1,119 @@
+   ==
+   Release Notes for Samba 4.10.4
+May 22, 2019
+   ==
+
+
+This is the latest stable release of the Samba 4.10 release series.
+
+
+Changes since 4.10.3:
+-
+
+o  Jeremy Allison 
+   * BUG 13938: s3: SMB1: Don't allow recvfile on stream fsp's.
+
+o  Douglas Bagnall 
+   * BUG 13882: py/provision: Fix for Python 2.6.
+
+o  Tim Beale 
+   * BUG 13873: netcmd: Fix 'passwordsettings --max-pwd-age' command.
+
+o  Ralph Boehme 
+   * BUG 13938: s3:smbd: Don't use recvfile on streams.
+
+o  Günther Deschner 
+   * BUG 13861: s3-libnet_join: 'net ads join' to child domain fails when using
+ "-U admin@forestroot".
+
+o  David Disseldorp 
+   * BUG 13896: vfs_ceph: Explicitly enable libcephfs POSIX ACL support.
+   * BUG 13940: vfs_ceph: Fix cephwrap_flistxattr() debug message.
+
+o  Amitay Isaacs 
+   * BUG 13895: ctdb-common: Avoid race between fd and signal events.
+   * BUG 13943: ctdb-common: Fix memory leak in run_proc.
+
+o  Volker Lendecke 
+   * BUG 13892: lib: Initialize getline() arguments.
+   * BUG 13903: winbind: Fix overlapping id ranges.
+
+o  Gary Lockyer 
+   * BUG 13902: lib util debug: Increase format buffer to 4KiB.
+   * BUG 13927: nsswitch pam_winbind: Fix Asan use after free.
+   * BUG 13929: s4 lib socket: Ensure address string owned by parent struct.
+   * BUG 13936: s3 rpc_client: Fix Asan stack use after scope.
+
+o  Stefan Metzmacher 
+   * BUG 10097: s3:smbd: Handle IO_REPARSE_TAG_DFS in
+ SMB_FIND_FILE_FULL_DIRECTORY_INFO.
+   * BUG 10344: smb2_tcon: Avoid STATUS_PENDING completely on tdis.
+   * BUG 12845: smb2_sesssetup: avoid STATUS_PENDING responses for session
+ setup.
+   * BUG 13698: smb2_tcon: Avoid STATUS_PENDING completely on tdis.
+   * BUG 13796: smb2_sesssetup: avoid STATUS_PENDING responses for session
+ setup.
+   * BUG 13843: dbcheck: Fix the err_empty_attribute() check.
+   * BUG 13858: vfs_snapper: Drop unneeded fstat handler.
+   * BUG 13862: vfs_default: Fix vfswrap_offload_write_send()
+ NT_STATUS_INVALID_VIEW_SIZE check.
+   * BUG 13863: smb2_server: Grant all 8192 credits to clients.
+   * BUG 13919: smbd: Implement SMB_FILE_NORMALIZED_NAME_INFORMATION handling.
+
+o  Anoop C S 
+   * BUG 13872: s3/vfs_glusterfs: Dynamically determine NAME_MAX.
+
+o  Robert Sander 
+   * BUG 13918: s3: modules: ceph: Use current working directory instead of
+ share path.
+
+o  Christof Schmitt 
+   * BUG 13831: winbind: Use domain name from lsa query for sid_to_name cache
+ entry.
+   * BUG 13865: memcache: Increase size of default memcache to 512k.
+
+o  Andreas Schneider 
+   * BUG 13857: docs: Update smbclient manpage for "--max-protocol".
+   * BUG 13861: 'net ads join' to child domain fails when using
+ "-U admin@forestroot".
+   * BUG 13937: s3:utils: If share is NULL in smbcacls, don't print it.
+   * BUG 13939: s3:smbspool: Fix regression printing with Kerberos credentials.
+
+o  Martin Schwenke 
+   * BUG 13860: 

[SCM] Samba Shared Repository - branch master updated

2019-05-22 Thread Gary Lockyer
The branch, master has been updated
   via  31de52ed2ef s4-ntvfs: Remove untested ntvfs_cifsposix backend
   via  679227d6063 s4-ntvfs: Remove untested stub vfs_print backend
   via  ee8b48df0f9 ntvfs: Remove unused and untested SMB1 -> SMB2 proxy 
module
   via  2017e291a2d ntvfs: Remove unused nbench vfs module
   via  5b957f816c8 libcli/ldap: Remove unsued ldap_transaction()
   via  3e197d4370b libcli/security: Remove unused dup_sec_desc_buf()
   via  93db0aac0d3 lib: Remove "tdb based replacement for gettext"
   via  a011e033d5d s4-rpc_server: Remove unused dnsserver_find_partition()
   via  abe7b673941 libcli/auth: Remove des_crypt64() from smbdes
   via  e421c13bbc7 dsdb: Remove unsued dsdb_class_by_cn()
   via  433296c614f Remove unused auth_get_challenge_not_implemented
   via  40a9b739c64 Makefile: add lcov command
  from  a666a99e4dc ldb: ldbdump key and pack format version comments

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


- Log -
commit 31de52ed2efe598e7fab72d90a742d4f9e03c97e
Author: Andrew Bartlett 
Date:   Tue May 21 13:57:57 2019 +1200

s4-ntvfs: Remove untested ntvfs_cifsposix backend

It had a note:

WARNING: All file access is done as user root!!!
 Only use this module for testing, with only test data!!!

Signed-off-by: Andrew Bartlett 
Reviewed-by: Gary Lockyer 

Autobuild-User(master): Gary Lockyer 
Autobuild-Date(master): Wed May 22 07:15:43 UTC 2019 on sn-devel-184

commit 679227d6063074aabb986d78fab42b856db265e3
Author: Andrew Bartlett 
Date:   Tue May 21 13:55:16 2019 +1200

s4-ntvfs: Remove untested stub vfs_print backend

Signed-off-by: Andrew Bartlett 
Reviewed-by: Gary Lockyer 

commit ee8b48df0f995611e0c8f8d6766e4882c5f4f4cd
Author: Andrew Bartlett 
Date:   Mon May 6 15:12:56 2019 +1200

ntvfs: Remove unused and untested SMB1 -> SMB2 proxy module

While this could have been a very interesting idea (particularly
if it allowed our main SMB server to disable SMB1), it has never
been enabled in our testsuite so relying on it would be quite
brave.

Signed-off-by: Andrew Bartlett 
Reviewed-by: Gary Lockyer 

commit 2017e291a2da3d63741df82b480f32ee57f6a165
Author: Andrew Bartlett 
Date:   Mon May 6 15:07:52 2019 +1200

ntvfs: Remove unused nbench vfs module

A pass-though NTVFS module to write nbench files is a cute idea,
but this is untested and almost certainly unused.

Found by looking at the LCOV results.

Signed-off-by: Andrew Bartlett 
Reviewed-by: Gary Lockyer 

commit 5b957f816c8647c6423926ee47243ff0bb1e09e5
Author: Andrew Bartlett 
Date:   Tue May 21 15:42:39 2019 +1200

libcli/ldap: Remove unsued ldap_transaction()

This is unsued since a87dea2a0894015cf4a3140995791f5468c40038 in 2007
when we moved to using LDB for LDAP in this area of the code.

Signed-off-by: Andrew Bartlett 
Reviewed-by: Gary Lockyer 

commit 3e197d4370b03f6a8d711f5b61c6525bd75aa304
Author: Andrew Bartlett 
Date:   Tue May 21 15:03:06 2019 +1200

libcli/security: Remove unused dup_sec_desc_buf()

This has been unused since before
762e7e1dff89cc14b0130fc9a22038b0845630a2 in 2003.

Found by callcatcher

Signed-off-by: Andrew Bartlett 
Reviewed-by: Gary Lockyer 

commit 93db0aac0d3c4c44bcb5b52618705d63b94534cd
Author: Andrew Bartlett 
Date:   Tue May 21 14:59:00 2019 +1200

lib: Remove "tdb based replacement for gettext"

This is unused since SWAT was removed in Samba 4.1

Signed-off-by: Andrew Bartlett 
Reviewed-by: Gary Lockyer 

commit a011e033d5d3af3d63fdfd1def95e22b54a8aa3f
Author: Andrew Bartlett 
Date:   Tue May 21 14:41:06 2019 +1200

s4-rpc_server: Remove unused dnsserver_find_partition()

This has been unused since it was introduced by
5673e2cec946502da84956f866658718e7632a3e in 2011.

Found by callcatcher

Signed-off-by: Andrew Bartlett 
Reviewed-by: Gary Lockyer 

commit abe7b673941d932d65839fb616f95a717c57d445
Author: Andrew Bartlett 
Date:   Tue May 21 14:35:52 2019 +1200

libcli/auth: Remove des_crypt64() from smbdes

This has been unused since it was introduced by
ad8b47a2ba4e81420bc2272e8438a727cc2223ee in 2006

Found by callcatcher

Signed-off-by: Andrew Bartlett 
Reviewed-by: Gary Lockyer 

commit e421c13bbc73e654c4683339f1a14c262e43f7eb
Author: Andrew Bartlett 
Date:   Tue May 21 14:24:43 2019 +1200

dsdb: Remove unsued dsdb_class_by_cn()

The callers moved to dsdb_class_by_cn_ldb_val() with
43aa546ecc3f05845793b1a7354685d50a77c170 in 2009.

Found by callcatcher

Signed-off-by: Andrew Bartlett 
Reviewed-by: Gary Lockyer 

commit 433296c614f9fcab1b6390662a0f915395c9fc82
Author: Andrew Bartlett 
Date:   Tue May 21 14:15:36