samba.git
16 years agor21222: Merge a couple of pidl fixes:
Jelmer Vernooij [Wed, 7 Feb 2007 19:03:19 +0000 (19:03 +0000)]
r21222: Merge a couple of pidl fixes:

* Pidl will now warn when trying to use pointers as integers in expressions.
* "subcontext()" is now marked as deprecated. The alternatives,
  transmit_as() / represent_as() should be available soon.
* More tests.
* Remove some unused code in smbtorture.
(This used to be commit 37c0da541e3962164d5af3e3c9560803a733f3b7)

16 years agor21221: 'make build' should be the default target for us
Derrell Lipman [Wed, 7 Feb 2007 18:52:11 +0000 (18:52 +0000)]
r21221: 'make build' should be the default target for us
(This used to be commit ca3b806070b924a455954cdfe124d726b38da87a)

16 years agor21220: enable 'make source' (and 'make') to work properly
Derrell Lipman [Wed, 7 Feb 2007 18:31:28 +0000 (18:31 +0000)]
r21220: enable 'make source' (and 'make') to work properly
(This used to be commit 341e12496ced6f3b0f110be7465538d4548b1b46)

16 years agor21216: fail the RAW-BENCH-LOCK test if the locking doesn't happen evenly
Andrew Tridgell [Wed, 7 Feb 2007 07:11:20 +0000 (07:11 +0000)]
r21216: fail the RAW-BENCH-LOCK test if the locking doesn't happen evenly
across the connections
(This used to be commit 01ef699981f3bcbbbdd4a47d9b85324aec783451)

16 years agor21215: extend the RAW-MUX test to test cancelling a async lock request using
Andrew Tridgell [Wed, 7 Feb 2007 07:10:23 +0000 (07:10 +0000)]
r21215: extend the RAW-MUX test to test cancelling a async lock request using
a SMBexit
(This used to be commit 753a85eff6a19af2c7b0884f705e9f66b5f605fe)

16 years agor21214: fixed a valgrind error that can be caused by a semi-async call inside
Andrew Tridgell [Wed, 7 Feb 2007 07:06:28 +0000 (07:06 +0000)]
r21214: fixed a valgrind error that can be caused by a semi-async call inside
a nested ntvfs call. The req structure can go away while processing a
ntvfs request
(This used to be commit f62b3c505f71f37a86a76d152d643926e19eb148)

16 years agor21213: the build farm seems to show that FreeBSD 6.2 has two different error
Andrew Tridgell [Wed, 7 Feb 2007 03:21:56 +0000 (03:21 +0000)]
r21213: the build farm seems to show that FreeBSD 6.2 has two different error
codes for "Invalid argument". This change should help track that down
(This used to be commit 608aac7804754fed1c68b847676d7a71a586e4bb)

16 years agor21212: detect if the kernel does not support integrated epoll/aio when the
Andrew Tridgell [Wed, 7 Feb 2007 03:16:10 +0000 (03:16 +0000)]
r21212: detect if the kernel does not support integrated epoll/aio when the
event context is created. This allows the LOCAL-EVENT test to pass on
systems with have libaio but not the necessary kernel patches
(This used to be commit 2ff8abf0022824e6ae93019ee1b3391e651a8ee7)

16 years agor21211: fixed 3 places that assumed that torture_fail() didn't call
Andrew Tridgell [Wed, 7 Feb 2007 02:57:44 +0000 (02:57 +0000)]
r21211: fixed 3 places that assumed that torture_fail() didn't call
return. Having a lowercase macro that returns from a function is
probably a bad idea - it looks too much like a C function but doesn't
behave like one.
(This used to be commit e680656419f00fd8b4ddb996fd247bada0f0a51d)

16 years agor21208: fix a crash bug caused by r21205
Andrew Tridgell [Wed, 7 Feb 2007 00:54:33 +0000 (00:54 +0000)]
r21208: fix a crash bug caused by r21205

please test patches, even if they look trivial!
(This used to be commit 8134a628f06f0df2ee94612854e0fb3e2efc2eb8)

