bbaumbach/samba-autobuild/.git
12 years agor21022: Trying out a new style for some of our WHATSNEW and README
Andrew Bartlett [Thu, 25 Jan 2007 23:49:17 +0000 (23:49 +0000)]
r21022: Trying out a new style for some of our WHATSNEW and README
documentation, prepareing for TP4.

Andrew Bartlett
(This used to be commit 86b5c558fa976065a76d6aa1d61b7c9f91ecc578)

12 years agor21017: Actually run tests during test phase rather than when generating the recipe.
Jelmer Vernooij [Thu, 25 Jan 2007 12:39:13 +0000 (12:39 +0000)]
r21017: Actually run tests during test phase rather than when generating the recipe.
(This used to be commit b975ce3a471d29fb2c0691c65993f9dfeb066d79)

12 years agor21008: We added a new argument to the provision() function, but I forgot to
Andrew Bartlett [Wed, 24 Jan 2007 22:56:17 +0000 (22:56 +0000)]
r21008: We added a new argument to the provision() function, but I forgot to
update SWAT.

Andrew Bartlett
(This used to be commit b3fdbfbe812e61319a62fe9158d4c0fa70e7c25b)

12 years agor21000: add some options to control what ldif is dumped
Stefan Metzmacher [Wed, 24 Jan 2007 12:46:26 +0000 (12:46 +0000)]
r21000: add some options to control what ldif is dumped

default is dump everything

metze
(This used to be commit 4ceb12f5d3c750273bb6ad58cefb1fd1b47643d4)

12 years agor20999: - update the list of attributes for classSchema and atttributeSchema objects
Stefan Metzmacher [Wed, 24 Jan 2007 12:23:42 +0000 (12:23 +0000)]
r20999: - update the list of attributes for classSchema and atttributeSchema objects
- use ${SCHEMADN} instead of CN=Schema,CN=Configuration,${BASEDN}
- do not include autogenerated values: instanceType, cn and name in the ldif output
- take care of the systemOnly attribute and a resulting NO-USER-MODIFICATION

metze
(This used to be commit 30a0e8b26e4b49927d733ac05e6032350fe22e9f)

12 years agor20997: Add in more certificate and key blobs, to enable PKINIT.
Andrew Bartlett [Wed, 24 Jan 2007 09:43:49 +0000 (09:43 +0000)]
r20997: Add in more certificate and key blobs, to enable PKINIT.

To automaticly test this, we need to decide if we should ship kinit
(and possibly and hxtool).

Andrew Bartlett
(This used to be commit 413df7114e194b9c081d53ef29d42743129ad518)

12 years agor20991: use relative includes for ctdb headers. This works with both
Andrew Tridgell [Wed, 24 Jan 2007 04:34:19 +0000 (04:34 +0000)]
r20991: use relative includes for ctdb headers. This works with both
standalone and built-in ctdb
(This used to be commit 3e5f29bddfd83914eeec706367b2b1bd30aba31e)

12 years agor20990: check for errors from event_loop_once()
Andrew Tridgell [Wed, 24 Jan 2007 04:30:44 +0000 (04:30 +0000)]
r20990: check for errors from event_loop_once()
(This used to be commit 6af4557b1306e7e6a23c697cef3467d0f0458531)

12 years agor20989: don't mark epoll as set until after the io_submit() succeeds
Andrew Tridgell [Wed, 24 Jan 2007 04:28:17 +0000 (04:28 +0000)]
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)

12 years agor20988: Call out to Heimdal's krb5.conf processing to configure many aspects
Andrew Bartlett [Wed, 24 Jan 2007 02:48:40 +0000 (02:48 +0000)]
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)

12 years agor20984: Try to ensure we can't have sig_state dissapear before se.
Andrew Bartlett [Tue, 23 Jan 2007 22:28:21 +0000 (22:28 +0000)]
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)

