1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-29 21:47:30 +03:00

11549 Commits

Author SHA1 Message Date
Andrew Tridgell
e7d0d22806 r20991: use relative includes for ctdb headers. This works with both
standalone and built-in ctdb
(This used to be commit 3e5f29bddfd83914eeec706367b2b1bd30aba31e)
2007-10-10 14:44:18 -05:00
Andrew Tridgell
8ffc4c430c r20990: check for errors from event_loop_once()
(This used to be commit 6af4557b1306e7e6a23c697cef3467d0f0458531)
2007-10-10 14:44:18 -05:00
Andrew Tridgell
7d184f1f72 r20989: don't mark epoll as set until after the io_submit() succeeds
this is part of the solution to LOCAL-EVENT on fort
(This used to be commit 35f62bc12559e355d4ac73018afe255ea7c5866b)
2007-10-10 14:44:18 -05:00
Andrew Bartlett
d5bbd817fe r20988: Call out to Heimdal's krb5.conf processing to configure many aspects
of KDC behaviour.  This should allow PKINIT to be turned on and
managed with reasonable sanity.

This also means that the krb5.conf in the same directory as the
smb.conf will always have priority in Samba4, which I think will be
useful.

Andrew Bartlett
(This used to be commit a50bbde81b010bc5d06e3fc3417ade44627eb771)
2007-10-10 14:44:18 -05:00
Andrew Bartlett
14503a65ec r20984: Try to ensure we can't have sig_state dissapear before se.
I think this happens when both are eventual children of the autofree context.

(Trying to track down a valgrind error on fort).

Andrew Bartlett
(This used to be commit aee751497ca738fa0de72dd0748590a74d5af2fd)
2007-10-10 14:44:17 -05:00
Volker Lendecke
a80732cf00 r20983: Two no-mem error returns
(This used to be commit 79a0cd3a1bbd3d4ef0c335f398fa8bb8e82c8624)
2007-10-10 14:44:17 -05:00
James Peach
0602d4d7f2 r20981: Fix cut'n'paste error.
(This used to be commit 20dcd6e2416d656e97b8cc060809673a97d5cde6)
2007-10-10 14:44:17 -05:00
Stefan Metzmacher
ea57190d25 r20978: 300 seconds as interval is ok, when we do nothing
metze
(This used to be commit 4d6629c68332985f9122e4591f31ae46250de646)
2007-10-10 14:44:16 -05:00
Stefan Metzmacher
9142a00cb7 r20977: start the 'drepl' service, which currently does nothing by default,
but make it less verbose

metze
(This used to be commit f7e82a0c94fc8996827ea8d8a9b459bcaee029de)
2007-10-10 14:44:16 -05:00
Stefan Metzmacher
c601a9ddcd r20975: - implement handling of meta data an on originating add
there're a few things TODO, but it's a good start

we need to research if an originating change causes the replUpToDateVector
attribute to change...(I assume it, but needs testing)

metze
(This used to be commit fde0aabd9ae79fcefbcba34e6f9143f93ffcf96c)
2007-10-10 14:44:06 -05:00
Stefan Metzmacher
faa9c2374c r20974: add basic infrastructure for a DSDB replication service
not activated yet...

it will handle inbound pull replication and outbound change notification

metze
(This used to be commit 15eae968b8c72b4ce47071012e4110f3b7f3c3bc)
2007-10-10 14:44:06 -05:00
Stefan Metzmacher
eb7596e66b r20973: add functions to create the autocreated subSchema Attributes:
attributeTypes, objectClasses and dITContentRules

this is just a start and doesn't create anything useful yet...

metze
(This used to be commit 4c8b717092c201c30be4d266bbb45b1142a9d627)
2007-10-10 14:44:06 -05:00
Volker Lendecke
67f494d72a r20972: "private" -> "private_data"
(This used to be commit 8cbcd3d1cbb0661b1767bb7ace0804cf9a573e34)
2007-10-10 14:44:05 -05:00
Stefan Metzmacher
6fda023f80 r20971: we don't need this check twice:-)
metze
(This used to be commit b7d48274a7341c5e4a3f103387f87fcc94853271)
2007-10-10 14:44:05 -05:00
Stefan Metzmacher
97666f12a4 r20969: remove unused function, found my lcov
metze
(This used to be commit 0c5eb19ebc12bc954c23e9f561d5f96644a19aca)
2007-10-10 14:44:05 -05:00
Stefan Metzmacher
c84d8124b2 r20968: - add functions to sort the meta data and attribute arrays
- we should use them before we store records to disk

