1
0
mirror of https://github.com/samba-team/samba.git synced 2025-06-18 19:17:08 +03:00

14 Commits

Author SHA1 Message Date
Volker Lendecke
46e50da0d5 Use right control to attach to persistent databases
This is a merge of 2a8f8b26f08ab09c34dff82417e541d8eb1ec91c and
4e6508dfee0d872a7fa42c9e58ba565137a27b3f from 3-0-ctdb
2008-03-17 14:56:45 +01:00
Alexander Bokovoy
0c8e23afbb Merge CTDB-related fixes from samba-ctdb 3.0 branch (http://samba.org/~tridge/3_0-ctdb)
Signed-off-by: Alexander Bokovoy <ab@samba.org>
2008-01-16 12:09:48 +03:00
James Peach
e1bfdc17c4 Fix connect(2) callers to use correct sockaddr size.
Some systems (eg Mac OSX 10.5) require the length passed to match
the socket address family. This introduces sys_connect() that does
the right thing, and replaces all uses oc connect(2) with sys_connect().

Note that there are some LGPL callers that still call connect(2)
directly.
2007-12-09 13:28:00 -08:00
Volker Lendecke
e8b866ad87 Fix an uninitialized variable 2007-11-22 16:00:13 +01:00
Volker Lendecke
432d0e9cb2 Convert ctdb_conn.c to enum ndr_error_code
Fix the build
2007-11-11 09:12:37 +01:00
Jeremy Allison
f35a266b3c RIP BOOL. Convert BOOL -> bool. I found a few interesting
bugs in various places whilst doing this (places that assumed
BOOL == int). I also need to fix the Samba4 pidl generation
(next checkin).
Jeremy.
2007-10-18 17:40:25 -07:00
Volker Lendecke
e55b30ab84 r25323: Fix the build 2007-10-10 12:30:59 -05:00
Volker Lendecke
0a55880a24 r24773: Fix a ctdb connection lockup
The lockup could happen when packet_read_sync() gets two packets in a row, the
first one being an async message, and the second one being the response to a
ctdb request.

Also add some debug msg to ctdb_conn.c, and cut off the "locking key" messages
to only dump 20 hex chars at debug level 10. >10 will dump everything.
2007-10-10 12:30:20 -05:00
Volker Lendecke
c0fd9a14cf r24031: Fix some 64 bit warnings 2007-10-10 12:28:57 -05:00
Stefan Metzmacher
3e4f552dbd r24025: packet_send() expects DATA_BLOB elements as vaargs
and not TDB_DATA

metze
2007-10-10 12:28:57 -05:00
Stefan Metzmacher
48ece3c21e r23863: handle NT_STATUS_RETRY and always print out the NTSTATUS string
before calling ctdb_fatal()

metze
2007-10-10 12:28:35 -05:00
Andrew Tridgell
b0132e94fc r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text 2007-10-10 12:28:22 -05:00
Jeremy Allison
407e6e695b r23779: Change from v2 or later to v3 or later.
Jeremy.
2007-10-10 12:28:20 -05:00
Volker Lendecke
15553d6327 r23410: Merge the core of the cluster code.
I'm 100% certain I've forgotten to merge something, but the main code
should be in. It's mainly in dbwrap_ctdb.c, ctdbd_conn.c and
messages_ctdbd.c.

There should be no changes to the non-cluster case, it does survive make
test on my laptop.

It survives some very basic tests with ctdbd enables, I did not do the
full test suite for clusters yet.

Phew...

Volker
2007-10-10 12:23:14 -05:00