12 years agor20983: Two no-mem error returns
Volker Lendecke [Tue, 23 Jan 2007 20:57:50 +0000 (20:57 +0000)]
r20983: Two no-mem error returns
(This used to be commit 79a0cd3a1bbd3d4ef0c335f398fa8bb8e82c8624)

12 years agor20981: Fix cut'n'paste error.
James Peach [Tue, 23 Jan 2007 19:52:17 +0000 (19:52 +0000)]
r20981: Fix cut'n'paste error.
(This used to be commit 20dcd6e2416d656e97b8cc060809673a97d5cde6)

12 years agor20978: 300 seconds as interval is ok, when we do nothing
Stefan Metzmacher [Tue, 23 Jan 2007 16:23:28 +0000 (16:23 +0000)]
r20978: 300 seconds as interval is ok, when we do nothing

metze
(This used to be commit 4d6629c68332985f9122e4591f31ae46250de646)

12 years agor20977: start the 'drepl' service, which currently does nothing by default,
Stefan Metzmacher [Tue, 23 Jan 2007 16:22:27 +0000 (16:22 +0000)]
r20977: start the 'drepl' service, which currently does nothing by default,
but make it less verbose

metze
(This used to be commit f7e82a0c94fc8996827ea8d8a9b459bcaee029de)

12 years agor20975: - implement handling of meta data an on originating add
Stefan Metzmacher [Tue, 23 Jan 2007 16:18:45 +0000 (16:18 +0000)]
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)

12 years agor20974: add basic infrastructure for a DSDB replication service
Stefan Metzmacher [Tue, 23 Jan 2007 16:06:47 +0000 (16:06 +0000)]
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)

12 years agor20973: add functions to create the autocreated subSchema Attributes:
Stefan Metzmacher [Tue, 23 Jan 2007 15:36:36 +0000 (15:36 +0000)]
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)

12 years agor20972: "private" -> "private_data"
Volker Lendecke [Tue, 23 Jan 2007 15:06:41 +0000 (15:06 +0000)]
r20972: "private" -> "private_data"
(This used to be commit 8cbcd3d1cbb0661b1767bb7ace0804cf9a573e34)

12 years agor20971: we don't need this check twice:-)
Stefan Metzmacher [Tue, 23 Jan 2007 12:06:52 +0000 (12:06 +0000)]
r20971: we don't need this check twice:-)

metze
(This used to be commit b7d48274a7341c5e4a3f103387f87fcc94853271)

12 years agor20969: remove unused function, found my lcov
Stefan Metzmacher [Tue, 23 Jan 2007 10:37:36 +0000 (10:37 +0000)]
r20969: remove unused function, found my lcov

metze
(This used to be commit 0c5eb19ebc12bc954c23e9f561d5f96644a19aca)

12 years agor20968: - add functions to sort the meta data and attribute arrays
Stefan Metzmacher [Tue, 23 Jan 2007 10:21:14 +0000 (10:21 +0000)]
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)

12 years agor20967: Allow pidl tests to work with gcov
Jelmer Vernooij [Tue, 23 Jan 2007 10:08:08 +0000 (10:08 +0000)]
r20967: Allow pidl tests to work with gcov
(This used to be commit 9da63e362c9d590388c77d882f9dbf54b0aa78cc)

12 years agor20964: Show the domain name we figured out, rather than a null pointer (in
Andrew Bartlett [Tue, 23 Jan 2007 01:33:31 +0000 (01:33 +0000)]
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)

12 years agor20963: remove unused functions, run LOCAL-TDR by default
Jelmer Vernooij [Tue, 23 Jan 2007 01:29:17 +0000 (01:29 +0000)]
r20963: remove unused functions, run LOCAL-TDR by default
(This used to be commit 0f34c67fff53d5bd3c1b5a5618190ad7154e8d07)

12 years agor20962: Fix lcov
Jelmer Vernooij [Tue, 23 Jan 2007 00:39:12 +0000 (00:39 +0000)]
r20962: Fix lcov
(This used to be commit 3d3d3031c80b56c824ab8a0f3616d564f092a110)

