1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

113 Commits

Author SHA1 Message Date
Andrew Tridgell
e04e99585c r20944: if a call has been destroyed before a reply comes in then discard the
reply
(This used to be commit 05d19af38c1e75ba65ed2755c6087df1f937ee2a)
2007-10-10 14:43:57 -05:00
Andrew Tridgell
4109edc5b6 r20943: use offsetof() instead of sizeof() - 1 for the packet length
calculations. It will be interesting to see how portable this is.

The advantage over the sizeof() method is that it avoids padding
problems after the data[1] array. That was causing us to get valgrind
errors.
(This used to be commit fd8e46043903d3650f8f33dcab165800f6869b1d)
2007-10-10 14:43:57 -05:00
Andrew Tridgell
efc68d8bf6 r20919: add a function cluster_tdb_tmp_open() which can be used in a cluster
environment for subsystems that have not yet been converted to use
ctdb to get a shared temporary tdb
(This used to be commit 0ed91384497aed6817b2220c31344bfcd45fd033)
2007-10-10 14:43:52 -05:00
Andrew Tridgell
d1b61b09aa r20918: a bit more debugging, and remove the hackish /dev/null writes I used
to track down some uninitialised memory (sometimes valgrind gets the
offset wrong, writing to /dev/null 1 byte at a time avoids this)
(This used to be commit 4bf741b567417231c29606904aea2af0a91c941c)
2007-10-10 14:43:51 -05:00
Stefan Metzmacher
87f5bed98a r20901: - not all compiler like uint8_t data[0] elements!
- this fix looks really ugly but I don't know a better solution...

if we would use uint8_t *data; then we would send the pointer value
also in the network packet and we would need to initialize

s->data = ((void *)(&s->data) + 1;

to make the memcpy statements work as they're currently,
so we use uint8_t data[1] in the struct definition ...

tridge: please review careful!

hopefully fix the build on solaris and HPUX

metze
(This used to be commit 015097677c8a65e9f5a4367f4f89193a4b2de76b)
2007-10-10 14:43:49 -05:00
Stefan Metzmacher
4c719f82c2 r20900: fix compiler warnings
metze
(This used to be commit cb59eae91966e3e493c3c992d2b96965d17dac17)
2007-10-10 14:43:49 -05:00
Andrew Tridgell
faf800d871 r20896: make the maximum lacount configurable in smb.conf
at the moment the brlock_ctdb backend will sometimes fail after
dmaster migrations. So to pass tests this needs to be set high. Thats
a priority to fix.
(This used to be commit 45f5c272f366f6a793941d97c9522c5b2b0cb639)
2007-10-10 14:43:48 -05:00
Andrew Tridgell
aa74e5c9c0 r20893: brlock notifies are currently disabled in the ctdb backend. Use a #if
instead of c++ comments
(This used to be commit a3beff12a522a9b9e0088365d8f2740a1785bff5)
2007-10-10 14:43:47 -05:00
Andrew Tridgell
2e8a95ced7 r20892: add parameter for enabling ctdb self connect
(This used to be commit ba3ce8abe3457a1245fd4746af780c6055d39425)
2007-10-10 14:43:47 -05:00
Andrew Tridgell
5cb78383fa r20889: import ctdb cluster backend from bzr
it will be interesting to see how the build farm handles this
(This used to be commit 53be449630bd67d649a9e70cc7e25a9799c0616b)
2007-10-10 14:43:46 -05:00
Andrew Tridgell
8c3d15f6ca r20888: local cluster backend
(This used to be commit 5530e6effe03615499fbdc5ff2fe663ffa0223a9)
2007-10-10 14:43:45 -05:00
Andrew Tridgell
9d8c44af17 r20887: allow the registration of multiple cluster backends
this is in preparation for ctdb
(This used to be commit 489f022175a1022bcca8053116362825daae5e40)
2007-10-10 14:43:45 -05:00
Andrew Tridgell
f6274959ba r20647: add cluster code
(This used to be commit 5870830b99a8d76bda1ff5af3fcf8dda9aba50ec)
2007-10-10 14:37:24 -05:00