bbaumbach/samba-autobuild/.git
2 years agothird_party: Add the Intel Add support for AES-NI acceleration.
Jeremy Allison [Wed, 6 Sep 2017 16:44:42 +0000 (09:44 -0700)]
third_party: Add the Intel Add support for AES-NI acceleration.

This commit takes the Linux kernel AES-NI code, and puts it into a
third_party private library. The Linux kernel code is under GPLv2+
so is compatible with Samba.

This can result in massive speed improvements (up to 200% on some
platforms), by using Intel AES-NI instructions.

These are the pristine check-ins of Linux kernel files for Intel AESNI crypto.

git show 8691ccd764f9ecc69a6812dfe76214c86ac9ba06:arch/x86/crypto/aesni-intel_asm.S
git show 2baad6121e2b2fa3428ee6cb2298107be11ab23a:arch/x86/include/asm/inst.h

Show the exact Linux kernel git refspecs we have imported.

These files are not yet used.

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

Based on original work by Justin Maggard <jmaggard@netgear.com>

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2 years agopython: Enable execution of samba.tests.security with Python 3.
Lumir Balhar [Tue, 8 Aug 2017 06:50:35 +0000 (08:50 +0200)]
python: Enable execution of samba.tests.security with Python 3.

Signed-off-by: Lumir Balhar <lbalhar@redhat.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Sep  6 15:29:58 CEST 2017 on sn-devel-144

2 years agopython: Fix bad type in conversion of NTSTATUS.
Lumir Balhar [Wed, 6 Sep 2017 07:27:02 +0000 (09:27 +0200)]
python: Fix bad type in conversion of NTSTATUS.

More info: https://lists.samba.org/archive/samba-technical/2017-August/122574.html

Signed-off-by: Lumir Balhar <lbalhar@redhat.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
2 years agopython: Add tests for check_access function from samba.security.
Lumir Balhar [Tue, 8 Aug 2017 06:48:28 +0000 (08:48 +0200)]
python: Add tests for check_access function from samba.security.

Signed-off-by: Lumir Balhar <lbalhar@redhat.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
2 years agopython: Port samba.security to Python 3 compatible form.
Lumir Balhar [Mon, 22 May 2017 13:21:08 +0000 (15:21 +0200)]
python: Port samba.security to Python 3 compatible form.

Signed-off-by: Lumir Balhar <lbalhar@redhat.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
2 years agopython:samba: Add code to remove obsolete files in the private dir
Andreas Schneider [Wed, 23 Aug 2017 13:36:23 +0000 (15:36 +0200)]
python:samba: Add code to remove obsolete files in the private dir

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlet <abartlet@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Sep  6 03:54:19 CEST 2017 on sn-devel-144

2 years agopython:samba: Use 'binddns dir' in samba-tool and samba_upgradedns
Andreas Schneider [Thu, 10 Aug 2017 13:37:54 +0000 (15:37 +0200)]
python:samba: Use 'binddns dir' in samba-tool and samba_upgradedns

This provisions the bind_dlz files in the 'binddns dir'. If you want to
migrate to the new files strcuture you can run samba_upgradedns!

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlet <abartlet@samba.org>
2 years agos4:bind_dlz: Use the 'binddns dir' if possible
Andreas Schneider [Tue, 22 Aug 2017 15:10:01 +0000 (17:10 +0200)]
s4:bind_dlz: Use the 'binddns dir' if possible

The code makes sure we are backwards compatible. It will first check if
we still have files in the private directory, if yes it will use those.

If the the file is not in the private directory it will try the binddns
dir.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlet <abartlet@samba.org>
2 years agoparam: Add 'binddns dir' parameter
Andreas Schneider [Thu, 10 Aug 2017 13:04:08 +0000 (15:04 +0200)]
param: Add 'binddns dir' parameter

This allows to us to have restricted access to the directory by the group
'named' which bind is a member of.

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlet <abartlet@samba.org>
2 years agopython:samba: Remove code to change group
Andreas Schneider [Fri, 11 Aug 2017 10:45:14 +0000 (12:45 +0200)]
python:samba: Remove code to change group

This is the wrong place, it will just prepare the ldif. The file is not
created here.