12 years agor20961: Fix lcov
Jelmer Vernooij [Tue, 23 Jan 2007 00:26:03 +0000 (00:26 +0000)]
r20961: Fix lcov
(This used to be commit fa659bed48eae9b9c2e00be91d8cd4e816527465)

12 years agor20960: attempt to fix a valgrind error in the signals backend.
Andrew Tridgell [Tue, 23 Jan 2007 00:06:33 +0000 (00:06 +0000)]
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)

12 years agor20959: Add ignore entries
Jelmer Vernooij [Mon, 22 Jan 2007 23:38:55 +0000 (23:38 +0000)]
r20959: Add ignore entries
(This used to be commit bc8650b368ddcd8753a9ba7fcf38388bebe75358)

12 years agor20958: Inspired by the lcov output, check the PASSWD_FILE and
Andrew Bartlett [Mon, 22 Jan 2007 23:09:07 +0000 (23:09 +0000)]
r20958: Inspired by the lcov output, check the PASSWD_FILE and
--authentication-file options to smbclient.

Andrew Bartlett
(This used to be commit f85e57a71e639c63d89dd2d4c11632e36d0e8ba6)

12 years agor20957: a value of FF0000000000000000000000000000000000000000 isn't stored as schemaInfo
Stefan Metzmacher [Mon, 22 Jan 2007 19:07:57 +0000 (19:07 +0000)]
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)

12 years agor20956: cn and instanceType are autogenerated values, later we need to remove them...
Stefan Metzmacher [Mon, 22 Jan 2007 18:56:44 +0000 (18:56 +0000)]
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)

12 years agor20955: Add tests
Jelmer Vernooij [Mon, 22 Jan 2007 18:24:24 +0000 (18:24 +0000)]
r20955: Add tests
(This used to be commit 965d0d9289eceed1b9b88ad3f87046ac47202237)

12 years agor20954: Add lcov target, fix gcov.
Jelmer Vernooij [Mon, 22 Jan 2007 18:16:01 +0000 (18:16 +0000)]
r20954: Add lcov target, fix gcov.
(This used to be commit f7e93afa1c698ff005d3ce594b952ee2c8431d29)

12 years agor20953: add templates in provision_become_dc()
Stefan Metzmacher [Mon, 22 Jan 2007 18:15:54 +0000 (18:15 +0000)]
r20953: add templates in provision_become_dc()

metze
(This used to be commit 306ea74f85c8cd0df767a25c45304cb33410e03c)

12 years agor20952: when a component is changed we need to rebuild the linearized string
Stefan Metzmacher [Mon, 22 Jan 2007 17:46:38 +0000 (17:46 +0000)]
r20952: when a component is changed we need to rebuild the linearized string

metze
(This used to be commit beb816fb78ec4a7816680611af6619740e159424)

12 years agor20949: Looking over some lcov output, try and walk some error paths.
Andrew Bartlett [Mon, 22 Jan 2007 12:33:27 +0000 (12:33 +0000)]
r20949: Looking over some lcov output, try and walk some error paths.

Andrew Bartlett
(This used to be commit 9ed9a032c249461e69242afc2e0ccdd47524064e)

12 years agor20948: a very simple example on how to setup and test ctdb
Andrew Tridgell [Mon, 22 Jan 2007 11:57:45 +0000 (11:57 +0000)]
r20948: a very simple example on how to setup and test ctdb
(This used to be commit 8b5d7d66c91d2bee971373f7da05d1641c556cbc)

12 years agor20947: fixed a bug in the unlock logic in the brlock tdb backend
Andrew Tridgell [Mon, 22 Jan 2007 11:46:27 +0000 (11:46 +0000)]
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)

12 years agor20946: fixed another couple of bugs in the brlock ctdb backend. It now
Andrew Tridgell [Mon, 22 Jan 2007 11:45:48 +0000 (11:45 +0000)]
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)