metze
(This used to be commit a5200ef0cae5e8b0cedf196c9d76afc46e08c316)
2007-10-10 14:44:04 -05:00
Jelmer Vernooij
fe938ca91f r20967: Allow pidl tests to work with gcov
(This used to be commit 9da63e362c9d590388c77d882f9dbf54b0aa78cc)
2007-10-10 14:44:04 -05:00
Andrew Bartlett
d2bfa66119 r20964: Show the domain name we figured out, rather than a null pointer (in
some error cases)

Andrew Bartlett
(This used to be commit 4195839d1a6102d7c6ae17c1b1db0418c99c9241)
2007-10-10 14:44:04 -05:00
Jelmer Vernooij
c471abbcfe r20963: remove unused functions, run LOCAL-TDR by default
(This used to be commit 0f34c67fff53d5bd3c1b5a5618190ad7154e8d07)
2007-10-10 14:44:04 -05:00
Jelmer Vernooij
ff7f8b57f1 r20962: Fix lcov
(This used to be commit 3d3d3031c80b56c824ab8a0f3616d564f092a110)
2007-10-10 14:44:03 -05:00
Jelmer Vernooij
1a803d13b8 r20961: Fix lcov
(This used to be commit fa659bed48eae9b9c2e00be91d8cd4e816527465)
2007-10-10 14:44:03 -05:00
Andrew Tridgell
45c2b83ec7 r20960: attempt to fix a valgrind error in the signals backend.
This also reduces the static data in the signal backend when not using
signals to 4 bytes.
(This used to be commit 071a6e8eb1861b10b8a7aa61470f21a546ffa0ca)
2007-10-10 14:44:03 -05:00
Stefan Metzmacher
a00bd47bfa r20957: a value of FF0000000000000000000000000000000000000000 isn't stored as schemaInfo
so we need to use it as value if nothing is stored

metze
(This used to be commit cd326134079375fc83640444d6323a5cbe7c02ee)
2007-10-10 14:44:02 -05:00
Stefan Metzmacher
9de1b173b4 r20956: cn and instanceType are autogenerated values, later we need to remove them from all
ldif files, but for now only the ones used by the NET-API-BECOME-DC test