16 years agor21206: - a couple more nttrans places were a memcpy() should be used
Andrew Tridgell [Wed, 7 Feb 2007 00:21:29 +0000 (00:21 +0000)]
r21206: - a couple more nttrans places were a memcpy() should be used

- changed the setup array in nttrans to be a uint8 array, instead of a
  uint16 array. This makes it clearer that it is the job of the caller
  to do any byte swapping within that data
(This used to be commit fa3c9b29ae1c7c6a9bc97484cc386aeec9b5d266)

16 years agor21205: Fix warning.
Jelmer Vernooij [Wed, 7 Feb 2007 00:16:21 +0000 (00:16 +0000)]
r21205: Fix warning.

Trivial patch from "Lunar Child <luch@etersoft.ru>"
(This used to be commit 1b75a9ff2d7f91f13fbdfd136b40eca14867bf6f)

16 years agor21187: - Convert LdbBrowse to use TreeVirtual. This adds the following capabilities
Derrell Lipman [Tue, 6 Feb 2007 21:00:23 +0000 (21:00 +0000)]
r21187: - Convert LdbBrowse to use TreeVirtual.  This adds the following capabilities
  that Simo asked for:

  * One can now open a branch without selecting the row.  The previously
    selected row (if any) remains selected.

  * Selecting a row does not automatically open the branch.  That can be done
    by either clicking on the open/close button or pressing Enter while that
    row is selected.

  * The entire tree can now be disabled.  In LdbBrowse, the fsm is configured
    to disable the tree during each remote procedure call, so that a pile of
    requests don't get queued during RPC.

  The most obvious flaw with TreeVirtual right now, is that the tree does not
  properly resize (or even initially size itself) to its container.  Fixing
  that is my next task.  It's actually a generic Table issue that people have
  been asking for for ages: having columns resize themselves automagically.
(This used to be commit 23a8b777638f7f40d95e125de97d077ae964e796)

16 years agor21185: Fix PNG images in TreeVirtual, for when using IE
Derrell Lipman [Tue, 6 Feb 2007 20:57:22 +0000 (20:57 +0000)]
r21185: Fix PNG images in TreeVirtual, for when using IE
(This used to be commit 1dde7f477b1e887fab7a24845673510eb2c1c084)

16 years agor21183: Commit the big/little endian fix for nttrans setup[] handling.
Volker Lendecke [Tue, 6 Feb 2007 18:16:10 +0000 (18:16 +0000)]
r21183: Commit the big/little endian fix for nttrans setup[] handling.

Please check!

For code symmetry reasons, trans2 might also see this fix, but this is left to
the interested reader :-)

Volker
(This used to be commit f2d364ebe69fc5d624e456cc7d941071811a5567)

16 years agor21179: Anything more complex than this causes the keytab never to be updated...
Andrew Bartlett [Tue, 6 Feb 2007 12:27:23 +0000 (12:27 +0000)]
r21179: Anything more complex than this causes the keytab never to be updated...

Andrew Bartlett
(This used to be commit c3977b4bae1e1b5e4ff4a64c7146534536685e91)

16 years agor21178: Adapt RPC-SAMBA3-SHARESEC to new smbd behavior
Volker Lendecke [Tue, 6 Feb 2007 10:48:32 +0000 (10:48 +0000)]
r21178: Adapt RPC-SAMBA3-SHARESEC to new smbd behavior
(This used to be commit 38b688fd15a9103e5ef5c86e01b594169d6b6b9c)

16 years agor21175: Fix the kerberos keytab update code to handle deletes.
Andrew Bartlett [Tue, 6 Feb 2007 05:41:04 +0000 (05:41 +0000)]
r21175: Fix the kerberos keytab update code to handle deletes.

Fix the join code to know that the ldb layer handles the keytab update.

Andrew Bartlett
(This used to be commit d3fbc089f4161ae71b21077d50130fdabd8b2d77)

16 years agor21174: many thanks to Paul Wayper for pointing out that C99 requires a
Andrew Tridgell [Tue, 6 Feb 2007 05:26:25 +0000 (05:26 +0000)]
r21174: many thanks to Paul Wayper for pointing out that C99 requires a
matching va_end() for each va_copy(). This doesn't matter for most
architectures, but there could be some obscure ones where it does
matter.