12 years agor20945: fixed the bug causing locktest to fail with the ctdb backend after a
Andrew Tridgell [Mon, 22 Jan 2007 09:35:26 +0000 (09:35 +0000)]
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)

12 years agor20944: if a call has been destroyed before a reply comes in then discard the
Andrew Tridgell [Mon, 22 Jan 2007 04:04:36 +0000 (04:04 +0000)]
r20944: if a call has been destroyed before a reply comes in then discard the
reply
(This used to be commit 05d19af38c1e75ba65ed2755c6087df1f937ee2a)

12 years agor20943: use offsetof() instead of sizeof() - 1 for the packet length
Andrew Tridgell [Mon, 22 Jan 2007 03:33:12 +0000 (03:33 +0000)]
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)

12 years agor20942: Simplify handling of systems that don't support negative enum values by using...
Jelmer Vernooij [Mon, 22 Jan 2007 00:04:59 +0000 (00:04 +0000)]
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)

12 years agor20941: avoid races in the block/unblock code
Andrew Tridgell [Sun, 21 Jan 2007 23:37:32 +0000 (23:37 +0000)]
r20941: avoid races in the block/unblock code
(This used to be commit 83353ec0cd05464abb581f51d8c26ade7f0876fe)

12 years agor20940: allow SA_SIGINFO signals to be oneshot. Why you would ever want this
Andrew Tridgell [Sun, 21 Jan 2007 22:14:05 +0000 (22:14 +0000)]
r20940: allow SA_SIGINFO signals to be oneshot. Why you would ever want this
is beyond me :-)
(This used to be commit e892cbdb4bb0779f8abb0902bee4a2e79456808d)

12 years agor20939: reduce the amount of static state for signal handlers from 96k to 1.2k
Andrew Tridgell [Sun, 21 Jan 2007 22:12:19 +0000 (22:12 +0000)]
r20939: reduce the amount of static state for signal handlers from 96k to 1.2k
(This used to be commit bf060ce4fe3b58fc3e58214490c4da9c6644c365)

12 years agor20938: use a double counter trick to avoid the need for atomic increment
Andrew Tridgell [Sun, 21 Jan 2007 21:02:24 +0000 (21:02 +0000)]
r20938: use a double counter trick to avoid the need for atomic increment
(This used to be commit 7c7b79ed042abebc48d8eaa71c252df3200a84d9)

12 years agor20937: Update to latest Finite State Machine with properly-handled blocked events
Derrell Lipman [Sun, 21 Jan 2007 20:15:06 +0000 (20:15 +0000)]
r20937: Update to latest Finite State Machine with properly-handled blocked events
(This used to be commit 98eeba919c63e58782aedde45dd9e9b3e400baf8)

12 years agor20934: I *hate* deep indents :-)
Volker Lendecke [Sun, 21 Jan 2007 17:58:56 +0000 (17:58 +0000)]
r20934: I *hate* deep indents :-)
(This used to be commit c98dd55e32a1d2df016e7a4deba218cd54efcdd2)

12 years agor20930: use sigaction() instead of signal()
Andrew Tridgell [Sun, 21 Jan 2007 10:32:39 +0000 (10:32 +0000)]
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)

12 years agor20929: fixed typo
Andrew Tridgell [Sun, 21 Jan 2007 09:25:21 +0000 (09:25 +0000)]
r20929: fixed typo
(This used to be commit bad87e2c82208646c331507d3999a3311ed153d9)

12 years agor20928: added signal events to lib/events
Andrew Tridgell [Sun, 21 Jan 2007 08:23:14 +0000 (08:23 +0000)]
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)

12 years agor20927: Remove leftovers
Simo Sorce [Sat, 20 Jan 2007 23:53:17 +0000 (23:53 +0000)]
r20927: Remove leftovers
Add Docs
(This used to be commit 4bb77dd918b516efc3a9cd6b07adb47849e1ded7)

