1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-15 23:24:37 +03:00

12 Commits

Author SHA1 Message Date
James Peach
daba3f8b54 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.
(This used to be commit e1bfdc17c49da582cdf907e260301ab1946b2ed3)
2007-12-09 13:28:00 -08:00
Volker Lendecke
734025012f Fix an uninitialized variable
(This used to be commit e8b866ad87476ef69c06993d255269ce9fba3121)
2007-11-22 16:00:13 +01:00
Volker Lendecke
f976f5e067 Convert ctdb_conn.c to enum ndr_error_code
Fix the build
(This used to be commit 432d0e9cb2370e52f7d4cb58d2da747e526403e8)
2007-11-11 09:12:37 +01:00
Jeremy Allison
30191d1a57 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.
(This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
2007-10-18 17:40:25 -07:00
Volker Lendecke
33fd077575 r25323: Fix the build
(This used to be commit e55b30ab8417cb36def8e4d8b8f6ba16b4e664c1)
2007-10-10 12:30:59 -05:00
Volker Lendecke
a116d7c7d9 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.
(This used to be commit 0a55880a240b619810371a19144dd0a75208adfe)
2007-10-10 12:30:20 -05:00
Volker Lendecke
7c257b2214 r24031: Fix some 64 bit warnings
(This used to be commit c0fd9a14cf4f2a4334a8cae22248e7831ffa6bcf)
2007-10-10 12:28:57 -05:00
Stefan Metzmacher
12324f017c r24025: packet_send() expects DATA_BLOB elements as vaargs
and not TDB_DATA

metze
(This used to be commit 3e4f552dbdd065fd7934d646e34199b52f486d5d)
2007-10-10 12:28:57 -05:00
Stefan Metzmacher
894a02ef4d r23863: handle NT_STATUS_RETRY and always print out the NTSTATUS string
before calling ctdb_fatal()

metze
(This used to be commit 48ece3c21e3a5e9aa434c847eefaab59274a4e6f)
2007-10-10 12:28:35 -05:00
Andrew Tridgell
5e54558c6d r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10 12:28:22 -05:00
Jeremy Allison
d824b98f80 r23779: Change from v2 or later to v3 or later.
Jeremy.
(This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10 12:28:20 -05:00
Volker Lendecke
de565785f5 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
(This used to be commit 15553d6327a3aecdd2b0b94a3656d04bf4106323)
2007-10-10 12:23:14 -05:00