The code is corrently changing the group in:
    python/samba/provision/__init__.py

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlet <abartlet@samba.org>
2 years agodynconfig: Change permission of the private dir to 0700
Andreas Schneider [Thu, 10 Aug 2017 09:43:11 +0000 (11:43 +0200)]
dynconfig: Change permission of the private dir to 0700

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlet <abartlet@samba.org>
2 years agocli_credentials: Fix a return value
Volker Lendecke [Tue, 5 Sep 2017 14:43:18 +0000 (16:43 +0200)]
cli_credentials: Fix a return value

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Sep  5 23:06:42 CEST 2017 on sn-devel-144

2 years agolib: Fix 1417431 Unchecked return value from library
Volker Lendecke [Tue, 5 Sep 2017 11:17:54 +0000 (13:17 +0200)]
lib: Fix 1417431 Unchecked return value from library

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2 years agoRemove misleading entry from vfs_streams_xattr man page
Anoop C S [Thu, 31 Aug 2017 12:00:46 +0000 (17:30 +0530)]
Remove misleading entry from vfs_streams_xattr man page

The line which is being removed says that streams_xattr vfs module
cannot be used when kernel oplocks is enabled. But the underlying
bug(#7537) and another dependant bug(#12791) has been resolved
sometime back.

Signed-off-by: Anoop C S <anoopcs@redhat.com>
Reviewed-by: Ralph Böhme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2 years agomessaging: Avoid a socket leak after fork
Volker Lendecke [Wed, 30 Aug 2017 15:49:54 +0000 (17:49 +0200)]
messaging: Avoid a socket leak after fork

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

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Tue Sep  5 19:12:34 CEST 2017 on sn-devel-144

2 years agoctdb-protocol: Fix CID 1417428
Amitay Isaacs [Tue, 5 Sep 2017 06:36:16 +0000 (16:36 +1000)]
ctdb-protocol: Fix CID 1417428

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): Tue Sep  5 15:16:06 CEST 2017 on sn-devel-144

2 years agoctdb-protocol: Fix CID 1417430
Amitay Isaacs [Tue, 5 Sep 2017 06:34:27 +0000 (16:34 +1000)]
ctdb-protocol: Fix CID 1417430

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix CID 1417433
Amitay Isaacs [Tue, 5 Sep 2017 06:33:58 +0000 (16:33 +1000)]
ctdb-protocol: Fix CID 1417433

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agovfs_gpfs: Request DENY_DELETE sharemode when possible
Christof Schmitt [Wed, 23 Aug 2017 19:37:08 +0000 (12:37 -0700)]
vfs_gpfs: Request DENY_DELETE sharemode when possible

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Mon Sep  4 14:08:45 CEST 2017 on sn-devel-144

2 years agovfs_gpfs: Do not map DELETE sharemode access to WRITE
Christof Schmitt [Wed, 23 Aug 2017 17:33:42 +0000 (10:33 -0700)]
vfs_gpfs: Do not map DELETE sharemode access to WRITE

A SMB client can deny the WRITE sharemode, but still grant the DELETE
sharemode. Mapping the requested DELETE access to WRITE access breaks
this case. Fix this by removing the incorrect mapping from DELETE access
to WRITE access.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
2 years agoctdb-client: Use sock_client abstraction for eventd client
Amitay Isaacs [Thu, 29 Jun 2017 06:25:57 +0000 (16:25 +1000)]
ctdb-client: Use sock_client abstraction for eventd client

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 Sep  1 12:49:27 CEST 2017 on sn-devel-144

2 years agoctdb-common: Add sock_client abstraction
Amitay Isaacs [Thu, 29 Jun 2017 05:10:11 +0000 (15:10 +1000)]
ctdb-common: Add sock_client abstraction

This sets up boilerplate required for a client code connecting to a
server over unix domain socket.  The communication between client
and server is "request" from client to server and "reply" from
server to client.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Drop struct ctdb_event_header
Amitay Isaacs [Mon, 10 Jul 2017 16:16:24 +0000 (02:16 +1000)]
ctdb-protocol: Drop struct ctdb_event_header

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Replace ctdb_event_header with sock_packet_header
Amitay Isaacs [Mon, 10 Jul 2017 08:35:12 +0000 (18:35 +1000)]
ctdb-protocol: Replace ctdb_event_header with sock_packet_header