12 years agor20926: Modify the classname as well
Simo Sorce [Sat, 20 Jan 2007 23:38:46 +0000 (23:38 +0000)]
r20926: Modify the classname as well
(This used to be commit 756935f41255a741c63ddf86b99730891bfba8d7)

12 years agor20925: Rename file following naming qooxdoo's convention
Simo Sorce [Sat, 20 Jan 2007 23:30:32 +0000 (23:30 +0000)]
r20925: Rename file following naming qooxdoo's convention
(This used to be commit eca5d7f2935112841d467c8967f08a0b46512b0f)

12 years agor20924: Change the way searches are performed, also change a bit the layouts
Simo Sorce [Sat, 20 Jan 2007 18:38:37 +0000 (18:38 +0000)]
r20924: Change the way searches are performed, also change a bit the layouts
Derrel I am experimenting, let me know if you see anything really disgusting :)
(This used to be commit 702048f618d625c53201cd16a161b706435c44c2)

12 years agor20923: only allow extended operations for SYSTEM or administrators for now
Stefan Metzmacher [Sat, 20 Jan 2007 12:21:06 +0000 (12:21 +0000)]
r20923: only allow extended operations for SYSTEM or administrators for now

metze
(This used to be commit f062f09fbf45dd6cd36d1bfd9abb301d850c19dc)

12 years agor20922: use the show_deleted module by default
Stefan Metzmacher [Sat, 20 Jan 2007 10:27:22 +0000 (10:27 +0000)]
r20922: use the show_deleted module by default

metze
(This used to be commit edc37501d6ecdaf7b13006b732914e21ae0be657)

12 years agor20921: - only give password attributes to the SYSTEM account
Stefan Metzmacher [Sat, 20 Jan 2007 09:46:42 +0000 (09:46 +0000)]
r20921: - only give password attributes to the SYSTEM account
- but SYSTEM and administrators can change them

metze
(This used to be commit fc5319e927d96b68d8bd90a01e10aa00a6ddf494)

12 years agor20920: use cluster_tdb_tmp_open() in ntvfs backend code
Andrew Tridgell [Sat, 20 Jan 2007 00:49:04 +0000 (00:49 +0000)]
r20920: use cluster_tdb_tmp_open() in ntvfs backend code
(This used to be commit c9080c54872f107d1e42e77261df50a5d55d294f)

12 years agor20919: add a function cluster_tdb_tmp_open() which can be used in a cluster
Andrew Tridgell [Sat, 20 Jan 2007 00:48:31 +0000 (00:48 +0000)]
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)

12 years agor20918: a bit more debugging, and remove the hackish /dev/null writes I used
Andrew Tridgell [Fri, 19 Jan 2007 23:17:28 +0000 (23:17 +0000)]
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)

12 years agor20910: fix crash bug
Stefan Metzmacher [Fri, 19 Jan 2007 17:06:59 +0000 (17:06 +0000)]
r20910: fix crash bug

metze
(This used to be commit e668d3bd6955f0bd4e37560925c4107fd870c02f)

12 years agor20909: add a module that implements the LDAP_CONTROL_SHOW_DELETED_OID control
Stefan Metzmacher [Fri, 19 Jan 2007 16:55:38 +0000 (16:55 +0000)]
r20909: add a module that implements the LDAP_CONTROL_SHOW_DELETED_OID control

it hides objects with isDeleted=TRUE by default, and let them through
if the control is present

metze
(This used to be commit 7108d62cb0360e734045eb39c03508d8528dc9cc)

12 years agor20908: - fix uninitialized usage of 'ctx'
Stefan Metzmacher [Fri, 19 Jan 2007 15:37:20 +0000 (15:37 +0000)]
r20908: - fix uninitialized usage of 'ctx'
- remove unused mem_ctx variable
- copy the userman_domain string as child of obj

metze
(This used to be commit 575938753bb2f3b8593f240234cff71995a28df8)

