Andrew Bartlett [Fri, 26 Jan 2007 02:17:11 +0000 (02:17 +0000)]
r21025: Snapshot the release for TP4.
I still have some testing to do, but I'll merge any changes manually.
Andrew Bartlett
Andrew Bartlett [Fri, 26 Jan 2007 00:58:20 +0000 (00:58 +0000)]
r21023: Brad Henry pointed out some typos.
Andrew Bartlett
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
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.
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
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
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
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
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
Andrew Tridgell [Wed, 24 Jan 2007 04:30:44 +0000 (04:30 +0000)]
r20990: check for errors from event_loop_once()
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
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
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
Volker Lendecke [Tue, 23 Jan 2007 20:57:50 +0000 (20:57 +0000)]
r20983: Two no-mem error returns
James Peach [Tue, 23 Jan 2007 19:52:17 +0000 (19:52 +0000)]
r20981: Fix cut'n'paste error.
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
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
Stefan Metzmacher [Tue, 23 Jan 2007 16:20:36 +0000 (16:20 +0000)]
r20976: ignore generated files
metze
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
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
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
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