1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-10 12:58:35 +03:00

101781 Commits

Author SHA1 Message Date
Günther Deschner
c6f7bbdc83 s3:libads:ndr: add ADS_AUTH_USER_CREDS to ndr_print_ads_auth_flags()
Guenther

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

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit e8f6acdeece990dc8953d494113dee856d80da45)
2016-03-15 20:29:33 +01:00
Günther Deschner
0dc8e3120b s3:libads:ldap: print LDAP error message with log level 10.
Guenther

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

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 34030b025b9e4cd5e7321d6e242f6c03da2a60c0)
2016-03-15 20:29:33 +01:00
Günther Deschner
f74d7f54c0 s3:libnet:libnet_join: prepare to allow connecting with machine creds.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11755

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 71d5634ab58f0ca21db633990231bd01a22c956c)
2016-03-15 20:29:33 +01:00
Günther Deschner
35ec8ac4b8 Partly revert "s3:libads: setup the msDS-SupportedEncryptionTypes attribute on ldap_add"
This partly reverts commit 0c74d62524db376b6a3fac00c688be0cdffcaa80.

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

Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 6686f67d2a91146c8bb2fb2a8104fcaa5710b855)
2016-03-15 20:29:33 +01:00
Ira Cooper
0268dc297a vfs_glusterfs: Fix use after free in AIO callback.
The wrapper->state pointer is not getting NULLed during free
allowing us to do a use after free.

Thanks to Red Hat for discovering this issue.

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

Signed-off-by: Ira Copper <ira@samba.org>
Reviewed-by: Poornima G <pgurusid@redhat.com>
Tested-by: Christopher Blum <cblum@redhat.com>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(v4-4-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-4-test): Mon Mar 14 13:19:27 CET 2016 on sn-devel-144
2016-03-14 13:19:27 +01:00
Justin Maggard
4e48421a69 s3:smbd: add negprot remote arch detection for OSX
Remote arch detection for OSX clients has been broken for some time, since
both Samba and OSX started supporting SMB2.  Fix it by adding modern OSX
client detection support to the negprot remote arch detection routine.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=11773

Signed-off-by: Justin Maggard <jmaggard10@gmail.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <rb@sernet.de>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Mar  3 09:03:53 CET 2016 on sn-devel-144

(cherry picked from commit d7ca174744001fabdc32e1c334dad347bb985756)
2016-03-14 10:02:15 +01:00
Justin Maggard
9d588a90d3 s3:smbd: rework negprot remote arch detection
Negprot remote arch detection is very cryptic.  Rework it so it's easier
to understand, and therefore more extensible, following the protocol table
in inline comments.  This also allows us to remove some hacks.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=11773

Signed-off-by: Justin Maggard <jmaggard10@gmail.com>
Reviewed-by: Ralph Boehme <rb@sernet.de>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit b69b96fc14128f50a906b4f5b34934efbc94afbc)
2016-03-14 10:02:15 +01:00
Amitay Isaacs
28e5e957a4 ctdb-common: For AF_PACKET socket types, protocol is in network order
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11770

From man page of packet(7):

                                             protocol is the  IEEE  802.3
   protocol  number  in  network  byte  order.  See the <linux/if_ether.h>
   include file for a list of allowed protocols.  When protocol is set  to
   htons(ETH_P_ALL),  then all protocols are received.

Protocol argument was changed from network order to host order wrongly
in commit 9f8395cb7d49b63a82f75bf504f5f83920102b29.

Specifying "protocol" field to socket(AF_PACKET, ...) call only affects
the packets that are recevied.  So use protocol = 0 when sending raw
packets.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>

Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Fri Mar  4 12:58:50 CET 2016 on sn-devel-144