12 years agor20907: reset krbtgt, machine and administator account passwords to "test"
Stefan Metzmacher [Fri, 19 Jan 2007 15:33:11 +0000 (15:33 +0000)]
r20907: reset krbtgt, machine and administator account passwords to "test"
(same values which are given the provision code for setup test_secrets.ldb)

metze
(This used to be commit 42a0304b1f903894bf6902baea47c86e64f9f60a)

12 years agor20906: allow LDAP simple binds using the following syntaxes in the DN field:
Stefan Metzmacher [Fri, 19 Jan 2007 15:14:45 +0000 (15:14 +0000)]
r20906: allow LDAP simple binds using the following syntaxes in the DN field:

CN=Administrator,CN=Users,DC=w2k3,DC=vmnet1,DC=vm,DC=base
Administrator@W2K3
W2K3\Administrator
w2k3.vmnet1.vm.base/Users/Administrator

w2k3 also allows this (and maybe more...?)

metze
(This used to be commit 40c27ef88df9021e9ef2a6c43aabab709ac9662f)

12 years agor20902: don't crash if the object isn't there yet
Stefan Metzmacher [Fri, 19 Jan 2007 13:36:15 +0000 (13:36 +0000)]
r20902: don't crash if the object isn't there yet

metze
(This used to be commit 4588e2522b11f707e608488c782f6988fd97628a)

12 years agor20901: - not all compiler like uint8_t data[0] elements!
Stefan Metzmacher [Fri, 19 Jan 2007 12:22:30 +0000 (12:22 +0000)]
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)

12 years agor20900: fix compiler warnings
Stefan Metzmacher [Fri, 19 Jan 2007 12:16:39 +0000 (12:16 +0000)]
r20900: fix compiler warnings

metze
(This used to be commit cb59eae91966e3e493c3c992d2b96965d17dac17)

12 years agor20899: fix the build and compiler warnings
Stefan Metzmacher [Fri, 19 Jan 2007 12:16:03 +0000 (12:16 +0000)]
r20899: fix the build and compiler warnings

metze
(This used to be commit eec93720aced2b4cdad9f6f5a4f6e23587128357)

12 years agor20898: make it work to include ntvfs/ntvfs.h multiple times
Stefan Metzmacher [Fri, 19 Jan 2007 12:12:53 +0000 (12:12 +0000)]
r20898: make it work to include ntvfs/ntvfs.h multiple times

metze
(This used to be commit 6814f38f000e9d44bdf25ca5bc1d69fd82522614)

12 years agor20897: fix compiler warnings
Stefan Metzmacher [Fri, 19 Jan 2007 11:58:03 +0000 (11:58 +0000)]
r20897: fix compiler warnings

metze
(This used to be commit 5ac562e1e0e8de03c8bcd083a1822b31667c5e21)

12 years agor20896: make the maximum lacount configurable in smb.conf
Andrew Tridgell [Fri, 19 Jan 2007 04:32:04 +0000 (04:32 +0000)]
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)

12 years agor20895: enable ctdb backend at startup (if configured)
Andrew Tridgell [Fri, 19 Jan 2007 04:09:32 +0000 (04:09 +0000)]
r20895: enable ctdb backend at startup (if configured)
(This used to be commit e73063a0c6af927e520b3bdd7574dc7183847813)