some of this should be ported to Samba3
(This used to be commit 21eb316473486cb6b73bb3ff9c5f3a44ecd57e4a)

16 years agor21173: - keep the ctdb queue when reconnecting (this will need to be more
Andrew Tridgell [Tue, 6 Feb 2007 04:47:44 +0000 (04:47 +0000)]
r21173: - keep the ctdb queue when reconnecting (this will need to be more
  complex once we have code for changing the number of nodes)

- fixed a ctdb/tcp bug in the handling of multiple packets waiting on
  a socket
(This used to be commit faf9a1146cb5f33228a11e01b66cb3cbe18bd05d)

16 years agor21172: fixed a comment
Andrew Tridgell [Tue, 6 Feb 2007 04:45:26 +0000 (04:45 +0000)]
r21172: fixed a comment
(This used to be commit 2d6e082e813e18dcd43bc8d9a8f445f77e0a8452)

16 years agor21171: fixed a bug related to recursive event handling.
Andrew Tridgell [Tue, 6 Feb 2007 04:43:48 +0000 (04:43 +0000)]
r21171: fixed a bug related to recursive event handling.

If this happens:

  - two sockets are readable, and select/epoll/aio returns both of
    them
  - read event on socket1 is called
  - inside that read event an event_loop_once is called, this returns that
    socket2 is readable
  - read event on socket2 is called
  - event_loop_once returns
  - top level event handler then calls read event on socket2 (as it
    still has that listed as readable)
  - read handler for socket2 returns zero byte read, which is
    interpreted as end of file
  - socket is incorrectly closed

this happened with ctdb, but it could happen anywhere (just
rarely). The fix is trivial - ensure we break out of the event loop
when we have been called recursively.
(This used to be commit e042002bb5ee8974220e1ade56b64389571f75a6)

16 years agor21170: Latest qooxdoo required a minor server change
Derrell Lipman [Tue, 6 Feb 2007 04:42:52 +0000 (04:42 +0000)]
r21170: Latest qooxdoo required a minor server change
(This used to be commit a4a394c9bb42ed1883c95c10f9c24987d4ab4294)

16 years agor21169: - Step 3: Upgrade qooxdoo release code with latest qooxdoo svn's Table and
Derrell Lipman [Tue, 6 Feb 2007 04:35:30 +0000 (04:35 +0000)]
r21169: - Step 3: Upgrade qooxdoo release code with latest qooxdoo svn's Table and
  TreeVirtual.  The TreeVirtual that was in the release was a very early
  pre-release, and had a number of problems and missing features.  This brings
  it up-to-date and provides what seems to be a pretty well-working and highly
  useful widget.
(This used to be commit 194880f1ffde7f01997c120136854acd145189e9)

16 years agor21168: - Step 2: Update swat for the latest qooxdoo version. The build now copies
Derrell Lipman [Tue, 6 Feb 2007 03:31:23 +0000 (03:31 +0000)]
r21168: - Step 2: Update swat for the latest qooxdoo version.  The build now copies
  only those icons which are actually used.  This means that instead of a few
  thousand files getting copied to /usr/local/samba/share/webapps (or
  wherever), the number is less than an order of magnitude fewer.  This should
  make Andrew happier yet.
(This used to be commit 754c4fe01f91ecdbf156c757804118ef301bffe3)

16 years agor21167: - Upgrade to latest released qooxdoo. This is step 1 of the upgrade process,
Derrell Lipman [Tue, 6 Feb 2007 03:23:52 +0000 (03:23 +0000)]
r21167: - Upgrade to latest released qooxdoo.  This is step 1 of the upgrade process,
  which involves adding the latest SDK.  This new version has not 2, but 4
  icon themes.  In order to quiet Andrew B. who thinks that 9000+ files in a
  gui api is too many (come on, disk space is free these days :-), I have
  removed 3 of the 4 icon themes, leaving only the default, Nuvola.  That
  lowers the file count by 1/3.  I'm sure Andrew still isn't happy, but I hope
  he's a bit happier...  Step 2 will make him happier yet.
(This used to be commit d161c1382c36238105b85d0499d5a1011f580f52)

16 years agor21142: fix compiler warnings
Stefan Metzmacher [Mon, 5 Feb 2007 14:20:35 +0000 (14:20 +0000)]
r21142: fix compiler warnings

metze
(This used to be commit 1f8a037ac4f592d29f7d66e1f924efe1c5d8c2b0)

16 years agor21141: Attempt to fix the build
Volker Lendecke [Mon, 5 Feb 2007 13:42:54 +0000 (13:42 +0000)]
r21141: Attempt to fix the build
(This used to be commit 3f41a4b014a47b3c751066f5d1bef7f76f4be831)

16 years agor21140: enable the pending lock notify code in the ctdb backend so that timed
Andrew Tridgell [Mon, 5 Feb 2007 03:23:45 +0000 (03:23 +0000)]
r21140: enable the pending lock notify code in the ctdb backend so that timed
locks retry immediately when another blocking lock is removed.
(This used to be commit 169920a5341392e84d5b5fb5f39c2b9d5243bb3b)

16 years agor21139: make the RAW-MUX test fail if the locking subsystem doesn't trigger
Andrew Tridgell [Mon, 5 Feb 2007 03:04:01 +0000 (03:04 +0000)]
r21139: make the RAW-MUX test fail if the locking subsystem doesn't trigger
early byte range lock retries (ie. PENDING locks in brlock)
(This used to be commit 09237e3acf524f7e772acce2e652ef30b8ba4d65)

16 years agor21137: If you change the name of a constant in one file, it helps to ensure that...
Derrell Lipman [Sun, 4 Feb 2007 19:58:16 +0000 (19:58 +0000)]
r21137: If you change the name of a constant in one file, it helps to ensure that the use of the constant in other files is corrected as well.
(This used to be commit 1773d430176bc3cab37431c6a9991bc5c9c66dcd)

16 years agor21136: First attempt at implementing add/modify rpc calls.
Simo Sorce [Sun, 4 Feb 2007 19:21:17 +0000 (19:21 +0000)]
r21136: First attempt at implementing add/modify rpc calls.
The code does not work, but Derrell asked me to commit to analyze the problem.

Simo.
(This used to be commit 433591c430891fd5f0859fe3b685287b4fb166e5)

16 years agor21135: Instead of having hooks to update keytabs as an explicit thing, update
Andrew Bartlett [Sun, 4 Feb 2007 07:17:03 +0000 (07:17 +0000)]
r21135: Instead of having hooks to update keytabs as an explicit thing, update
them as a hook on ldb modify, via a module.

This should allow the secrets.ldb to be edited by the admin, and to
have things update in the on-disk keytab just as an in-memory keytab
would.

This isn't really a dsdb plugin, but I don't have any other good ideas
about where to put it.

Andrew Bartlett
(This used to be commit 6ce557a1aff4754d2622be8f1c6695d9ee788d54)

16 years agor21134: Attempt to quieten the build farm for Samba3
Volker Lendecke [Sat, 3 Feb 2007 17:46:32 +0000 (17:46 +0000)]
r21134: Attempt to quieten the build farm for Samba3
(This used to be commit 966c30ca591c410a4a229396c7919fe8f98bd066)

16 years agor21126: Enhance the modal window so that it gets focus and just presing enter works.
Simo Sorce [Fri, 2 Feb 2007 17:38:04 +0000 (17:38 +0000)]
r21126: Enhance the modal window so that it gets focus and just presing enter works.
Still I don't see the cursor :(

Swap -/+ buttons, you risk to delete an attribute by mistake when instead you want to add a new one,
and you might even not notice it.

Simo.
(This used to be commit afa61d59714686ceef1e33c46e8b504d5030eb10)

16 years agor21125: Tridge, please check this closely if this relaxed notify test is
Volker Lendecke [Fri, 2 Feb 2007 17:30:10 +0000 (17:30 +0000)]
r21125: Tridge, please check this closely if this relaxed notify test is
acceptable.

In Samba3 with inotify we have the problem that the MODIFIED action is sent
second. I think this could also happen in Samba4, depending on the order when
the different sockets (unix domain dgram / inotify) are looked at by the
events system.

This patch accepts the NEW/OLD/MODIFIED entries in any order.

Comments welcome!

Volker
(This used to be commit 72a7771b757c3aca637eb632abebab60bdd2da9f)

16 years agor21124: Samba3 does not support create times correctly.
Volker Lendecke [Fri, 2 Feb 2007 15:36:17 +0000 (15:36 +0000)]
r21124: Samba3 does not support create times correctly.

Volker
(This used to be commit c9886ce63b8cc085e0032ad2f6193c547336856d)

16 years agor21118: Looks a bit better ...
Simo Sorce [Thu, 1 Feb 2007 23:53:27 +0000 (23:53 +0000)]
r21118: Looks a bit better ...
(This used to be commit e2d1f6d291602d56011c7099485ecd1a5767fca5)

16 years agor21104: Rename struct watch_context to struct inotify_watch_context
Volker Lendecke [Thu, 1 Feb 2007 10:59:35 +0000 (10:59 +0000)]
r21104: Rename struct watch_context to struct inotify_watch_context
(This used to be commit 3548b1f683a7f5ccc6563de7e099d3a5a86ed39c)

16 years agor21103: This seems to do the 'right thing' in applying the correct access
Andrew Bartlett [Thu, 1 Feb 2007 01:27:02 +0000 (01:27 +0000)]
r21103: This seems to do the 'right thing' in applying the correct access
control to the SWAT ldb browser.  This should show up as the
authenticated user, rather than anonymous now.

Andrew Bartlet
(This used to be commit 48a5105f6bb0afcd22feb9448aba3006e6646848)

16 years agor21095: Expose all naming contexts
Simo Sorce [Wed, 31 Jan 2007 17:57:44 +0000 (17:57 +0000)]
r21095: Expose all naming contexts
(This used to be commit d25e828dbe479347894b197c94199c5540ac34e5)

16 years agor21086: add some notes
Stefan Metzmacher [Wed, 31 Jan 2007 14:05:09 +0000 (14:05 +0000)]
r21086: add some notes

metze
(This used to be commit dfbdb958419a041c1aff039810f7e9cb4320ec2c)

16 years agor21085: implement something like the parameter
Stefan Metzmacher [Wed, 31 Jan 2007 13:47:52 +0000 (13:47 +0000)]
r21085: implement something like the parameter
HKEY_LOCAL_MACHINE\System\CurrentControlset\Services\WINS\Parameters\Randomize1CList

nbtd:wins_randomize1Clist=yes
nbtd:wins_randomize1Clist_mask=255.255.0.0

metze
(This used to be commit eee635ab4d7ae8ffd8962b3d4518a7e6b5a90f97)

16 years agor21078: TP4 is just released
Stefan Metzmacher [Wed, 31 Jan 2007 12:28:05 +0000 (12:28 +0000)]
r21078: TP4 is just released

metze
(This used to be commit 1c942b7d8ffb97b70f17fd901033f54771274b96)

16 years agor21075: Generate parameters in structs for the server side Samba 3 code. The current...
Jelmer Vernooij [Wed, 31 Jan 2007 11:54:01 +0000 (11:54 +0000)]
r21075: Generate parameters in structs for the server side Samba 3 code. The current code in Samba 3 is already generated using this pidl patch.
(This used to be commit 30a06273d28fb59c6f20154f97c67f4c0a63dee9)

16 years agor21072: fix compiler warning
Stefan Metzmacher [Wed, 31 Jan 2007 09:25:37 +0000 (09:25 +0000)]
r21072: fix compiler warning

metze
(This used to be commit e788709835fa13b512fbf38951c9d0ca9bc3df18)

16 years agor21071: Move some of the key path variables into the mk-keyblobs.sh script.
Andrew Bartlett [Wed, 31 Jan 2007 07:08:36 +0000 (07:08 +0000)]
r21071: Move some of the key path variables into the mk-keyblobs.sh script.

Andrew Bartlett
(This used to be commit 1c466c6d6f02bf76f7f68e7dcd3d9a4c2a63179a)

16 years agor21069: Try to split up the mktestsetup.sh script into parts to deal with each
Andrew Bartlett [Wed, 31 Jan 2007 05:11:19 +0000 (05:11 +0000)]
r21069: Try to split up the mktestsetup.sh script into parts to deal with each
LDAP implementation, and another to hold the key blobs.

Also fix the OpenLDAP test.

Andrew Bartlett
(This used to be commit ec511c592bbb7df513fe6f62e06e1fa984431550)

16 years agor21068: Code to configure, start and stop Fedora DS.
Andrew Bartlett [Wed, 31 Jan 2007 01:28:55 +0000 (01:28 +0000)]
r21068: Code to configure, start and stop Fedora DS.

We can't actually use it, as we are stuck inside our socket_wrapper
network, and can't talk to it.

Andrew Bartlett
(This used to be commit bd564da6b9b45c438ef81b42dc156116ed81cbe7)

16 years agor21066: Fix the build (uninitialised variable).
Jelmer Vernooij [Wed, 31 Jan 2007 00:30:52 +0000 (00:30 +0000)]
r21066: Fix the build (uninitialised variable).
(This used to be commit 54b63787606f392e094fe28c2536999c34f76f44)

16 years agor21065: The framework is complete (yes the gui layout still sucks but that will
Simo Sorce [Wed, 31 Jan 2007 00:04:42 +0000 (00:04 +0000)]
r21065: The framework is complete (yes the gui layout still sucks but that will
be handled later)
next will be to build out the code to actually commit changes
(This used to be commit f0ddc503820aeec3557fe8d80b31c971fae7cdc1)

16 years agor21059: add an option to implement what windows wins server confgure via
Stefan Metzmacher [Tue, 30 Jan 2007 19:05:40 +0000 (19:05 +0000)]
r21059: add an option to implement what windows wins server confgure via
HKEY_LOCAL_MACHINE\System\CurrentControlset\Services\WINS\Parameters\Prepend1BTo1CQueries

nbtd:wins_prepend1Bto1Cqueries=no will turn it off

metze
(This used to be commit 5362eede6b097c3a62d5c4d59151f8e26d89f1c0)

16 years agor21055: Fix executable bit.
Jelmer Vernooij [Tue, 30 Jan 2007 12:10:42 +0000 (12:10 +0000)]
r21055: Fix executable bit.
(This used to be commit 7512270ffae4e72d70f6ca347f09708f1bf915ad)

16 years agor21048: Start coding add/modify widgets.
Simo Sorce [Tue, 30 Jan 2007 00:09:33 +0000 (00:09 +0000)]
r21048: Start coding add/modify widgets.
Not functional yet.
(This used to be commit 9cd488cf576929a51ec993fc61a215081fcedc29)

16 years agor21045: every call in brlock_ctdb ended up neededing a 32 bit status code, so
Andrew Tridgell [Mon, 29 Jan 2007 11:31:24 +0000 (11:31 +0000)]
r21045: every call in brlock_ctdb ended up neededing a 32 bit status code, so
rather than allocating a reply_data field each time, I have changed
the ctdb_call API to include a status code. That greatly simplifies
use of the API.
(This used to be commit 70c3acaf8876fa5712e2135df234fe3bc1e32e77)

16 years agor21044: - merge struct ctdb_call API changes from bzr tree
Andrew Tridgell [Mon, 29 Jan 2007 11:15:15 +0000 (11:15 +0000)]
r21044: - merge struct ctdb_call API changes from bzr tree

- convert brlock code to new API
(This used to be commit cf317480cb715dbaab87c06f824a1db14b09b298)

16 years agor21043: Work towards allowing Fedora DS to backend Samba4 in 'make test'.
Andrew Bartlett [Mon, 29 Jan 2007 07:46:02 +0000 (07:46 +0000)]
r21043: Work towards allowing Fedora DS to backend Samba4 in 'make test'.

Andrew Bartlett
(This used to be commit 92cea0b79011e9b86ab7e782c83ad5964a5925bd)

16 years agor21042: Fix typo
Volker Lendecke [Sun, 28 Jan 2007 18:25:46 +0000 (18:25 +0000)]
r21042: Fix typo
(This used to be commit eb83537a3b4889353cdc9bb471315a77e1f87c90)

16 years agor21041: Change some "private" to "private_data", and change one (void **) function
Volker Lendecke [Sun, 28 Jan 2007 17:03:10 +0000 (17:03 +0000)]
r21041: Change some "private" to "private_data", and change one (void **) function
parameter to (void *). void** in function parameters leads to type-punned
warnings.

Volker
(This used to be commit 57979d89c53b4363e4b447205703579df6756653)

16 years agor21040: Remove subunit runner (now written in perl in my perlselftest branch)
Jelmer Vernooij [Sun, 28 Jan 2007 13:14:52 +0000 (13:14 +0000)]
r21040: Remove subunit runner (now written in perl in my perlselftest branch)
(This used to be commit afe0d170b08deb712b91ee73cc00a444e989b480)

16 years agor21039: Test some more failure paths (trying to increase the lcov score).
Andrew Bartlett [Sun, 28 Jan 2007 07:58:39 +0000 (07:58 +0000)]
r21039: Test some more failure paths (trying to increase the lcov score).

Andrew Bartlett
(This used to be commit 76812a0337fbfcb19939c6ee7a57975b6d690a4d)

16 years agor21038: Move commands to distclean target
Jelmer Vernooij [Sun, 28 Jan 2007 01:05:47 +0000 (01:05 +0000)]
r21038: Move commands to distclean target
(This used to be commit 6713945fbab2df5b695c11df623f16d0abd1a772)

16 years agor21032: Skip two more tests
Jelmer Vernooij [Fri, 26 Jan 2007 15:25:09 +0000 (15:25 +0000)]
r21032: Skip two more tests
(This used to be commit 65cb965f11534a0636ab083219d84eb78dceecae)

16 years agor21031: Skip some tests that were not listed previously.
Jelmer Vernooij [Fri, 26 Jan 2007 14:48:12 +0000 (14:48 +0000)]
r21031: Skip some tests that were not listed previously.
(This used to be commit 7b160f18b26a5abe13b1cbc8039e57bd0cee86e0)

16 years agor21030: whoops, fix incorrect regex
Jelmer Vernooij [Fri, 26 Jan 2007 13:43:21 +0000 (13:43 +0000)]
r21030: whoops, fix incorrect regex
(This used to be commit 2c6cc617f9cc84c1cd9f6652d3a8ac9c605ab42c)

16 years agor21029: - Remove now unused failure checking code
Jelmer Vernooij [Fri, 26 Jan 2007 13:33:06 +0000 (13:33 +0000)]
r21029: - Remove now unused failure checking code
- Use --list option for smbtorture for local and nbt tests as well
(This used to be commit 053d5a40bc96b9503220f17f59677a0df6677a1e)

16 years agor21028: Generate list of tests rather than maintaining it manually.
Jelmer Vernooij [Fri, 26 Jan 2007 13:03:28 +0000 (13:03 +0000)]
r21028: Generate list of tests rather than maintaining it manually.
(This used to be commit 7de4727ceb5935dd5fca49db0331c4509f735362)

16 years agor21027: Print the name we fail on. I need to fix Samba4 to pass this.
Andrew Bartlett [Fri, 26 Jan 2007 09:50:56 +0000 (09:50 +0000)]
r21027: Print the name we fail on.  I need to fix Samba4 to pass this.

Andrew Bartlett
(This used to be commit 5e907ae795b49d6c120ddedee3ba6d11c06bfab4)

16 years agor21026: Add a helpful script to do the things we need to do to make a release
Andrew Bartlett [Fri, 26 Jan 2007 04:37:06 +0000 (04:37 +0000)]
r21026: Add a helpful script to do the things we need to do to make a release
tarball.

Andrew Bartlett
(This used to be commit 59752290438f9a1a10d81f798e1e9746508e4d5a)

16 years agor21023: Brad Henry pointed out some typos.
Andrew Bartlett [Fri, 26 Jan 2007 00:58:20 +0000 (00:58 +0000)]
r21023: Brad Henry pointed out some typos.

Andrew Bartlett
(This used to be commit 63ac42c59390d3d582051e5f760564867603662e)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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