(cherry picked from commit f5b6a5b13406c245ab9cc8c1699483af9eb21f88)
2016-03-14 10:02:15 +01:00
Uri Simchoni
5b424635af libnet: make Kerberos domain join site-aware
When joining a domain using Kerberos authentication, create a
configuration file for the Kerberos libs to prefer on-site
domain controllers, without relying on the winbindd Kerberos
locator, which many not be operational at this stage.

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

Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Mar  8 01:30:35 CET 2016 on sn-devel-144

(cherry picked from commit 0dbab0e33e9efc46f72b6a8b0dc894ea251df9aa)
2016-03-14 10:02:15 +01:00
Uri Simchoni
16e970fbc4 dsgetdcname: fix flag check
Fix the check for zero requseted flags.

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

Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 6d717402e42131298ba670ee47686379854ec56d)
2016-03-14 10:02:15 +01:00
Uri Simchoni
da0f03b9f8 dsgetdcname: return an IP address on rediscovery
When dsgetdcname return its result based on discovery
process (instead of retrieving cached value), always
return the found server's IP address in dc_address field,
rather than its netbios name.

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

Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit ef84f4c018424b1fcc232a4780dc2c0435701d86)
2016-03-14 10:02:15 +01:00
Andrew Bartlett
38091dd1be dsdb/repl: Ensure we use the LOCAL attid value, not the remote one
The key here is that while this never was an issue for builtin schema,
nor for objects with an msDS-IntID used outside the schema partition,
additional attributes added and used in the schema partition were
incorrectly using the wrong attributeID value in the replPropertyMetaData.

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Sun Mar 13 23:29:14 CET 2016 on sn-devel-144

(cherry picked from commit 6ecfc4cb254f9b2524ec5619ed8cee9db5d959b2)
2016-03-14 10:02:15 +01:00
Michael Adam
2a80859025 smbd:smb2: move op variable into scope of use in smb2_create_send
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 272d06d40b7338de7db8954192f42c7340753920)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11779
2016-03-14 10:02:15 +01:00
Michael Adam
8743f5b9a6 smbd:smb2: implement create replay
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 2fd54b533292e54de8c289fb093748fb171c15a7)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11779
2016-03-14 10:02:14 +01:00
Michael Adam
a894f156ee smbXsrv.idl: add create_action to smbXsrv_open
Needed for create replay.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 03a3aa981500c5ba9d82c27f36e107672b071203)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11779
2016-03-14 10:02:14 +01:00
Michael Adam
9bce93ba7a smbXsrv:open: add smb2srv_open_lookup_replay_cache()
A function to find an open from the replay cache,
based on the create_guid handed in.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 5b90c986eda8201660434a9a1d64e5a0a625379e)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11779
2016-03-14 10:02:14 +01:00
Michael Adam
609faee1ee smb2:create: create replay cache when request has a create_guid
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 08e34830b7f4d631a24e94aad1502949eb2cd675)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11779
2016-03-14 10:02:14 +01:00
Michael Adam
579fb6648e smbXsrv:open: maintain a replay cache
This caches a map create_guid -> file_id, so that
a replayed create can find the already created
open again.