This removes the static declaration and adds prototype declarations
of ctdb_event_header marshalling functions to avoid compiler warnings.
These functions will be removed.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Add a generic packet header
Amitay Isaacs [Fri, 7 Jul 2017 07:21:54 +0000 (17:21 +1000)]
ctdb-protocol: Add a generic packet header

This will avoid duplication when new daemons (and new client-server
protocols) are created out of the main ctdb daemon.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-common: Parse IPv4-mapped IPv6 addresses into IPv4 addresses
Martin Schwenke [Wed, 1 Mar 2017 06:22:22 +0000 (17:22 +1100)]
ctdb-common: Parse IPv4-mapped IPv6 addresses into IPv4 addresses

Tools like ctdb_killtcp can't route packets to IPv4-mapped IPv6
addresses so this works around that.

Add a test case to confirm that this works.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Fri Sep  1 04:06:32 CEST 2017 on sn-devel-144

2 years agoctdb-tests: Improve releaseip connection resetting tests
Martin Schwenke [Tue, 22 Aug 2017 06:37:30 +0000 (16:37 +1000)]
ctdb-tests: Improve releaseip connection resetting tests

Make the tests more general by setting up the IP address using a
"takeip" event.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
2 years agoctdb-tests: Add tests to ensure reset of server end of connections
Martin Schwenke [Thu, 27 Jul 2017 07:15:58 +0000 (17:15 +1000)]
ctdb-tests: Add tests to ensure reset of server end of connections

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
2 years agoctdb-tools: Remove broken natgwlist command
Martin Schwenke [Wed, 30 Aug 2017 04:48:19 +0000 (14:48 +1000)]
ctdb-tools: Remove broken natgwlist command

The replacement was documented for Samba 4.5, so this is not worth fixing.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
2 years agoctdb-tests: Drop onnode test README file and buggy onnode example
Martin Schwenke [Thu, 31 Aug 2017 07:00:03 +0000 (17:00 +1000)]
ctdb-tests: Drop onnode test README file and buggy onnode example

These are of no value.  The test system is documented elsewhere.  An
old version of onnode can always be retrieved from git.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
2 years agoctdb-tests: Shutdown local daemons unconditionally
Amitay Isaacs [Fri, 18 Aug 2017 11:33:33 +0000 (21:33 +1000)]
ctdb-tests: Shutdown local daemons unconditionally

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agopthreadpool: Test fork with an active thread
Volker Lendecke [Tue, 29 Aug 2017 19:57:54 +0000 (21:57 +0200)]
pthreadpool: Test fork with an active thread

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13006
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Thu Aug 31 21:34:57 CEST 2017 on sn-devel-144

2 years agopthreadpool: Fix fork behaviour
Volker Lendecke [Mon, 28 Aug 2017 14:38:19 +0000 (16:38 +0200)]
pthreadpool: Fix fork behaviour

glibc's pthread_cond_wait(&c, &m) increments m.__data.__nusers, making
pthread_mutex_destroy return EBUSY. Thus we can't allow any thread waiting for
a job across a fork. Also, the state of the condvar itself is unclear across a
fork. Right now to me it looks like an initialized but unused condvar can be
used in the child. Busy worker threads don't cause any trouble here, they don't
hold mutexes or condvars. Also, they can't reach the condvar because _prepare
holds all mutexes.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13006
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2 years agowinbind: Rename winbindd_cm_conn->netlogon_creds to _ctx
Volker Lendecke [Fri, 25 Aug 2017 11:26:08 +0000 (13:26 +0200)]
winbind: Rename winbindd_cm_conn->netlogon_creds to _ctx

We have too many variables called _creds :-)

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Wed Aug 30 22:44:45 CEST 2017 on sn-devel-144

2 years agowinbind: Fix a signed/unsigned hickup
Volker Lendecke [Tue, 29 Aug 2017 08:21:05 +0000 (10:21 +0200)]
winbind: Fix a signed/unsigned hickup

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2 years agoctdb-tests: Drop unused test template
Amitay Isaacs [Wed, 9 Aug 2017 01:09:47 +0000 (11:09 +1000)]
ctdb-tests: Drop unused test template

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): Wed Aug 30 18:55:42 CEST 2017 on sn-devel-144

