samba.git
16 years agor21839: add my email address
Stefan Metzmacher [Wed, 14 Mar 2007 19:10:21 +0000 (19:10 +0000)]
r21839: add my email address

metze
(This used to be commit e3be33c1d9f9e44ef37e6ef72a23576474f6e725)

16 years agor21838: generate no metadata for constructed attributes
Stefan Metzmacher [Wed, 14 Mar 2007 12:07:56 +0000 (12:07 +0000)]
r21838: generate no metadata for constructed attributes

metze
(This used to be commit 7e0620e524886a66dbdb16f35fee4f51f2867a2a)

16 years agor21837: Make dcerpc_mgmt a separate library again, as the linker leaves it out when...
Jelmer Vernooij [Wed, 14 Mar 2007 00:44:29 +0000 (00:44 +0000)]
r21837: Make dcerpc_mgmt a separate library again, as the linker leaves it out when it's part of dcerpc.
(This used to be commit dc4428553ec2749ef1ba24fbffeaabf0af6bf364)

16 years agor21836: Assume that if an OpenLDAP system is 'modular' then everything is a
Andrew Bartlett [Tue, 13 Mar 2007 23:16:09 +0000 (23:16 +0000)]
r21836: Assume that if an OpenLDAP system is 'modular' then everything is a
module, so we have to bring in syncprov too.

Andrew Bartlett
(This used to be commit b9d06c70adcf34d3272797027b6cf89a174b862a)

16 years agor21835: fixed a rpc server bug where we failed to remove a call from one
Andrew Tridgell [Tue, 13 Mar 2007 22:58:23 +0000 (22:58 +0000)]
r21835: fixed a rpc server bug where we failed to remove a call from one
linked list when moving it to another. This could cause a valgrind
error under the RPC-SCANNER test.
(This used to be commit 9ba8c008513e362fbb860af899006505cadb4a2f)

16 years agor21834: Remove unnecessary includes
Jelmer Vernooij [Tue, 13 Mar 2007 22:03:04 +0000 (22:03 +0000)]
r21834: Remove unnecessary includes
(This used to be commit 7d10e192caa60b816466a9deddf736afd2445080)

16 years agor21833: Don't install static libs, they can't be used anyway.
Jelmer Vernooij [Tue, 13 Mar 2007 21:47:57 +0000 (21:47 +0000)]
r21833: Don't install static libs, they can't be used anyway.
(This used to be commit 6fb7097edfa222234505a4223c627dd506f5df7d)

16 years agor21832: Ignore some more autogenerated files.
Jelmer Vernooij [Tue, 13 Mar 2007 21:00:27 +0000 (21:00 +0000)]
r21832: Ignore some more autogenerated files.
(This used to be commit f7fc7e21922355afb5c66cf6b5afb69ad79a9b46)

16 years agor21830: Fix header installation, remove proto header with a single prototype.
Jelmer Vernooij [Tue, 13 Mar 2007 20:44:14 +0000 (20:44 +0000)]
r21830: Fix header installation, remove proto header with a single prototype.
(This used to be commit 47a17a741af625eb52f611b3d0f3ea0e207f2c3a)

16 years agor21829: Integrate mgmt in libdcerpc. We have enough libraries as it is and mgmt...
Jelmer Vernooij [Tue, 13 Mar 2007 20:26:35 +0000 (20:26 +0000)]
r21829:  Integrate mgmt in libdcerpc. We have enough libraries as it is and mgmt is part of the DCE/RPC standard.
(This used to be commit b0d05727b4e2688f182ae3427e3215b22562ae6c)

16 years agor21828: Hardcode prototypes, as they're a public API.
Jelmer Vernooij [Tue, 13 Mar 2007 20:08:44 +0000 (20:08 +0000)]
r21828: Hardcode prototypes, as they're a public API.
(This used to be commit 02ae0b9cde8a18498bc72583d8cac9b0217da4ad)

16 years agor21827: move comments to the place where the functionality is implemented
Stefan Metzmacher [Tue, 13 Mar 2007 18:17:31 +0000 (18:17 +0000)]
r21827: move comments to the place where the functionality is implemented

metze
(This used to be commit 5d49d8b9e149d320cb08c5c2a4fc4cb8bfd74129)

16 years agor21826: reorder functions
Stefan Metzmacher [Tue, 13 Mar 2007 18:12:21 +0000 (18:12 +0000)]
r21826: reorder functions

metze
(This used to be commit 3d0a810ccd5d7490d46f91ca6aef6052ca0c56c3)

16 years agor21821: move comment about the becoming a dc to the code which implements it
Stefan Metzmacher [Tue, 13 Mar 2007 15:41:25 +0000 (15:41 +0000)]
r21821: move comment about the becoming a dc to the code which implements it
and extent the comments a bit

metze
(This used to be commit 16c958600ea6d4481f32081262bf8bae4b56a247)

