Volker Lendecke [Tue, 23 Jan 2007 15:06:41 +0000 (15:06 +0000)]
r20972: "private" -> "private_data"
Stefan Metzmacher [Tue, 23 Jan 2007 12:06:52 +0000 (12:06 +0000)]
r20971: we don't need this check twice:-)
metze
Stefan Metzmacher [Tue, 23 Jan 2007 10:37:36 +0000 (10:37 +0000)]
r20969: remove unused function, found my lcov
metze
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
Jelmer Vernooij [Tue, 23 Jan 2007 10:08:08 +0000 (10:08 +0000)]
r20967: Allow pidl tests to work with gcov
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
Jelmer Vernooij [Tue, 23 Jan 2007 01:29:17 +0000 (01:29 +0000)]
r20963: remove unused functions, run LOCAL-TDR by default
Jelmer Vernooij [Tue, 23 Jan 2007 00:39:12 +0000 (00:39 +0000)]
r20962: Fix lcov
Jelmer Vernooij [Tue, 23 Jan 2007 00:26:03 +0000 (00:26 +0000)]
r20961: Fix lcov
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.
Jelmer Vernooij [Mon, 22 Jan 2007 23:38:55 +0000 (23:38 +0000)]
r20959: Add ignore entries
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
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
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
Jelmer Vernooij [Mon, 22 Jan 2007 18:24:24 +0000 (18:24 +0000)]
r20955: Add tests
Jelmer Vernooij [Mon, 22 Jan 2007 18:16:01 +0000 (18:16 +0000)]
r20954: Add lcov target, fix gcov.
Stefan Metzmacher [Mon, 22 Jan 2007 18:15:54 +0000 (18:15 +0000)]
r20953: add templates in provision_become_dc()
metze
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
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
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
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!
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.
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.
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
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.
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.
Andrew Tridgell [Sun, 21 Jan 2007 23:37:32 +0000 (23:37 +0000)]
r20941: avoid races in the block/unblock code
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 :-)
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
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
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
Volker Lendecke [Sun, 21 Jan 2007 17:58:56 +0000 (17:58 +0000)]
r20934: I *hate* deep indents :-)
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
Andrew Tridgell [Sun, 21 Jan 2007 09:25:21 +0000 (09:25 +0000)]
r20929: fixed typo
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
Simo Sorce [Sat, 20 Jan 2007 23:53:17 +0000 (23:53 +0000)]
r20927: Remove leftovers
Add Docs
Simo Sorce [Sat, 20 Jan 2007 23:38:46 +0000 (23:38 +0000)]
r20926: Modify the classname as well
Simo Sorce [Sat, 20 Jan 2007 23:30:32 +0000 (23:30 +0000)]
r20925: Rename file following naming qooxdoo's convention
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 :)
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
Stefan Metzmacher [Sat, 20 Jan 2007 10:27:22 +0000 (10:27 +0000)]
r20922: use the show_deleted module by default
metze
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
Andrew Tridgell [Sat, 20 Jan 2007 00:49:04 +0000 (00:49 +0000)]
r20920: use cluster_tdb_tmp_open() in ntvfs backend code
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
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)
Stefan Metzmacher [Fri, 19 Jan 2007 17:06:59 +0000 (17:06 +0000)]
r20910: fix crash bug
metze
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
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
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
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
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
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
Stefan Metzmacher [Fri, 19 Jan 2007 12:16:39 +0000 (12:16 +0000)]
r20900: fix compiler warnings
metze
Stefan Metzmacher [Fri, 19 Jan 2007 12:16:03 +0000 (12:16 +0000)]
r20899: fix the build and compiler warnings
metze
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
Stefan Metzmacher [Fri, 19 Jan 2007 11:58:03 +0000 (11:58 +0000)]
r20897: fix compiler warnings
metze
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.
Andrew Tridgell [Fri, 19 Jan 2007 04:09:32 +0000 (04:09 +0000)]
r20895: enable ctdb backend at startup (if configured)
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)
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
Andrew Tridgell [Fri, 19 Jan 2007 04:07:21 +0000 (04:07 +0000)]
r20892: add parameter for enabling ctdb self connect
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
Andrew Tridgell [Fri, 19 Jan 2007 03:55:17 +0000 (03:55 +0000)]
r20890: spelling fix
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
Andrew Tridgell [Fri, 19 Jan 2007 03:54:01 +0000 (03:54 +0000)]
r20888: local cluster backend
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
Andrew Tridgell [Fri, 19 Jan 2007 03:52:21 +0000 (03:52 +0000)]
r20886: fixed a valgrind error
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
Rafal Szczesniak [Thu, 18 Jan 2007 21:50:46 +0000 (21:50 +0000)]
r20882: Formatting.
rafal
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
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
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
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
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
Stefan Metzmacher [Thu, 18 Jan 2007 00:01:18 +0000 (00:01 +0000)]
r20868: load the pdc_fsmo and naming_fsmo modules
metze
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
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
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
Stefan Metzmacher [Wed, 17 Jan 2007 22:21:25 +0000 (22:21 +0000)]
r20864: move common stuff into an extra function
metze
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
Stefan Metzmacher [Wed, 17 Jan 2007 18:41:16 +0000 (18:41 +0000)]
r20859: fix typo
metze
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
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
metze
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
metze
Jelmer Vernooij [Wed, 17 Jan 2007 14:49:36 +0000 (14:49 +0000)]
r20850: Prefix all server calls with dcesrv_
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()
instead
metze
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
metze
Jelmer Vernooij [Tue, 16 Jan 2007 17:45:33 +0000 (17:45 +0000)]
r20836: Use real type name, to fix compilation with -WC++-compat
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.
Jelmer Vernooij [Tue, 16 Jan 2007 15:18:53 +0000 (15:18 +0000)]
r20831: Update RPC-SCANNER as well after IDL changes.
Jelmer Vernooij [Tue, 16 Jan 2007 14:44:23 +0000 (14:44 +0000)]
r20830: merge mgmt work
Jelmer Vernooij [Tue, 16 Jan 2007 14:32:56 +0000 (14:32 +0000)]
r20829: Update ignores.
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
control
metze
Stefan Metzmacher [Tue, 16 Jan 2007 09:48:39 +0000 (09:48 +0000)]
r20825: control the subsystem default output type via a variable too
metze
Jelmer Vernooij [Tue, 16 Jan 2007 01:36:15 +0000 (01:36 +0000)]
r20823: Remove newlines in calls to torture_fail().
Jelmer Vernooij [Mon, 15 Jan 2007 23:42:52 +0000 (23:42 +0000)]
r20822: Fix total failure counting.
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
metze
Stefan Metzmacher [Mon, 15 Jan 2007 19:08:03 +0000 (19:08 +0000)]
r20816: merge from samba3:
include setjmp.h via system/wait.h
metze
Stefan Metzmacher [Mon, 15 Jan 2007 19:05:11 +0000 (19:05 +0000)]
r20815: merge from samba3
metze
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
metze