This is automatically deleted once the first use
of the file handle is happening (triggered by
the lookup for the file-id).

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 4370bda3c0f35c1cc9b45a004bb829b1d69a4e38)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11779
2016-03-14 10:02:14 +01:00
Michael Adam
42a81bf162 librpc:smbXsrv.idl: add flags to smbXsrv_open
These flags reflect the need for and state of the replay cache.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 1eb5f1e42276999f0f4fc73cac03a188fb6d83e9)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11779
2016-03-14 10:02:14 +01:00
Michael Adam
19d66b4713 smbd:smb2: allow the REPLAY_OPERATION flag for SMB3+ requests
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 6251d926e0cdd37ed312f7dc78ce2735e979c25f)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11779
2016-03-14 10:02:14 +01:00
Michael Adam
1938d56aa2 torture:smb2: add smb2.replay.replay-dhv2-lease3
create with a lease, and replay with lease
with a different lease key.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 1b804d6f93fec74af45e89465fc7316917a3b64f)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11779
2016-03-14 10:02:14 +01:00
Michael Adam
fc3c842205 torture:smb2: add smb2.replay.replay-oplock-lease
create with an oplock, and replay with a lease.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 1c772984c64e79b3da9851be29a26714ed209343)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11779
2016-03-14 10:02:14 +01:00
Michael Adam
9323ec5bd7 torture:smb2: add smb2.replay.replay-dhv2-lease-oplock
Open with a lease and replay with an oplock.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 2036e1d27b7dde091531c4a8a516212e4b489df2)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11779
2016-03-14 10:02:14 +01:00
Michael Adam
ef65682839 torture:smb2: add smb2.replay.replay-dhv2-lease2
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 6eeabe43a2378a832dc21a1d8acdaf18b0dbc889)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11779
2016-03-14 10:02:14 +01:00
Michael Adam
e2e2546c4b torture:smb2: add smb2.replay.replay-dhv2-lease1
This is a variant of the replay-dhv2-oplock1 test for leases
instead of for oplocks.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit de678ebcdfda49d373d6151d362074ad66bf280e)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11779
2016-03-14 10:02:14 +01:00
Michael Adam
b59ff11731 torture:smb2:replay: extend CHECK_CREATE_OUT() to know leases
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 6eac2ae984c244d9e92876bf29a18a3807352277)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11779
2016-03-14 10:02:14 +01:00
Michael Adam
1efc89da06 torture:smb2: split rename2 into multiple tests and extend these
- replay-regular
- replay-dhv2-oplock1
- replay-dhv2-oplock2
- replay-dhv2-oplock3

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 9ac9d286b4584388b10d2c6247094aed8b0e68a6)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11779
2016-03-14 10:02:14 +01:00
Michael Adam
d601af8a7c torture:smb2: rename replay1 -> replay-commands
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 9ebf079b00b642c5df47fecffc3ff1fc96525235)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11779
2016-03-14 10:02:14 +01:00
Michael Adam
26577dbbaa torture:smb2: skip replay4 if server does not support multi-channel
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Wed Mar  2 20:38:49 CET 2016 on sn-devel-144

(cherry picked from commit f24567e9fd6ad5925691df2ebc23cfd8a127c5a8)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11779
2016-03-14 10:02:14 +01:00
Michael Adam
2d82282164 smbd: fix crash in smbXsrv_client_global_remove()
Probably copy-n-paste error.
Uncovered by the multi-channel-related tests we're
currently writing to exercise this code more.

Pair-Programmed-With: Guenther Deschner <gd@samba.org>

Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 04265199b389a7b38c3047985da68e8442a0b746)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11779
2016-03-14 10:02:14 +01:00
Michael Adam
5782344a57 netlogon_creds_cli: use dbwrap_purge instead of dbwrap_delete where appropriate
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit bebd35f439229b9363dfc2f4ae5744103ba80740)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11779
2016-03-14 10:02:13 +01:00
Michael Adam
5b439f51f0 s3:registry: use dbwrap_purge_bystring instead of dbwrap_delete_bystring
where appropriate

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 8f158bab9f8dbdbdb460258a08a15d0d6c41cbac)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11779
2016-03-14 10:02:13 +01:00
Michael Adam
c0fc2c38fc dbwrap: add dbwrap_purge[_bystring]
Variants of dbrwap_delete[_bysrting] that treats NOT FOUND
as success.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 366b51a8ff30132185ff126e2cdd51801b07e6f4)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11779
2016-03-14 10:02:13 +01:00
Michael Adam
a5a7947edf dbwrap_util: improve a debug message in dbwrap_delete_action()
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit d4408c495be851c684e7b4b5ff56e5eb82f16c06)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11779
2016-03-14 10:02:13 +01:00
Michael Adam
b882ed1abe torture:smb2: fix skip message if share is not CA
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 6d008556722a5bca73e5881345497ec8f97595dd)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11779
2016-03-14 10:02:13 +01:00
Michael Adam
d019891529 torture:smb2: skip replay5 test if server does not support persistent handles
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit cd3ee2a2aa46cb49e14c451ea8ee64039e5b8fa6)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11779
2016-03-14 10:02:13 +01:00
Michael Adam
d3a024a4f0 torture:smb2: skip replay3 if server does not support Multi-Channel
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 95835b9280f8b191245786305b43ae802886ee01)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11779
2016-03-14 10:02:13 +01:00
Michael Adam
d3206e9cbe smbd:smb2_creat: remove outdated TODO comments
Leases have meanwhile been implemented and the
TODO has been taken care of.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allson <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sun Feb 28 08:16:26 CET 2016 on sn-devel-144