16 years agor21820: move function, so that all are in top-down order as they get called
Stefan Metzmacher [Tue, 13 Mar 2007 14:32:20 +0000 (14:32 +0000)]
r21820: move function, so that all are in top-down order as they get called

metze
(This used to be commit 38bb7f5445cf1d1a52a9edb21475ed2d5ed20ce4)

16 years agor21817: give fields a meaning
Stefan Metzmacher [Tue, 13 Mar 2007 11:10:48 +0000 (11:10 +0000)]
r21817: give fields a meaning

metze
(This used to be commit 521355b57b74dbdccc6ae15738345e1d989ce262)

16 years agor21814: use ndr_push_error in the ndr layer, not just a NTSTATUS failure
Andrew Tridgell [Tue, 13 Mar 2007 04:42:49 +0000 (04:42 +0000)]
r21814: use ndr_push_error in the ndr layer, not just a NTSTATUS failure
(This used to be commit 37aa32e2fe4829ec467c606cfcc7485508a2682c)

16 years agor21812: fixed an integer overflow error in the ndr push code.
Andrew Tridgell [Tue, 13 Mar 2007 04:18:07 +0000 (04:18 +0000)]
r21812: fixed an integer overflow error in the ndr push code.

This needs to be fixed in Samba3 as well. It might be exploitable (I
haven't confirmed one way or the other), so I think this should be
fixed for 3.0.25
(This used to be commit 4766175ff2d0de8af92046e29280c7893ac8fe1f)

16 years agor21811: fixed a queueing error in the dcerpc client code. WHen the
Andrew Tridgell [Tue, 13 Mar 2007 03:43:16 +0000 (03:43 +0000)]
r21811: fixed a queueing error in the dcerpc client code. WHen the
dcerpc_ship_next_request() logic was added the penidng queue was split
in two, but we also needed to update the code which removes requests
from the queue to know about the two queues. Following the pattern
used in other client libs, I based which queue to remove from on
req->state, and added a new state RPC_REQUEST_QUEUED. This fixes a
crash that happens when rpc requests time out.

This patch also fixes the handling of timed out bind requests, and the
talloc_reference handling in dcerpc_ndr_request_recv().
(This used to be commit f51a129b52d53059cc1567538f986400c0ea5602)

16 years agor21810: - The height of a widget is in relation to its enclosing widget. Specifying a
Derrell Lipman [Tue, 13 Mar 2007 02:58:05 +0000 (02:58 +0000)]
r21810: - The height of a widget is in relation to its enclosing widget.  Specifying a
  height of 100% means that if the enclosing widget is 100 pixels high, this
  widget should be 100 pixels high.  If this widget is then placed someplace
  other than at the top of the enclosing widget, e.g. with top:20, the bottom
  of this widget will fall off the bottom of the enclosing widget.

  The normal way to solve this is to specify top and bottom attributes rather
  than top and height attributes.  Also, since widgets often look better if
  they don't extend all the way to the very bottom, specifying a bottom
  attribute equal to the top attribute typically has an appealing appearance.

  I've fixed the tree widget so it no longer falls off the bottom of the page.
(This used to be commit 44d5f5ec6db76c981f94e7322f82592e5d85be9f)

16 years agor21809: - If the canvas is never initialized with the tree, the tree will never
Derrell Lipman [Tue, 13 Mar 2007 02:54:06 +0000 (02:54 +0000)]
r21809: - If the canvas is never initialized with the tree, the tree will never
  appear.  Now that the finite state machine properly ignores events from
  widgets which are not handled, the initialization of the tree should be done
  when the module's canvas appears (i.e. just after the canvas has had the
  module's gui applied to it).
(This used to be commit ab620c9554642f1289d6d0136fb104e475f22316)

16 years agor21808: - Fix a nasty bug in the finite state machine that allowed an event from a
Derrell Lipman [Tue, 13 Mar 2007 02:51:49 +0000 (02:51 +0000)]
r21808: - Fix a nasty bug in the finite state machine that allowed an event from a
  non-handled widget to be processed as if the event originated from a handled
  widget.  This was allowing the appear event for the module's canvas in
  Mimir's Net Manager (an event which was not handled) to load the tree,
  followed by the tree appear event (intended to be handled, albeit
  incorrectly -- see subsequent check-in of Mimir's Fsm.js) to again load the
  tree, thus the double entry.

  Wow, the above paragraph is really hard to read. :-)
(This used to be commit 512dc61e846669311b1605c6c4e1b49241c1c8be)

16 years agor21807: modularise the opendb code, so different backends can be
Andrew Tridgell [Tue, 13 Mar 2007 01:47:04 +0000 (01:47 +0000)]
r21807: modularise the opendb code, so different backends can be
implemented. This will allow for a ctdb opendb backend.
(This used to be commit 6b91ca0968209ad17489341c78d9610607cc8320)

16 years agor21806: I've been working over the last week to fix up the LDAP backend for
Andrew Bartlett [Tue, 13 Mar 2007 00:59:06 +0000 (00:59 +0000)]
r21806: I've been working over the last week to fix up the LDAP backend for
Samba4.  This only broke on global catalog queries, which turned out to
be due to changes in the partitions module that metze needed for his
DRSUAPI work.

I've reworked partitions.c to always include the 'problematic' control,
and therefore demonstrated that this is the issue.  This ensures
consistency, and should help with finding issues like this in future.

As this control (DSDB_CONTROL_CURRENT_PARTITION_OID) is not intended to
be linearised, I've added logic to allow it to be skipped when creating
network packets.

I've likewise make our LDAP server skip unknown controls, when marked
'not critical' on it's input, rather than just dropping the entire
request.  I need some help to generate a correct error packet when it is
marked critical.

Further work could perhaps be to have the ldap_encode routine return a
textual description of what failed to encode, as that would have saved
me a lot of time...

Andrew Bartlett
(This used to be commit eef710668f91d1bbaa2d834d9e653e11c8aac817)

16 years agor21805: Add PAC_TYPE_CONSTRAINED_DELEGATION to the PAC_TYPE enum.
Andrew Bartlett [Mon, 12 Mar 2007 23:39:00 +0000 (23:39 +0000)]
r21805: Add PAC_TYPE_CONSTRAINED_DELEGATION to the PAC_TYPE enum.
(This used to be commit 6fb3b4be10d204bec61a1fddd1c50c1c24d52ebf)

16 years agor21799: tell roken.h.in to not generate prototypes for setenv() and unsetenv()
Stefan Metzmacher [Mon, 12 Mar 2007 16:05:57 +0000 (16:05 +0000)]
r21799: tell roken.h.in to not generate prototypes for setenv() and unsetenv()

metze
(This used to be commit 974eb5eb6837685ee93efea814544cc7051c070e)

16 years agor21798: unsetenv() returns void on some platforms (BSD)
Stefan Metzmacher [Mon, 12 Mar 2007 11:37:12 +0000 (11:37 +0000)]
r21798: unsetenv() returns void on some platforms (BSD)

metze
(This used to be commit 9cdb9f1cee9af47e42e11357397b828b86632805)

16 years agor21797: remove the key directly from the environ array
Stefan Metzmacher [Mon, 12 Mar 2007 11:32:19 +0000 (11:32 +0000)]
r21797: remove the key directly from the environ array

inspired by:
http://cvs.linux-ha.org/viewcvs/viewcvs.cgi/linux-ha/replace/unsetenv.c?rev=1.4&view=auto

metze
(This used to be commit 8787525e518805f8445a376dc4964921598cb2e0)

16 years agor21796: check if unsetenv() works on an non-existing key
Stefan Metzmacher [Mon, 12 Mar 2007 11:31:06 +0000 (11:31 +0000)]
r21796: check if unsetenv() works on an non-existing key

metze
(This used to be commit c6b4f2d1518c989cacdc8869df89f02dc54857d7)

16 years agor21795: fix the prototype of unsetenv()...
Stefan Metzmacher [Mon, 12 Mar 2007 10:12:27 +0000 (10:12 +0000)]
r21795: fix the prototype of unsetenv()...

metze
(This used to be commit 2952c20b779fc6c797e2ab33ba3bda19cbb7a00d)

16 years agor21794: add setenv()/unsetenv() testsuite
Stefan Metzmacher [Mon, 12 Mar 2007 09:59:48 +0000 (09:59 +0000)]
r21794: add setenv()/unsetenv() testsuite

metze
(This used to be commit 3df206ddfadea5bf39a22e8c4c262764c79d302c)

16 years agor21793: add replacement for unsetenv()
Stefan Metzmacher [Mon, 12 Mar 2007 09:59:06 +0000 (09:59 +0000)]
r21793: add replacement for unsetenv()

metze
(This used to be commit d6de7f2cda70cfd55f0f7fbb9f3b93a5a58c6f51)

16 years agor21791: This test is still just as valid without as much CPU time wasted.
Andrew Bartlett [Mon, 12 Mar 2007 01:05:26 +0000 (01:05 +0000)]
r21791: This test is still just as valid without as much CPU time wasted.

Andrew Bartlett
(This used to be commit 3549785700cb412fae0e58c530faa40683952d55)

16 years agor21790: Setup the socket_wrapper_dir when we set the environment variable.
Andrew Bartlett [Mon, 12 Mar 2007 00:24:03 +0000 (00:24 +0000)]
r21790: Setup the socket_wrapper_dir when we set the environment variable.

Andrew Bartlett
(This used to be commit 5c07dbd2487c5c23355ad0e3db6e9f9caf8ce145)

16 years agor21789: We do actually need this, to get a contextCSN attribute, which we need
Andrew Bartlett [Mon, 12 Mar 2007 00:16:24 +0000 (00:16 +0000)]
r21789: We do actually need this, to get a contextCSN attribute, which we need
for USN support.

Andrew Bartlett
(This used to be commit 5f363502434e88c16920b219d7a854a22fee658f)

16 years agor21788: Add new JSON-RPC services.
Rafal Szczesniak [Sun, 11 Mar 2007 18:37:45 +0000 (18:37 +0000)]
r21788: Add new JSON-RPC services.

rafal
(This used to be commit 78e123518cbc808424e776751f4112fbaa8b74eb)

16 years agor21787: Add new module to the swat application.
Rafal Szczesniak [Sun, 11 Mar 2007 18:36:36 +0000 (18:36 +0000)]
r21787: Add new module to the swat application.

rafal
(This used to be commit de0f7c42be10d87dd9e5f230bb8e708dfb4b740b)

16 years agor21786: My initial attempts in qooxdoo coding. Derrell, please take
Rafal Szczesniak [Sun, 11 Mar 2007 18:35:19 +0000 (18:35 +0000)]
r21786: My initial attempts in qooxdoo coding. Derrell, please take
a look and I'll have a lot of questions to you.

rafal
(This used to be commit d92604ebd2f9d8d2d0a8883c193110780102912f)

16 years agor21773: fix typo orginating -> originating
Stefan Metzmacher [Fri, 9 Mar 2007 10:09:37 +0000 (10:09 +0000)]
r21773: fix typo orginating -> originating

and use the struct member names in all cases

metze
(This used to be commit c543ee57454d006c545e3e9e20c9ac0114081d3d)

16 years agor21772: add DS_BEHAVIOR_WIN2003_INTERIM constant
Stefan Metzmacher [Fri, 9 Mar 2007 07:20:50 +0000 (07:20 +0000)]
r21772: add DS_BEHAVIOR_WIN2003_INTERIM constant

metze
(This used to be commit 59fffa7ba148a082d0cf13226d0577b3fcd7b5ad)

16 years agor21771: We just don't need to test this on more than one transport.
Andrew Bartlett [Fri, 9 Mar 2007 06:48:36 +0000 (06:48 +0000)]
r21771: We just don't need to test this on more than one transport.

Andrew Bartlett
(This used to be commit c55edacba5f45a756a01baa1bf6401b4815bada8)

16 years agor21761: - Give more detail on LDAP client library failures (make it clear
Andrew Bartlett [Thu, 8 Mar 2007 06:23:39 +0000 (06:23 +0000)]
r21761: - Give more detail on LDAP client library failures (make it clear
  where the error is from)

- Make default error string more consistant

Andrew Bartlett
(This used to be commit 7f115579d20a3112efd11444fafcbf78698fc9a1)

16 years agor21760: Try to pin down were some errors are coming from. Ensure we at least
Andrew Bartlett [Thu, 8 Mar 2007 03:32:28 +0000 (03:32 +0000)]
r21760: Try to pin down were some errors are coming from.  Ensure we at least
name the module.

Andrew Bartlett
(This used to be commit 2e85b1583b3da95db9b5b724b38748ff7d1f9efd)

16 years agor21751: These 2 tests pass for me, so add them to the standard test script.
Andrew Bartlett [Wed, 7 Mar 2007 20:33:15 +0000 (20:33 +0000)]
r21751: These 2 tests pass for me, so add them to the standard test script.

Andrew Bartlett
(This used to be commit 8a5b3067e9ec8d7810687cd0a4909c02bdb86d15)

16 years agor21746: We don't link in this file any more.
Andrew Bartlett [Wed, 7 Mar 2007 11:42:21 +0000 (11:42 +0000)]
r21746: We don't link in this file any more.
(This used to be commit 123ae858c77c2507bdac6a93be1e2932a3fd7375)

16 years agor21745: indent
Andrew Bartlett [Wed, 7 Mar 2007 11:35:06 +0000 (11:35 +0000)]
r21745: indent
(This used to be commit 7841b299061ec8f4f6a14720dbe4fa7108313848)

16 years agor21744: Test more talloc failure cases.
Andrew Bartlett [Wed, 7 Mar 2007 11:15:44 +0000 (11:15 +0000)]
r21744: Test more talloc failure cases.

Andrew Bartlett
(This used to be commit ddf7354986a800455b6f55c2fdbeb8bb39381716)

16 years agor21743: Always use the 'escaped' LDAPI path.
Andrew Bartlett [Wed, 7 Mar 2007 11:05:59 +0000 (11:05 +0000)]
r21743: Always use the 'escaped' LDAPI path.

Wait around for the server to start, so we don't try to contact it
during it's starup phase.

Andrew Bartlett
(This used to be commit f484b0a924809dd8c9861ade8d184fb44b3b5e1f)

16 years agor21742: reenable the smbclient test now that the d_printf bug is fixed
Andrew Tridgell [Wed, 7 Mar 2007 10:29:39 +0000 (10:29 +0000)]
r21742: reenable the smbclient test now that the d_printf bug is fixed
(This used to be commit f483f5b26a702cffb72a46e0f172d82c18471e26)

16 years agor21741: Like starting smbd, ensure we have acutally started slapd, and it is
Andrew Bartlett [Wed, 7 Mar 2007 10:17:50 +0000 (10:17 +0000)]
r21741: Like starting smbd, ensure we have acutally started slapd, and it is
listening, before we continue.

Andrew Bartlett
(This used to be commit 171540e06a3eb42320238ad81bc9993e86137dc7)

16 years agor21740: this fixes the real cause of the large log files we had. The problem
Andrew Tridgell [Wed, 7 Mar 2007 10:00:14 +0000 (10:00 +0000)]
r21740: this fixes the real cause of the large log files we had. The problem
was we were not checking the result of a convert_string() call, and it
was giving -1. We then passed -1 to fwrite() on stdout, which on aix
and macosx wrote all of available memory to stdout :)

To fix this, replace non-printing chars with ? in d_printf if the
string cannot be converted
(This used to be commit d20102d363f4b9214e29296ad8ec45c8d95614b5)

16 years agor21739: Make it easy to change the log level for the slapd processes, and have
Andrew Bartlett [Wed, 7 Mar 2007 05:29:12 +0000 (05:29 +0000)]
r21739: Make it easy to change the log level for the slapd processes, and have
the logs go to a file.

Andrew Bartlett
(This used to be commit 9aaa19319718a5a8fcc1df066cbce67eaa3431d8)

16 years agor21737: Print the error strings in the ejs ldb test.
Andrew Bartlett [Wed, 7 Mar 2007 04:25:52 +0000 (04:25 +0000)]
r21737: Print the error strings in the ejs ldb test.
(This used to be commit fed42cf5a359e8dcbabd82dba5b18058260ddc07)

16 years agor21736: Fix the smbclient test to do something more interesting with the last
Andrew Bartlett [Wed, 7 Mar 2007 04:20:10 +0000 (04:20 +0000)]
r21736: Fix the smbclient test to do something more interesting with the last
few authentication tests.  Now that the tests correctly 'fail', I was
able to fix the credentials subsystem to honour USER and PASSWD.

To get --machine-pass working, I needed ldb to always load it's static
modules, so I put this in ldb_connect().

Andrew Bartlett
(This used to be commit 3430d8c072407a1c33c32229095fc9db2142b6fa)

16 years agor21735: skip the smbclient test until jelmer can take a look at it. The
Andrew Tridgell [Wed, 7 Mar 2007 03:10:30 +0000 (03:10 +0000)]
r21735: skip the smbclient test until jelmer can take a look at it. The
current test makes no sense with the new test system. For example, it
does "mkdir bla" then "cd bla" then "cd ..", but it now does these as
separate smbclient commands, which makes no sense at all. It even
seems to try to run them in parallel???

The test fails (segfault, plus lots of errors), but gets reported as a
success
(This used to be commit 9e3bbdee50a5372fa79c493c1cf1c378f1068467)

16 years agor21733: Merge testenv back into core selftest.pl
Jelmer Vernooij [Wed, 7 Mar 2007 02:11:40 +0000 (02:11 +0000)]
r21733: Merge testenv back into core selftest.pl
(This used to be commit 4b78ed3a606b6697512f1e4e9b9c6c93816e71f8)

16 years agor21732: Use smbtorture for enumerating tests.
Jelmer Vernooij [Wed, 7 Mar 2007 01:46:02 +0000 (01:46 +0000)]
r21732: Use smbtorture for enumerating tests.
(This used to be commit f6aa921521ab6b091823643b7df30d2f5af620ab)

16 years agor21730: Reintroduce summary for testenv, remove old (no longer used) file.
Jelmer Vernooij [Tue, 6 Mar 2007 23:23:15 +0000 (23:23 +0000)]
r21730: Reintroduce summary for testenv, remove old (no longer used) file.
(This used to be commit 0140aa5fd9e634620d42b8c4cdd4f43c6b681102)

16 years agor21729: Some more tests
Jelmer Vernooij [Tue, 6 Mar 2007 23:03:34 +0000 (23:03 +0000)]
r21729: Some more tests
(This used to be commit d2baa8218cf504d6631d610f9fd393ad8c61574c)

16 years agor21728: Perhaps we don't need this on recent OpenLDAP servers. This overlay
Andrew Bartlett [Tue, 6 Mar 2007 22:54:42 +0000 (22:54 +0000)]
r21728: Perhaps we don't need this on recent OpenLDAP servers.  This overlay
is depricated.

Andrew Bartlett
(This used to be commit 32e39b377ac3b3592c226428728c4238f6c9f8f0)

16 years agor21727: Walk some more of the error branches in the ChangePasswordUser server.
Andrew Bartlett [Tue, 6 Mar 2007 22:22:25 +0000 (22:22 +0000)]
r21727: Walk some more of the error branches in the ChangePasswordUser server.

Andrew
(This used to be commit c1ee06703ac09708a8ff10a641b593362f1bd309)

16 years agor21722: Add the dead record functionality presented on samba-technical@samba.org. If
Volker Lendecke [Tue, 6 Mar 2007 10:11:15 +0000 (10:11 +0000)]
r21722: Add the dead record functionality presented on samba-technical@samba.org. If
you do a tdb_set_max_dead(tdb, n), then for this tdb a delete operation will
only mark a record as dead and re-use it if a new record is created. The
parameter n allows for at most n dead records per hash chain. If this number
is exceeded, all dead records are put on the central freelist.

Volker
(This used to be commit 98a27ab28a3cd554e370a9a0e3652f4dea8749e9)

16 years agor21721: Push the 'Success! Your new directory server instance was created'
Andrew Bartlett [Tue, 6 Mar 2007 08:21:45 +0000 (08:21 +0000)]
r21721: Push the 'Success!  Your new directory server instance was created'
message to stderr.

Andrew Bartlett
(This used to be commit 0b8b3f66716a8602438d9e9268c25ea14c2f564f)

16 years agor21720: Try to make 'TEST_LDAP=yes make test' work again. These recent
Andrew Bartlett [Tue, 6 Mar 2007 06:30:36 +0000 (06:30 +0000)]
r21720: Try to make 'TEST_LDAP=yes make test' work again.  These recent
changes seem to have been lost in the merge, and some variables were
not yet exported.

Andrew Bartlett
(This used to be commit ee9d9fb6c0bd3d4d01dea771025536ff83057072)

16 years agor21719: Try to cover more of the server-side password processing.
Andrew Bartlett [Tue, 6 Mar 2007 05:30:25 +0000 (05:30 +0000)]
r21719: Try to cover more of the server-side password processing.

Don't just exit the test with 'return True', actually process the result.

Turn off password complexity checking for the password length test.

Andrew Bartlett
(This used to be commit 1a7635baa701c6268eebd84dd0dc187379c44e6e)

16 years agor21716: Report status in a way the build farm recognizes.
Jelmer Vernooij [Tue, 6 Mar 2007 00:45:30 +0000 (00:45 +0000)]
r21716: Report status in a way the build farm recognizes.
(This used to be commit 8d775e87b58d3f6d87338197728530c94b8c841b)

16 years agor21713: Redirect stderr output to stdout.
Jelmer Vernooij [Mon, 5 Mar 2007 23:12:50 +0000 (23:12 +0000)]
r21713: Redirect stderr output to stdout.
(This used to be commit a5000b286d6ffb847edf47404f82ff93173208c4)

16 years agor21712: Run tdb stress test.
Jelmer Vernooij [Mon, 5 Mar 2007 23:01:41 +0000 (23:01 +0000)]
r21712: Run tdb stress test.
(This used to be commit e480beb9569421da103aafb440eb687daa2359f3)

16 years agor21710: Add client support for the UNIX_INFO2 info level in the QueryFile,
James Peach [Mon, 5 Mar 2007 22:26:38 +0000 (22:26 +0000)]
r21710: Add client support for the UNIX_INFO2 info level in the QueryFile,
QueryPath and FindFirst calls. Add a new torture test to verify the
server side.
(This used to be commit 7f56da2d1fa0718e5282bb4aea7d9a63a62f0bc7)

16 years agor21709: Add a list of tests that should be skipped rather than ad-hoc test skipping...
Jelmer Vernooij [Mon, 5 Mar 2007 22:24:21 +0000 (22:24 +0000)]
r21709: Add a list of tests that should be skipped rather than ad-hoc test skipping in various places.
(This used to be commit 01befd52111b8c183d78f9e0d80065fe0825b87c)

16 years agor21707: Finally merge my (long-living) perlselftest branch.
Jelmer Vernooij [Mon, 5 Mar 2007 21:28:55 +0000 (21:28 +0000)]
r21707: Finally merge my (long-living) perlselftest branch.

This changes the main selftest code to be in perl rather than in shell script.

The selftest script is now no longer a black box but a regular executable that takes
--help.

This adds the following features:

 * "make test TESTS=foo" will run only the tests that match the regex "foo"
 * ability to deal with expected failures. the suite will not warn about tests
   that fail and are known to fail, but will warn about other failing tests and
   tests that are succeeding tests but incorrectly marked as failing.
 * ability to print a summary with all failures at the end of the run

It also opens up the way to the following features, which I hope to implement later:
 * "environments", for example having a complete domains with DCs and domain members
 in a testenvironment
 * only set up smbd if necessary (not when running LOCAL tests, for example)
 * different mktestsetup scripts per target. except for the mktestsetup script, we can
   use the same infrastructure for samba 3 or windows.
(This used to be commit 38f867880beb40c691e9713f854426031310629c)

16 years agor21701: Fix ejs tests.
Jelmer Vernooij [Mon, 5 Mar 2007 14:18:07 +0000 (14:18 +0000)]
r21701: Fix ejs tests.
(This used to be commit e4cf8f1dea9063b9b83e629ea0e7a116bf4fc5f7)

16 years agor21700: Run mktestsetup as an external program. This guarantees that it can be used...
Jelmer Vernooij [Mon, 5 Mar 2007 13:51:05 +0000 (13:51 +0000)]
r21700: Run mktestsetup as an external program. This guarantees that it can be used for other selftest implementations (in particular the perl one I've been working on).
(This used to be commit aa29907327a91a64c769b1f2712f553e13964418)

16 years agor21699: Because TALLOC_CTX is a void*, I didn't get a compiler warning about
Andrew Bartlett [Mon, 5 Mar 2007 11:48:15 +0000 (11:48 +0000)]
r21699: Because TALLOC_CTX is a void*, I didn't get a compiler warning about
this incorrect argument.

This also fixes the server-side valgrind issue, but we need to chase
down the real issue.

Andrew Bartlett
(This used to be commit a0c78a75acb9bc581dd8d2688aa91d7b59549c3e)

16 years agor21698: Check for talloc failures.
Andrew Bartlett [Mon, 5 Mar 2007 10:28:24 +0000 (10:28 +0000)]
r21698: Check for talloc failures.

Andrew Bartlett
(This used to be commit c9eb5bf19a702af32a4e4f109a27e4076303efdc)

16 years agor21697: Try to cover the 'bad session key' codepaths too.
Andrew Bartlett [Mon, 5 Mar 2007 09:54:37 +0000 (09:54 +0000)]
r21697: Try to cover the 'bad session key' codepaths too.

Andrew Bartlett
(This used to be commit 33cfe1ca221de9ef9dec264772fb299125c39447)

16 years agor21696: Run the RPC-COUNTCALLS test to try and walk some of the NDR layer for
Andrew Bartlett [Mon, 5 Mar 2007 03:02:43 +0000 (03:02 +0000)]
r21696: Run the RPC-COUNTCALLS test to try and walk some of the NDR layer for
routines for which we don't have any tests.

Andrew Bartlett
(This used to be commit e5b9bdf03729a913f3c6cc7709abcbdf50899562)

16 years agor21695: Fix on bigendian systems.
Jelmer Vernooij [Mon, 5 Mar 2007 01:58:35 +0000 (01:58 +0000)]
r21695: Fix on bigendian systems.
(This used to be commit 98f92dd6a1e7f096b328d80c5efdc6600a5de007)

16 years agor21694: Some more testing updates.
Jelmer Vernooij [Mon, 5 Mar 2007 01:50:33 +0000 (01:50 +0000)]
r21694: Some more testing updates.
(This used to be commit 9247626b1c5f1eec0cedd6be221aafc41d9a26ab)

16 years agor21693: Fix the RPC-SCANNER test. Share some code with the RPC-MGMT test to
Andrew Bartlett [Mon, 5 Mar 2007 01:23:44 +0000 (01:23 +0000)]
r21693: Fix the RPC-SCANNER test.  Share some code with the RPC-MGMT test to
make things easier to keep working.

Andrew Bartlett
(This used to be commit 16db4c1436725e41ea05628f20fc9396d7bd7eaa)

16 years agor21692: Test with LDAP, but without the non-block testing. This is not
Andrew Bartlett [Mon, 5 Mar 2007 00:18:38 +0000 (00:18 +0000)]
r21692: Test with LDAP, but without the non-block testing.  This is not
compatible with the TLS layer at the moment.

https://bugzilla.samba.org/show_bug.cgi?id=4431

Andrew Bartlett
(This used to be commit 1e401286f94897f83d89d1a87027e988eb6deac5)

16 years agor21691: Add testsuite for lib/charset
Jelmer Vernooij [Mon, 5 Mar 2007 00:11:46 +0000 (00:11 +0000)]
r21691: Add testsuite for lib/charset
(This used to be commit a4184893959bb25541704938ee621e5c575b817d)

16 years agor21690: Test use of typedef /and/ struct name
Jelmer Vernooij [Mon, 5 Mar 2007 00:03:44 +0000 (00:03 +0000)]
r21690: Test use of typedef /and/ struct name
(This used to be commit f6d9cdb8a8eca6ff986504d4481b5165aee770c6)

16 years agor21689: Try to walk a bit more of the param/loadparm.c functions, as well as
Andrew Bartlett [Sun, 4 Mar 2007 23:55:43 +0000 (23:55 +0000)]
r21689: Try to walk a bit more of the param/loadparm.c functions, as well as
validating that we have a correct configuration before we even start
testing.

Andrew Bartlett
(This used to be commit c399b20b44d396dea69ed81b7d80982611ed25e4)

16 years agor21688: Add simple tests for genrand
Jelmer Vernooij [Sun, 4 Mar 2007 22:36:41 +0000 (22:36 +0000)]
r21688: Add simple tests for genrand
(This used to be commit 90f23f0de86bb63ad65556ff2dab8b066236f300)

16 years agor21687: Always test LDAP and LDAPS
Andrew Bartlett [Sun, 4 Mar 2007 21:16:57 +0000 (21:16 +0000)]
r21687: Always test LDAP and LDAPS
(This used to be commit e830b815962da575aea9f9dc6bfee8eda8ec43c9)

16 years agor21686: Do enable TLS, as we have solved the key setup problems, and we need
Andrew Bartlett [Sun, 4 Mar 2007 21:02:48 +0000 (21:02 +0000)]
r21686: Do enable TLS, as we have solved the key setup problems, and we need
to get the TLS code covered.

Andrew Bartlett
(This used to be commit 4aa928dac3797664c498094f171ef111f10ab30a)

16 years agor21685: Add some unit tests for the registry utility functions.
Jelmer Vernooij [Sun, 4 Mar 2007 19:52:16 +0000 (19:52 +0000)]
r21685: Add some unit tests for the registry utility functions.
(This used to be commit 0ae6d18ebe382a378ff1dc65069c629d8060ac2b)

16 years agor21684: remove summary line for gtk code, as it's now maintained out-of-tree
Jelmer Vernooij [Sun, 4 Mar 2007 18:35:42 +0000 (18:35 +0000)]
r21684: remove summary line for gtk code, as it's now maintained out-of-tree
(This used to be commit 0200971142b15248d7979746e4c3ada14e62bf4f)

16 years agor21683: Remove the gconf registry backend.
Jelmer Vernooij [Sun, 4 Mar 2007 18:21:59 +0000 (18:21 +0000)]
r21683: Remove the gconf registry backend.

It's already been disabled for a while, as it required some compile flags that broke other things.

While this backend was an interesting proof-of-concept, this module doesn't really add any value.
It's not possible to map between windows registry and gconf semantics and I can't think of
any reason why you would want to do so.
(This used to be commit 02481df3e8653ab366cb73d124e52bc9551bb717)

16 years agor21682: Remove accidently committed debug command.
Jelmer Vernooij [Sun, 4 Mar 2007 14:31:18 +0000 (14:31 +0000)]
r21682: Remove accidently committed debug command.
(This used to be commit 74a3681d65f570acf2756b40e0ad82799b86e9ec)

16 years agor21681: Fix bug in the parsing code that parsed "struct foo;" the same as
Jelmer Vernooij [Sun, 4 Mar 2007 14:16:52 +0000 (14:16 +0000)]
r21681: Fix bug in the parsing code that parsed "struct foo;" the same as
"struct foo {};".

Reported by one of the OpenChange folks, thanks!
(This used to be commit d65b520f08ea4ee82c35ff334a58aa6ffc403d67)

16 years agor21680: Reenable CLDAP test
Jelmer Vernooij [Sat, 3 Mar 2007 18:42:11 +0000 (18:42 +0000)]
r21680: Reenable CLDAP test
(This used to be commit c6dfc90daf9c7ce0fe9a4d4ac7c1c278a694ef9f)

16 years agor21679: Disable upgrade test for now, I can't get it to work.
Jelmer Vernooij [Sat, 3 Mar 2007 16:22:05 +0000 (16:22 +0000)]
r21679: Disable upgrade test for now, I can't get it to work.
(This used to be commit 4929c07261443887608a845de16f1fb786efb7ba)

16 years agor21678: Don't generate Requires.private lines for install .pc files. Static library...
Jelmer Vernooij [Sat, 3 Mar 2007 15:53:09 +0000 (15:53 +0000)]
r21678: Don't generate Requires.private lines for install .pc files. Static library use by external programs is still broken, but this should at least fix shared libs.
(This used to be commit 06659bce1b5dc7529d0984deadd451478c082773)

16 years agor21677: Run some of the other ldap tests, too
Jelmer Vernooij [Sat, 3 Mar 2007 15:34:53 +0000 (15:34 +0000)]
r21677: Run some of the other ldap tests, too
(This used to be commit b8f43e1eb1f626690df61e75ce1a06a94d19cf64)

16 years agor21676: Run more NET tests
Jelmer Vernooij [Sat, 3 Mar 2007 15:27:45 +0000 (15:27 +0000)]
r21676: Run more NET tests
(This used to be commit 06eb2faebb331e9385f39b27e82e399d34b8b938)

16 years agor21675: Run some more of the NET tests.
Jelmer Vernooij [Sat, 3 Mar 2007 15:12:33 +0000 (15:12 +0000)]
r21675: Run some more of the NET tests.
(This used to be commit 778a150f35152ae435632434561fb205d25bc604)

16 years agor21674: Fix argument
Jelmer Vernooij [Sat, 3 Mar 2007 15:01:05 +0000 (15:01 +0000)]
r21674: Fix argument
(This used to be commit 43e1cccf112f850cb70ab78f56ea1d0c233e45fa)

16 years agor21673: Fix Samba 3 data read tests. I can't figure out why the upgrade one is broken...
Jelmer Vernooij [Sat, 3 Mar 2007 02:06:54 +0000 (02:06 +0000)]
r21673: Fix Samba 3 data read tests. I can't figure out why the upgrade one is broken, so that one is still disabled.
(This used to be commit ef794f03d50022a77303c77045a04d9407d07cbc)