12 years agor20894: the new brlock.c is needed (seems a svn rename + new file didn't make
Andrew Tridgell [Fri, 19 Jan 2007 04:08:33 +0000 (04:08 +0000)]
r20894: the new brlock.c is needed (seems a svn rename + new file didn't make
it in one commit)
(This used to be commit 3315e877ab6504569e2869b52d989fc821982a3b)

12 years agor20893: brlock notifies are currently disabled in the ctdb backend. Use a #if
Andrew Tridgell [Fri, 19 Jan 2007 04:07:52 +0000 (04:07 +0000)]
r20893: brlock notifies are currently disabled in the ctdb backend. Use a #if
instead of c++ comments
(This used to be commit a3beff12a522a9b9e0088365d8f2740a1785bff5)

12 years agor20892: add parameter for enabling ctdb self connect
Andrew Tridgell [Fri, 19 Jan 2007 04:07:21 +0000 (04:07 +0000)]
r20892: add parameter for enabling ctdb self connect
(This used to be commit ba3ce8abe3457a1245fd4746af780c6055d39425)

12 years agor20891: enable multiple brlock backends. The tdb backend is the default. The
Andrew Tridgell [Fri, 19 Jan 2007 03:58:16 +0000 (03:58 +0000)]
r20891: enable multiple brlock backends. The tdb backend is the default. The
prototype ctdb backend is in cluster/ctdb/brlock_ctdb.c
(This used to be commit 84d0e5316299931dc26f2a7b86962d2fffcc4b71)

12 years agor20890: spelling fix
Andrew Tridgell [Fri, 19 Jan 2007 03:55:17 +0000 (03:55 +0000)]
r20890: spelling fix
(This used to be commit 507266b951272534f0a0bad5fd5e2450438dcdf1)

12 years agor20889: import ctdb cluster backend from bzr
Andrew Tridgell [Fri, 19 Jan 2007 03:54:48 +0000 (03:54 +0000)]
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)

12 years agor20888: local cluster backend
Andrew Tridgell [Fri, 19 Jan 2007 03:54:01 +0000 (03:54 +0000)]
r20888: local cluster backend
(This used to be commit 5530e6effe03615499fbdc5ff2fe663ffa0223a9)

12 years agor20887: allow the registration of multiple cluster backends
Andrew Tridgell [Fri, 19 Jan 2007 03:53:37 +0000 (03:53 +0000)]
r20887: allow the registration of multiple cluster backends

this is in preparation for ctdb
(This used to be commit 489f022175a1022bcca8053116362825daae5e40)

12 years agor20886: fixed a valgrind error
Andrew Tridgell [Fri, 19 Jan 2007 03:52:21 +0000 (03:52 +0000)]
r20886: fixed a valgrind error
(This used to be commit acc96e42e74005f1c381b0ab3f6c1b2e051ffaec)

12 years agor20885: - I forgot the page size passed to enumeration function is actually
Rafal Szczesniak [Thu, 18 Jan 2007 23:21:59 +0000 (23:21 +0000)]
r20885: - I forgot the page size passed to enumeration function is actually
  size of a buffer for result returned, not number of entries
- pass libnet function returned status to UserListCtx creation
  to properly mark the last chunk of the list

rafal
(This used to be commit 05d307546f93794a0a981c3aa942669b9b18afd1)

12 years agor20882: Formatting.
Rafal Szczesniak [Thu, 18 Jan 2007 21:50:46 +0000 (21:50 +0000)]
r20882: Formatting.

rafal
(This used to be commit fd0650283b750aec7952b025db54ab46020a547d)

12 years agor20881: Sorting out NetUsrCtx methods. Still a couple of things left.
Rafal Szczesniak [Thu, 18 Jan 2007 21:50:24 +0000 (21:50 +0000)]
r20881: Sorting out NetUsrCtx methods. Still a couple of things left.

rafal
(This used to be commit eebd00ba2bfdfe3bbbcc0a50b91e2e2b03371df6)

12 years agor20872: make the password_hash module specific to the domain partition
Stefan Metzmacher [Thu, 18 Jan 2007 01:35:54 +0000 (01:35 +0000)]
r20872: make the password_hash module specific to the domain partition
as it's the only partition that can hold securityPrincipal objects

metze
(This used to be commit 72e9cc2184c3b52a4f98318e905b75a3be49df2e)

12 years agor20871: implement the validFSMOs constructed attribute on the rootdse
Stefan Metzmacher [Thu, 18 Jan 2007 01:31:09 +0000 (01:31 +0000)]
r20871: implement the validFSMOs constructed attribute on the rootdse
for the schema, domain naming and pdc fsmo roles

