13 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)

13 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)

13 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

(This used to be commit cd326134079375fc83640444d6323a5cbe7c02ee)

13 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

(This used to be commit 7510b9ca4a79c12c31abcf4a64b5eaba2f6c2fe9)

13 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)

13 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)

13 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()

(This used to be commit 306ea74f85c8cd0df767a25c45304cb33410e03c)

13 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

(This used to be commit beb816fb78ec4a7816680611af6619740e159424)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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
(This used to be commit 05d19af38c1e75ba65ed2755c6087df1f937ee2a)

13 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
(This used to be commit fd8e46043903d3650f8f33dcab165800f6869b1d)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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
(This used to be commit 1bb10b6cf7d717ad21834e73a4ca4b22b5fb6f0a)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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

(This used to be commit f062f09fbf45dd6cd36d1bfd9abb301d850c19dc)

13 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

(This used to be commit edc37501d6ecdaf7b13006b732914e21ae0be657)

13 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

(This used to be commit fc5319e927d96b68d8bd90a01e10aa00a6ddf494)

13 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)

13 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)

13 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)

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

(This used to be commit e668d3bd6955f0bd4e37560925c4107fd870c02f)

13 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

(This used to be commit 7108d62cb0360e734045eb39c03508d8528dc9cc)

13 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

(This used to be commit 575938753bb2f3b8593f240234cff71995a28df8)

13 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)

(This used to be commit 42a0304b1f903894bf6902baea47c86e64f9f60a)

13 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:


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

(This used to be commit 40c27ef88df9021e9ef2a6c43aabab709ac9662f)

13 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

(This used to be commit 4588e2522b11f707e608488c782f6988fd97628a)

13 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

(This used to be commit 015097677c8a65e9f5a4367f4f89193a4b2de76b)

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

(This used to be commit cb59eae91966e3e493c3c992d2b96965d17dac17)

13 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

(This used to be commit eec93720aced2b4cdad9f6f5a4f6e23587128357)

13 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

(This used to be commit 6814f38f000e9d44bdf25ca5bc1d69fd82522614)

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

(This used to be commit 5ac562e1e0e8de03c8bcd083a1822b31667c5e21)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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

(This used to be commit 05d307546f93794a0a981c3aa942669b9b18afd1)

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

(This used to be commit fd0650283b750aec7952b025db54ab46020a547d)

13 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.

(This used to be commit eebd00ba2bfdfe3bbbcc0a50b91e2e2b03371df6)

13 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

(This used to be commit 72e9cc2184c3b52a4f98318e905b75a3be49df2e)

13 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

(This used to be commit 308f9cf822a3a34dae28a5fa5aa850e2adbeb472)

13 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...:-)

(This used to be commit 7862fcdbb5ce43e702512c1acdbb5843ef551293)

13 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

(This used to be commit 8e9ff529c8930ee6e1acf5cdd5208924ae1f98af)

13 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

(This used to be commit b0e30d030e4294cbab79f4db6e6b19a2afda26cb)

13 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

(This used to be commit 341fae8e8465e67023ab0e82110835669a593577)

13 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

(This used to be commit 63f46344437002202990bd34fb200d847fcfcf40)

13 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

(This used to be commit 21fddb643bf05ca2b7c60a4695e1fff0f29ec6d1)

13 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

(This used to be commit 3f441741a6ff00ba88d3134c97e597285afbfed7)

13 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

(This used to be commit b1377a2e240dbe36277816452d33d6abaa486b9e)

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

(This used to be commit ba6ee1a098381683223d7efaafb04582a47ea871)

13 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

(This used to be commit b3fce383d3824ee418cbb7343f5d06720f5d31df)

13 years agor20853: attach the DSDB_CONTROL_CURRENT_PARTITION_OID control when requests
Stefan Metzmacher [Wed, 17 Jan 2007 16:11:46 +0000 (16:11 +0000)]
r20853: attach the DSDB_CONTROL_CURRENT_PARTITION_OID control when requests
are passed to a specific partition

(This used to be commit 06a46b1db46251989676fb04548f038930c83eb5)

13 years agor20852: add a function to add a ldb control to a ldb_request
Stefan Metzmacher [Wed, 17 Jan 2007 16:10:33 +0000 (16:10 +0000)]
r20852: add a function to add a ldb control to a ldb_request

(This used to be commit f0bf86ed66f7f9995df35db55f2f3875e7dbacbe)