2 years agoctdb-protocol: Fix marshalling of ctdb_event_reply
Amitay Isaacs [Mon, 7 Aug 2017 08:00:04 +0000 (18:00 +1000)]
ctdb-protocol: Fix marshalling of ctdb_event_reply

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_event_request
Amitay Isaacs [Mon, 7 Aug 2017 07:55:50 +0000 (17:55 +1000)]
ctdb-protocol: Fix marshalling for ctdb_event_request

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_event_header
Amitay Isaacs [Wed, 26 Jul 2017 15:51:40 +0000 (01:51 +1000)]
ctdb-protocol: Fix marshalling for ctdb_event_header

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_event_reply_data
Amitay Isaacs [Wed, 26 Jul 2017 15:48:51 +0000 (01:48 +1000)]
ctdb-protocol: Fix marshalling for ctdb_event_reply_data

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_event_reply_script_list
Amitay Isaacs [Wed, 26 Jul 2017 15:45:44 +0000 (01:45 +1000)]
ctdb-protocol: Fix marshalling for ctdb_event_reply_script_list

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshaling for ctdb_event_reply_status
Amitay Isaacs [Wed, 26 Jul 2017 15:43:54 +0000 (01:43 +1000)]
ctdb-protocol: Fix marshaling for ctdb_event_reply_status

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_event_request_data
Amitay Isaacs [Wed, 26 Jul 2017 15:41:58 +0000 (01:41 +1000)]
ctdb-protocol: Fix marshalling for ctdb_event_request_data

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_event_request_script_disable
Amitay Isaacs [Wed, 26 Jul 2017 15:36:56 +0000 (01:36 +1000)]
ctdb-protocol: Fix marshalling for ctdb_event_request_script_disable

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_event_request_script_enable
Amitay Isaacs [Wed, 26 Jul 2017 15:35:20 +0000 (01:35 +1000)]
ctdb-protocol: Fix marshalling for ctdb_event_request_script_enable

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_event_request_status
Amitay Isaacs [Wed, 26 Jul 2017 15:33:45 +0000 (01:33 +1000)]
ctdb-protocol: Fix marshalling for ctdb_event_request_status

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_event_request_run
Amitay Isaacs [Wed, 26 Jul 2017 15:32:10 +0000 (01:32 +1000)]
ctdb-protocol: Fix marshalling for ctdb_event_request_run

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_event_status_state
Amitay Isaacs [Wed, 26 Jul 2017 15:30:17 +0000 (01:30 +1000)]
ctdb-protocol: Fix marshalling for ctdb_event_status_state

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_event_command
Amitay Isaacs [Wed, 26 Jul 2017 15:28:43 +0000 (01:28 +1000)]
ctdb-protocol: Fix marshalling for ctdb_event_command

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_event
Amitay Isaacs [Wed, 26 Jul 2017 15:26:43 +0000 (01:26 +1000)]
ctdb-protocol: Fix marshalling for ctdb_event

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-tests: Add test templates for eventd protocol elements
Amitay Isaacs [Fri, 4 Aug 2017 07:34:14 +0000 (17:34 +1000)]
ctdb-tests: Add test templates for eventd protocol elements

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-tests: Remove unused #defines
Amitay Isaacs [Wed, 16 Aug 2017 02:49:24 +0000 (12:49 +1000)]
ctdb-tests: Remove unused #defines

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Add marshalling for ctdb_req_keepalive
Amitay Isaacs [Wed, 28 Jun 2017 06:50:53 +0000 (16:50 +1000)]
ctdb-protocol: Add marshalling for ctdb_req_keepalive

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_req_message_data
Amitay Isaacs [Fri, 21 Jul 2017 05:21:01 +0000 (15:21 +1000)]
ctdb-protocol: Fix marshalling for ctdb_req_message_data

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_req_message
Amitay Isaacs [Fri, 21 Jul 2017 05:07:30 +0000 (15:07 +1000)]
ctdb-protocol: Fix marshalling for ctdb_req_message

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_message_data
Amitay Isaacs [Fri, 21 Jul 2017 04:40:01 +0000 (14:40 +1000)]
ctdb-protocol: Fix marshalling for ctdb_message_data

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_reply_control
Amitay Isaacs [Thu, 3 Aug 2017 08:05:41 +0000 (18:05 +1000)]
ctdb-protocol: Fix marshalling for ctdb_reply_control

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_req_control
Amitay Isaacs [Thu, 3 Aug 2017 08:00:24 +0000 (18:00 +1000)]
ctdb-protocol: Fix marshalling for ctdb_req_control

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_reply_control_data
Amitay Isaacs [Thu, 3 Aug 2017 06:32:55 +0000 (16:32 +1000)]
ctdb-protocol: Fix marshalling for ctdb_reply_control_data

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_req_control_data
Amitay Isaacs [Wed, 26 Jul 2017 16:20:03 +0000 (02:20 +1000)]
ctdb-protocol: Fix marshalling for ctdb_req_control_data

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_reply_dmaster
Amitay Isaacs [Wed, 19 Jul 2017 05:08:21 +0000 (15:08 +1000)]
ctdb-protocol: Fix marshalling for ctdb_reply_dmaster

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_req_dmaster
Amitay Isaacs [Wed, 19 Jul 2017 04:58:21 +0000 (14:58 +1000)]
ctdb-protocol: Fix marshalling for ctdb_req_dmaster

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_reply_error
Amitay Isaacs [Wed, 19 Jul 2017 04:41:45 +0000 (14:41 +1000)]
ctdb-protocol: Fix marshalling for ctdb_reply_error

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_reply_call
Amitay Isaacs [Wed, 19 Jul 2017 04:36:45 +0000 (14:36 +1000)]
ctdb-protocol: Fix marshalling for ctdb_reply_call

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_req_call
Amitay Isaacs [Wed, 19 Jul 2017 04:30:47 +0000 (14:30 +1000)]
ctdb-protocol: Fix marshalling for ctdb_req_call

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_req_header
Amitay Isaacs [Wed, 19 Jul 2017 01:12:08 +0000 (11:12 +1000)]
ctdb-protocol: Fix marshalling for ctdb_req_header

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-tests: Add compatibility test for ctdb protocol elements
Amitay Isaacs [Tue, 15 Aug 2017 05:41:26 +0000 (15:41 +1000)]
ctdb-tests: Add compatibility test for ctdb protocol elements

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-tests: Add test templates for ctdb protocol elements
Amitay Isaacs [Wed, 2 Aug 2017 09:13:52 +0000 (19:13 +1000)]
ctdb-tests: Add test templates for ctdb protocol elements

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_g_lock_list
Amitay Isaacs [Thu, 13 Jul 2017 05:27:17 +0000 (15:27 +1000)]
ctdb-protocol: Fix marshalling for ctdb_g_lock_list

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_g_lock
Amitay Isaacs [Thu, 13 Jul 2017 05:22:08 +0000 (15:22 +1000)]
ctdb-protocol: Fix marshalling for ctdb_g_lock

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_server_id
Amitay Isaacs [Thu, 13 Jul 2017 05:15:25 +0000 (15:15 +1000)]
ctdb-protocol: Fix marshalling for ctdb_server_id

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_disable_message
Amitay Isaacs [Thu, 13 Jul 2017 05:09:31 +0000 (15:09 +1000)]
ctdb-protocol: Fix marshalling for ctdb_disable_message

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_srvid_message
Amitay Isaacs [Thu, 13 Jul 2017 05:01:37 +0000 (15:01 +1000)]
ctdb-protocol: Fix marshalling for ctdb_srvid_message

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_election_message
Amitay Isaacs [Thu, 13 Jul 2017 04:56:50 +0000 (14:56 +1000)]
ctdb-protocol: Fix marshalling for ctdb_election_message

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_db_statistics
Amitay Isaacs [Wed, 26 Jul 2017 15:00:51 +0000 (01:00 +1000)]
ctdb-protocol: Fix marshalling for ctdb_db_statistics

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_key_data
Amitay Isaacs [Wed, 12 Jul 2017 09:05:13 +0000 (19:05 +1000)]
ctdb-protocol: Fix marshalling for ctdb_key_data

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_statistics_list
Amitay Isaacs [Wed, 26 Jul 2017 04:43:02 +0000 (14:43 +1000)]
ctdb-protocol: Fix marshalling for ctdb_statistics_list

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_public_ip_info
Amitay Isaacs [Wed, 12 Jul 2017 08:52:56 +0000 (18:52 +1000)]
ctdb-protocol: Fix marshalling for ctdb_public_ip_info

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_iface_list
Amitay Isaacs [Wed, 12 Jul 2017 08:45:42 +0000 (18:45 +1000)]
ctdb-protocol: Fix marshalling for ctdb_iface_list

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_iface
Amitay Isaacs [Wed, 12 Jul 2017 08:38:19 +0000 (18:38 +1000)]
ctdb-protocol: Fix marshalling for ctdb_iface

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_notify_data
Amitay Isaacs [Wed, 12 Jul 2017 08:29:12 +0000 (18:29 +1000)]
ctdb-protocol: Fix marshalling for ctdb_notify_data

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_ban_state
Amitay Isaacs [Wed, 12 Jul 2017 08:24:34 +0000 (18:24 +1000)]
ctdb-protocol: Fix marshalling for ctdb_ban_state

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_script_list
Amitay Isaacs [Wed, 12 Jul 2017 08:18:29 +0000 (18:18 +1000)]
ctdb-protocol: Fix marshalling for ctdb_script_list

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_script
Amitay Isaacs [Wed, 12 Jul 2017 07:59:02 +0000 (17:59 +1000)]
ctdb-protocol: Fix marshalling for ctdb_script

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_node_map
Amitay Isaacs [Thu, 6 Jul 2017 04:25:58 +0000 (14:25 +1000)]
ctdb-protocol: Fix marshalling for ctdb_node_map

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_node_and_flags
Amitay Isaacs [Thu, 6 Jul 2017 04:18:02 +0000 (14:18 +1000)]
ctdb-protocol: Fix marshalling for ctdb_node_and_flags

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_public_ip_list
Amitay Isaacs [Thu, 6 Jul 2017 04:12:57 +0000 (14:12 +1000)]
ctdb-protocol: Fix marshalling for ctdb_public_ip_list

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_public_ip
Amitay Isaacs [Thu, 6 Jul 2017 04:04:51 +0000 (14:04 +1000)]
ctdb-protocol: Fix marshalling for ctdb_public_ip

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_uptime
Amitay Isaacs [Thu, 6 Jul 2017 05:34:51 +0000 (15:34 +1000)]
ctdb-protocol: Fix marshalling for ctdb_uptime

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_transdb
Amitay Isaacs [Wed, 5 Jul 2017 07:51:03 +0000 (17:51 +1000)]
ctdb-protocol: Fix marshalling for ctdb_transdb

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_addr_info
Amitay Isaacs [Tue, 4 Jul 2017 08:12:04 +0000 (18:12 +1000)]
ctdb-protocol: Fix marshalling for ctdb_addr_info

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_tickle_list
Amitay Isaacs [Tue, 4 Jul 2017 07:56:12 +0000 (17:56 +1000)]
ctdb-protocol: Fix marshalling for ctdb_tickle_list

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_tunable_list
Amitay Isaacs [Wed, 26 Jul 2017 05:30:19 +0000 (15:30 +1000)]
ctdb-protocol: Fix marshalling for ctdb_tunable_list

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_var_list
Amitay Isaacs [Thu, 29 Jun 2017 15:28:26 +0000 (01:28 +1000)]
ctdb-protocol: Fix marshalling for ctdb_var_list

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_node_flag_change
Amitay Isaacs [Thu, 29 Jun 2017 14:42:53 +0000 (00:42 +1000)]
ctdb-protocol: Fix marshalling for ctdb_node_flag_change

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_tunable
Amitay Isaacs [Thu, 29 Jun 2017 14:36:18 +0000 (00:36 +1000)]
ctdb-protocol: Fix marshalling for ctdb_tunable

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_connection
Amitay Isaacs [Thu, 29 Jun 2017 14:31:21 +0000 (00:31 +1000)]
ctdb-protocol: Fix marshalling for ctdb_connection

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_sock_addr
Amitay Isaacs [Tue, 18 Jul 2017 07:12:37 +0000 (17:12 +1000)]
ctdb-protocol: Fix marshalling for ctdb_sock_addr

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_traverse_all_ext
Amitay Isaacs [Thu, 29 Jun 2017 14:24:40 +0000 (00:24 +1000)]
ctdb-protocol: Fix marshalling for ctdb_traverse_all_ext

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2 years agoctdb-protocol: Fix marshalling for ctdb_traverse_start_ext
Amitay Isaacs [Thu, 29 Jun 2017 14:16:58 +0000 (00:16 +1000)]
ctdb-protocol: Fix marshalling for ctdb_traverse_start_ext

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