infrastructure and rid manager will be added later,
when we have module for them

metze
(This used to be commit 308f9cf822a3a34dae28a5fa5aa850e2adbeb472)

12 years agor20870: implement the constructed attributes dsSchemaAttrCount,
Stefan Metzmacher [Thu, 18 Jan 2007 00:49:52 +0000 (00:49 +0000)]
r20870: implement the constructed attributes dsSchemaAttrCount,
dsSchemaClassCount and dsSchemaPrefixCount on the rootdse

having a loaded dsdb_schema make things so easy...:-)

metze
(This used to be commit 7862fcdbb5ce43e702512c1acdbb5843ef551293)

12 years agor20869: - mark the rootdse with isSyncronized=TRUE after a successful replication
Stefan Metzmacher [Thu, 18 Jan 2007 00:26:07 +0000 (00:26 +0000)]
r20869: - mark the rootdse with isSyncronized=TRUE after a successful replication
- reopen the ldb

metze
(This used to be commit 8e9ff529c8930ee6e1acf5cdd5208924ae1f98af)

12 years agor20868: load the pdc_fsmo and naming_fsmo modules
Stefan Metzmacher [Thu, 18 Jan 2007 00:01:18 +0000 (00:01 +0000)]
r20868: load the pdc_fsmo and naming_fsmo modules

metze
(This used to be commit b0e30d030e4294cbab79f4db6e6b19a2afda26cb)

12 years agor20867: add modules to handle the domain naming and the pdc FSMO Roles
Stefan Metzmacher [Wed, 17 Jan 2007 23:58:14 +0000 (23:58 +0000)]
r20867: add modules to handle the domain naming and the pdc FSMO Roles

metze
(This used to be commit 341fae8e8465e67023ab0e82110835669a593577)

12 years agor20866: - fix debug messages missing new lines
Stefan Metzmacher [Wed, 17 Jan 2007 23:56:01 +0000 (23:56 +0000)]
r20866: - fix debug messages missing new lines
- use LDB_DEBUG_WARNING in some places
- debug if we're the schema master

metze
(This used to be commit 63f46344437002202990bd34fb200d847fcfcf40)

12 years agor20865: remove useless warning, we now always pass the current partition
Stefan Metzmacher [Wed, 17 Jan 2007 22:22:29 +0000 (22:22 +0000)]
r20865: remove useless warning, we now always pass the current partition
control as non critical control

metze
(This used to be commit 21fddb643bf05ca2b7c60a4695e1fff0f29ec6d1)

12 years agor20864: move common stuff into an extra function
Stefan Metzmacher [Wed, 17 Jan 2007 22:21:25 +0000 (22:21 +0000)]
r20864: move common stuff into an extra function

metze
(This used to be commit 3f441741a6ff00ba88d3134c97e597285afbfed7)

12 years agor20863: check that there's a current partition control attached to the request
Stefan Metzmacher [Wed, 17 Jan 2007 19:45:17 +0000 (19:45 +0000)]
r20863: check that there's a current partition control attached to the request

metze
(This used to be commit b1377a2e240dbe36277816452d33d6abaa486b9e)

12 years agor20859: fix typo
Stefan Metzmacher [Wed, 17 Jan 2007 18:41:16 +0000 (18:41 +0000)]
r20859: fix typo

metze
(This used to be commit ba6ee1a098381683223d7efaafb04582a47ea871)

12 years agor20855: pass the DSDB_CONTROL_CURRENT_PARTITION_OID control also for the
Stefan Metzmacher [Wed, 17 Jan 2007 16:55:37 +0000 (16:55 +0000)]
r20855: pass the DSDB_CONTROL_CURRENT_PARTITION_OID control also for the
send_all case

metze
(This used to be commit b3fce383d3824ee418cbb7343f5d06720f5d31df)