(cherry picked from commit abd8b182447fce6dc1436e8ff3907b871705d7e0)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11779
2016-03-14 10:02:13 +01:00
Michael Adam
d0db200bc3 smbXsrv_client: factor fetch-locking of global record into function
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 0fe29f66326e9a39254fdc2fd255075e5055eeb6)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11779
2016-03-14 10:02:13 +01:00
Michael Adam
8d8e111c93 smbXsrv_session: factor fetch-locking of local record into function
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit aaddde12d997c7d35b1e76709afd310990dc9cdb)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11779
2016-03-14 10:02:13 +01:00
Michael Adam
7bbdd9ac57 smbXsrv_session: factor fetch-locking of global record into function
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 37eba9006e95235785d851f4d4c8110bf77e2b64)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11779
2016-03-14 10:02:13 +01:00
Michael Adam
3eec659bd6 smbXsrv_tcon: factor fetch-locking of local record into function
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit a9dcbd09801ab19c2abdb803c730120bd20d8175)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11779
2016-03-14 10:02:13 +01:00
Michael Adam
d5d58b902f smbXsrv_tcon: factor fetch-locking of global record into function
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit a5e4f14c3b132c886cda2ab4cc14f1f764ff04eb)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11779
2016-03-14 10:02:13 +01:00
Michael Adam
6c78c8d496 smbXsrv_open: factor fetch-locking of local record into function
smbXsrv_open_local_fetch_locked()

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Feb 26 22:35:28 CET 2016 on sn-devel-144

(cherry picked from commit bba426dbbbe0e4aebd99b78cff037eac754aa282)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11779
2016-03-14 10:02:13 +01:00
Michael Adam
c3fcfadf02 smbXsrv_open: factor fetch-locking of global record into function
smbXsrv_open_global_fetch_locked()

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 7b8cfa1cbc2738f798fad748ea40c029d99814a0)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11779
2016-03-14 10:02:13 +01:00
Michael Adam
0b6c3b5050 torture:smb2: improve torture_comments in connect test
Signed-off-by: Michael Adam <obnox@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Feb 23 04:50:53 CET 2016 on sn-devel-144

(cherry picked from commit fb0d6244278baa97c35101480b18640796f86bf1)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11779
2016-03-14 10:02:12 +01:00
Michael Adam
141605e5ea torture:smb2: fix memory leak in connect test.
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 78d7b23f2f55ebdc3ed2a2abdd68a294a8ef99f7)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11779
2016-03-14 10:02:12 +01:00
Michael Adam
cf7a4e1b5e torture:smb2: rewrite connect test to use torture_asserts for create errors
let torture_smb2_createfile propagate errors

Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 4d9484e7c40cb3c3517538348fda521dafcd2f9a)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11779
2016-03-14 10:02:12 +01:00
Michael Adam
2dd63e5beb torture:smb2: rewrite connect test to use torture_asserts
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 358c09b899f62b6f9ac9693b9101639c0cde8d3f)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11779
2016-03-14 10:02:12 +01:00
Günther Deschner
95c7f0f6fa s4-torture: let smb2.replay.replay4 test deal with scale out shares.
Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 32e545ecea4f217c8b723fbea5d9131573a50488)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11779
2016-03-14 10:02:12 +01:00