13 years agor20850: Prefix all server calls with dcesrv_
Jelmer Vernooij [Wed, 17 Jan 2007 14:49:36 +0000 (14:49 +0000)]
r20850: Prefix all server calls with dcesrv_
(This used to be commit 76c78b0339cd88c61a13745f7f4e037f400db21b)

13 years agor20849: first step to move away from using find_backend() and use find_partition()
Stefan Metzmacher [Wed, 17 Jan 2007 14:19:06 +0000 (14:19 +0000)]
r20849: first step to move away from using find_backend() and use find_partition()

(This used to be commit 0d75cca6f37975a3855973468dc55520cb3b3fb7)

13 years agor20847: - split some code out into a new function find_partition()
Stefan Metzmacher [Wed, 17 Jan 2007 13:46:16 +0000 (13:46 +0000)]
r20847: - split some code out into a new function find_partition()
- make all functions static

(This used to be commit 3d313f08c7d6b201011f3b4744c8e54b1d0640c7)

13 years agor20836: Use real type name, to fix compilation with -WC++-compat
Jelmer Vernooij [Tue, 16 Jan 2007 17:45:33 +0000 (17:45 +0000)]
r20836: Use real type name, to fix compilation with -WC++-compat
(This used to be commit 10ca65bd78d27c425ae0347930fd2c9a92fe345c)

13 years agor20834: No longer generate extra pointers for top-level [out] unique pointers.
Jelmer Vernooij [Tue, 16 Jan 2007 15:51:37 +0000 (15:51 +0000)]
r20834: No longer generate extra pointers for top-level [out] unique pointers.
(This used to be commit b967f5851f24a4716d386fc569e384b9320b162a)

13 years agor20831: Update RPC-SCANNER as well after IDL changes.
Jelmer Vernooij [Tue, 16 Jan 2007 15:18:53 +0000 (15:18 +0000)]
r20831: Update RPC-SCANNER as well after IDL changes.
(This used to be commit 1c562d9f8311c4038fcff067ac6bb8364b606573)

13 years agor20830: merge mgmt work
Jelmer Vernooij [Tue, 16 Jan 2007 14:44:23 +0000 (14:44 +0000)]
r20830: merge mgmt work
(This used to be commit 3cc299dbbe278936281f8e7071e6de8ec1bb219c)

13 years agor20829: Update ignores.
Jelmer Vernooij [Tue, 16 Jan 2007 14:32:56 +0000 (14:32 +0000)]
r20829: Update ignores.
(This used to be commit 4f790a5987f0c3eedc5dfe6f389fa43711359257)

13 years agor20826: make the dsdb_control_current_partition struct public and allocate an oid...
Stefan Metzmacher [Tue, 16 Jan 2007 10:57:55 +0000 (10:57 +0000)]
r20826: make the dsdb_control_current_partition struct public and allocate an oid for the

(This used to be commit 684eee52e8812f6d104d8706ab059643ff4faa46)

13 years agor20825: control the subsystem default output type via a variable too
Stefan Metzmacher [Tue, 16 Jan 2007 09:48:39 +0000 (09:48 +0000)]
r20825: control the subsystem default output type via a variable too

(This used to be commit 624bd4e5a8ef1b7902ce8df6e8885cd8224a3037)

13 years agor20823: Remove newlines in calls to torture_fail().
Jelmer Vernooij [Tue, 16 Jan 2007 01:36:15 +0000 (01:36 +0000)]
r20823: Remove newlines in calls to torture_fail().
(This used to be commit 37c0cfe83bd9b9f799c880e3b5052a49631a113e)

13 years agor20822: Fix total failure counting.
Jelmer Vernooij [Mon, 15 Jan 2007 23:42:52 +0000 (23:42 +0000)]
r20822: Fix total failure counting.
(This used to be commit e4691447c47d6e8c938fee934e7a9aba2f418858)

13 years agor20819: - include system/aio.h
Stefan Metzmacher [Mon, 15 Jan 2007 19:27:45 +0000 (19:27 +0000)]
r20819: - include system/aio.h
- use full prototype for main
- use ifdef instead if

(This used to be commit b3a3c44f42455d6f84ab2f1f282fb177f8b6013c)

13 years agor20816: merge from samba3:
Stefan Metzmacher [Mon, 15 Jan 2007 19:08:03 +0000 (19:08 +0000)]
r20816: merge from samba3:

include setjmp.h via system/wait.h

(This used to be commit 1b10cbb62950693760d4af6ab8691a4ba70908c9)

13 years agor20815: merge from samba3
Stefan Metzmacher [Mon, 15 Jan 2007 19:05:11 +0000 (19:05 +0000)]
r20815: merge from samba3

(This used to be commit 5b8387969dcc1575a71eaf2daa8f42b94c87bbd0)

13 years agor20814: always define SHLIBEXT, to fix the build on host with no support for shared...
Stefan Metzmacher [Mon, 15 Jan 2007 18:44:06 +0000 (18:44 +0000)]
r20814: always define SHLIBEXT, to fix the build on host with no support for shared libs,
there we just define it to an invalid value

(This used to be commit d491258c2cf7e86ab82571360a9d51a1b0a61fad)

13 years agor20813: fix the build with autodependencies
Stefan Metzmacher [Mon, 15 Jan 2007 18:38:43 +0000 (18:38 +0000)]
r20813: fix the build with autodependencies

(This used to be commit ad110d22fba621e7d15b457fb1ff5aa29b3fd3b0)

13 years agor20810: unlink the test file when the test is done
Stefan Metzmacher [Mon, 15 Jan 2007 17:55:26 +0000 (17:55 +0000)]
r20810: unlink the test file when the test is done

(This used to be commit d3e10679afe436b994813e60b117bc42e6c2ed8f)

13 years agor20809: rename struct partition into struct dsdb_control_current_partition
Stefan Metzmacher [Mon, 15 Jan 2007 17:53:53 +0000 (17:53 +0000)]
r20809: rename struct partition into struct dsdb_control_current_partition

we'll soon pass this down as DSDB_CONTROL_CURRENT_PARTITION_OID control
so that the repl_meta_data module knows where to update the replUpToDateVector

(This used to be commit e5de40f8c2377d6dce54109a8d8bf9c6b681b813)

13 years agor20808: remove whitespace
Stefan Metzmacher [Mon, 15 Jan 2007 17:41:53 +0000 (17:41 +0000)]
r20808: remove whitespace

(This used to be commit 28a02742afd6b0db2b4e8a0d763ee519590d4ee9)

13 years agor20807: test static password for the test_*.ldb' files
Stefan Metzmacher [Mon, 15 Jan 2007 14:19:03 +0000 (14:19 +0000)]
r20807: test static password for the test_*.ldb' files

(This used to be commit 6790a62e4ecc765e1d8e0b503db04898aa40a1b9)

13 years agor20806: make it possible to configure the secrets.ldb url
Stefan Metzmacher [Mon, 15 Jan 2007 14:17:26 +0000 (14:17 +0000)]
r20806: make it possible to configure the secrets.ldb url
via "secrets database = my_secrets.ldb"

(This used to be commit a096a9741597105140845f59e54a76060da0010b)

13 years agor20805: don't use hardcoded values for secrects.keytab and sam.ldb
Stefan Metzmacher [Mon, 15 Jan 2007 13:54:21 +0000 (13:54 +0000)]
r20805: don't use hardcoded values for secrects.keytab and sam.ldb

(This used to be commit c78e345feaef607b9297372aacb00ec068127785)

13 years agor20804: work arround HPUX and Tru64 make which don't like $$startdir
Stefan Metzmacher [Mon, 15 Jan 2007 13:28:09 +0000 (13:28 +0000)]
r20804: work arround HPUX and Tru64 make which don't like $$startdir

we now call asn1_compile and compile_et via a wrapper script

(This used to be commit a5b67f5c7e78d3cf74668c7c6bf9aecd8e147d41)

13 years agor20803: fix compiler warning about extra semicolon
Stefan Metzmacher [Mon, 15 Jan 2007 11:11:16 +0000 (11:11 +0000)]
r20803: fix compiler warning about extra semicolon

(This used to be commit 1feae45f283decff5c47dcc44349af128df3add5)

13 years agor20802: - don't add the same Makefile vars twice...
Stefan Metzmacher [Mon, 15 Jan 2007 10:49:02 +0000 (10:49 +0000)]
r20802: - don't add the same Makefile vars twice...
- this fixes a lot of warnings on Tru64

maybe this also fixes the build on Tru64 and HPUX...

(This used to be commit a154fd04c84323d2e9e537e78fd95e29428cfd8a)