metze
(This used to be commit 7510b9ca4a79c12c31abcf4a64b5eaba2f6c2fe9)
2007-10-10 14:44:02 -05:00
Jelmer Vernooij
0bafe55264 r20955: Add tests
(This used to be commit 965d0d9289eceed1b9b88ad3f87046ac47202237)
2007-10-10 14:44:01 -05:00
Jelmer Vernooij
a45cc42a68 r20954: Add lcov target, fix gcov.
(This used to be commit f7e93afa1c698ff005d3ce594b952ee2c8431d29)
2007-10-10 14:44:01 -05:00
Stefan Metzmacher
91ee0709b2 r20953: add templates in provision_become_dc()
metze
(This used to be commit 306ea74f85c8cd0df767a25c45304cb33410e03c)
2007-10-10 14:44:01 -05:00
Stefan Metzmacher
784f11bd85 r20952: when a component is changed we need to rebuild the linearized string
metze
(This used to be commit beb816fb78ec4a7816680611af6619740e159424)
2007-10-10 14:43:59 -05:00
Andrew Bartlett
0ee01e6fc2 r20949: Looking over some lcov output, try and walk some error paths.
Andrew Bartlett
(This used to be commit 9ed9a032c249461e69242afc2e0ccdd47524064e)
2007-10-10 14:43:59 -05:00
Andrew Tridgell
69d475223d r20948: a very simple example on how to setup and test ctdb
(This used to be commit 8b5d7d66c91d2bee971373f7da05d1641c556cbc)
2007-10-10 14:43:59 -05:00
Andrew Tridgell
87df5a6312 r20947: fixed a bug in the unlock logic in the brlock tdb backend
I'm very surprised this didn't show up earlier!
(This used to be commit 5d9b1acf4f35d11c4730cbc9cadedb33c6ec08e8)
2007-10-10 14:43:59 -05:00
Andrew Tridgell
44b6652e6c r20946: fixed another couple of bugs in the brlock ctdb backend. It now
survives very long random locktest runs.
(This used to be commit 53fd66340abd6f637acd4feb7c23c046df110a94)
2007-10-10 14:43:58 -05:00
Andrew Tridgell
ae7eab4cfc r20945: fixed the bug causing locktest to fail with the ctdb backend after a
couple of hundred opertations. Also removed a lot of the debug code I
was using to track this down.
(This used to be commit 7622e7b4b2694ec14062d0f6de035b946106a6aa)
2007-10-10 14:43:58 -05:00
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
Jelmer Vernooij
30bfba96d3 r20942: Simplify handling of systems that don't support negative enum values by using an ifdef rather than a pidl argument.
(This used to be commit 6bada0dcf0c7915d366c7917189375dbabecdd4f)
2007-10-10 14:43:57 -05:00
Andrew Tridgell
fa5e920a7b r20941: avoid races in the block/unblock code
(This used to be commit 83353ec0cd05464abb581f51d8c26ade7f0876fe)
2007-10-10 14:43:56 -05:00
Andrew Tridgell
0c846b1b2d r20940: allow SA_SIGINFO signals to be oneshot. Why you would ever want this
is beyond me :-)
(This used to be commit e892cbdb4bb0779f8abb0902bee4a2e79456808d)
2007-10-10 14:43:56 -05:00
Andrew Tridgell
00e553a272 r20939: reduce the amount of static state for signal handlers from 96k to 1.2k
(This used to be commit bf060ce4fe3b58fc3e58214490c4da9c6644c365)
2007-10-10 14:43:56 -05:00
Andrew Tridgell
2e009caa1b r20938: use a double counter trick to avoid the need for atomic increment
(This used to be commit 7c7b79ed042abebc48d8eaa71c252df3200a84d9)
2007-10-10 14:43:56 -05:00
Volker Lendecke
a8a702a6c9 r20934: I *hate* deep indents :-)
(This used to be commit c98dd55e32a1d2df016e7a4deba218cd54efcdd2)
2007-10-10 14:43:55 -05:00
Andrew Tridgell
cf8eef4ad8 r20930: use sigaction() instead of signal()
add support for sa_flags argument to event_add_signal(). These are
passed to sigaction(). Special handling is provided for SA_RESETHAND
(which tells the event system to remove the handler after the signal)
and SA_SIGINFO which allows the siginfo structure to be received per
signal
(This used to be commit 1bb10b6cf7d717ad21834e73a4ca4b22b5fb6f0a)
2007-10-10 14:43:55 -05:00
Andrew Tridgell
c6174d5d6f r20929: fixed typo
(This used to be commit bad87e2c82208646c331507d3999a3311ed153d9)
2007-10-10 14:43:54 -05:00
Andrew Tridgell
336ae458e9 r20928: added signal events to lib/events
Jeremy asked for this to allow Samba3 to use the Samba4 events library

see torture/local/event.c for an example
(This used to be commit 7e105482ff9a3da6b4708ff99a64f1881614fc5f)
2007-10-10 14:43:54 -05:00
Stefan Metzmacher
bf86c27440 r20923: only allow extended operations for SYSTEM or administrators for now
metze
(This used to be commit f062f09fbf45dd6cd36d1bfd9abb301d850c19dc)
2007-10-10 14:43:53 -05:00
Stefan Metzmacher
5d8700c53c r20922: use the show_deleted module by default
metze
(This used to be commit edc37501d6ecdaf7b13006b732914e21ae0be657)
2007-10-10 14:43:52 -05:00
Stefan Metzmacher
21cf5c82a2 r20921: - only give password attributes to the SYSTEM account
- but SYSTEM and administrators can change them

metze
(This used to be commit fc5319e927d96b68d8bd90a01e10aa00a6ddf494)
2007-10-10 14:43:52 -05:00
Andrew Tridgell
2ad79af331 r20920: use cluster_tdb_tmp_open() in ntvfs backend code
(This used to be commit c9080c54872f107d1e42e77261df50a5d55d294f)
2007-10-10 14:43:52 -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