nivanova/samba-autobuild/.git
16 years agor22077: Import only necessary test variables, more refactoring.
Jelmer Vernooij [Wed, 4 Apr 2007 14:24:44 +0000 (14:24 +0000)]
r22077: Import only necessary test variables, more refactoring.
(This used to be commit 150bb2238ea91ead3bdde0a34ff801b79bc83ec3)

16 years agor22076: Fill in short and long domain names into the generated krb5.conf
Andrew Bartlett [Wed, 4 Apr 2007 12:40:19 +0000 (12:40 +0000)]
r22076: Fill in short and long domain names into the generated krb5.conf
(This used to be commit c366610cbc947af84fff3313232ddbc213d61737)

16 years agor22075: Configure the bitwise match plugin, until it becomes accepted upstream.
Andrew Bartlett [Wed, 4 Apr 2007 12:39:44 +0000 (12:39 +0000)]
r22075: Configure the bitwise match plugin, until it becomes accepted upstream.

Andrew Bartlett
(This used to be commit ce080b107c6182c3cf28ec2d3b161c5f4a5a90af)

16 years agor22074: More refactoring.
Jelmer Vernooij [Wed, 4 Apr 2007 12:23:10 +0000 (12:23 +0000)]
r22074: More refactoring.
(This used to be commit b0e0c5cb94fc6d96dff9acd55ec632e3dd461b17)

16 years agor22072: in order to implement the opendb ctdb backend, I've found that the
Andrew Tridgell [Wed, 4 Apr 2007 06:06:52 +0000 (06:06 +0000)]
r22072: in order to implement the opendb ctdb backend, I've found that the
existing ctdb_call() mechanism isn't sufficient. The main problem is
that the operations on the record need to be done with a lock held
while a local posix file operation is happening. We can't use a
ctdb_call callback function to do the actual file opens, renames,
unlinks etc as the callback would run on the wrong node.

So this commit adds the prototypes for two new ctdb API functions
which will make a opendb backend easier. Volker will probably
recognise these functions as they are basically the same as what he
did in his earlier Samba clustering code :-)
(This used to be commit d9a997fd390e4162c015435d1c703fb3a4978f2f)

16 years agor22070: merge in the changes from the bzr ctdb tree, and convert the brlock
Andrew Tridgell [Wed, 4 Apr 2007 04:57:30 +0000 (04:57 +0000)]
r22070: merge in the changes from the bzr ctdb tree, and convert the brlock
ctdb backend to use the updated multi-database API
(This used to be commit 44dcac9e4d81bfc078512248967b6240db9d1bd8)

16 years agor22063: Fix the RPC-EPMAPPER test.
Jelmer Vernooij [Tue, 3 Apr 2007 22:43:35 +0000 (22:43 +0000)]
r22063: Fix the RPC-EPMAPPER test.
(This used to be commit 101cdd1ec1933874e3cb961f4eb365cbd31a728a)

16 years agor22053: remove samba3 specific stuff from tdbtool
Stefan Metzmacher [Tue, 3 Apr 2007 09:08:18 +0000 (09:08 +0000)]
r22053: remove samba3 specific stuff from tdbtool

should I merge this to SAMBA_3_0? as it's also totally
broken there, as the connection_struct definition is completely
different

metze
(This used to be commit 5677b01d1dc63276a36daac400d5b0d935034ce6)

16 years agor22052: merge tdbtool from samba3 and build it
Stefan Metzmacher [Tue, 3 Apr 2007 07:04:37 +0000 (07:04 +0000)]
r22052: merge tdbtool from samba3 and build it

metze
(This used to be commit f471e752161e392ef7324df30517af1818a27d1d)

16 years agor22048: Sigh. Commit the other half of r22047.
James Peach [Mon, 2 Apr 2007 21:26:32 +0000 (21:26 +0000)]
r22048: Sigh. Commit the other half of r22047.
(This used to be commit cbc15e963af67d6b7b4ad7b1f249667e2d7f7fd9)

16 years agor22047: Move suffix rules into smb_build. Enable $< if we are building with
James Peach [Mon, 2 Apr 2007 21:21:56 +0000 (21:21 +0000)]
r22047: Move suffix rules into smb_build. Enable $< if we are building with
GNU Make. This lets GNU Make users bild with $srcdir != $builddir.
(This used to be commit bb473bf856c0108646c67792d5750c84743ea46e)

16 years agor22046: Rever r22040, which breaks the build on FreeBSD 5.4 (BSD make).
James Peach [Mon, 2 Apr 2007 20:19:00 +0000 (20:19 +0000)]
r22046: Rever r22040, which breaks the build on FreeBSD 5.4 (BSD make).
(This used to be commit 5a96812929cc8521566017c881b4c3459e7b8a91)

16 years agor22041: merge trivial changes from samba3
Stefan Metzmacher [Mon, 2 Apr 2007 18:56:25 +0000 (18:56 +0000)]
r22041: merge trivial changes from samba3

metze
(This used to be commit 902a76ca705f07c61f86a9ef1346583ba9d3157d)

16 years agor22040: Use $< to specify the immediate prerequisit instead of $*. This is
James Peach [Mon, 2 Apr 2007 18:43:31 +0000 (18:43 +0000)]
r22040: Use $< to specify the immediate prerequisit instead of $*. This is
needed for VPATH to find the correct files when srcdir != builddir.

This checkin is a test to see which platforms this change will break.
(This used to be commit 1d4e836a50ffea452e688e25c2cae02a410247be)

16 years agor22038: - fix perl warning
Stefan Metzmacher [Mon, 2 Apr 2007 18:14:27 +0000 (18:14 +0000)]
r22038: - fix perl warning
- use the same if statement as in input.pm

metze
(This used to be commit 8ffcac65be216df8d1701b900a933b99d6d9a77d)

16 years agor22037: Make sure STATICDIR exists before linking a static archive.
James Peach [Mon, 2 Apr 2007 17:29:03 +0000 (17:29 +0000)]
r22037: Make sure STATICDIR exists before linking a static archive.
(This used to be commit c8ffdc15420c9b849b8d8e930f644ac6f83dcc77)

16 years agor22036: Make sure both srcdir and builddir are in VPATH.
James Peach [Mon, 2 Apr 2007 17:26:18 +0000 (17:26 +0000)]
r22036: Make sure both srcdir and builddir are in VPATH.
(This used to be commit 9400f07738eeedb08f38426964ac23b5d4312de9)

16 years agor22035: Introduce HOSTLD which is needed to link the asn1 compiler when cross
James Peach [Mon, 2 Apr 2007 17:23:23 +0000 (17:23 +0000)]
r22035: Introduce HOSTLD which is needed to link the asn1 compiler when cross
compiling.
(This used to be commit 976343821b99b04725c9fddee42dbcd0261c2d51)

16 years agor22034: Use builddir and srcdir instead on samba_builddir and samba_srcdir.
James Peach [Mon, 2 Apr 2007 17:17:40 +0000 (17:17 +0000)]
r22034: Use builddir and srcdir instead on samba_builddir and samba_srcdir.
(This used to be commit 8b19b8bfbed3e25d1c4e94d1cf3def4f878f8acf)

16 years agor22032: Make sure static libraries end up in bin/static.
James Peach [Mon, 2 Apr 2007 17:14:43 +0000 (17:14 +0000)]
r22032: Make sure static libraries end up in bin/static.
(This used to be commit 316283170a411bf751d1bf155f119d1ac0e7d27f)

16 years agor22031: Make sure we rewrite the include directives in CFLAGS to contain
James Peach [Mon, 2 Apr 2007 17:11:36 +0000 (17:11 +0000)]
r22031: Make sure we rewrite the include directives in CFLAGS to contain
paths from builddir and srcdir. builddir has precedence.
(This used to be commit af87c22ecf357c3e83b46cf38acec5b94686d3e9)

16 years agor22030: Simplify include parsing for config.mk files, making sure we get
James Peach [Mon, 2 Apr 2007 17:08:21 +0000 (17:08 +0000)]
r22030: Simplify include parsing for config.mk files, making sure we get
it right for the srcdir != builddir case. Emit some comment lines
that can be used to figure out which parts of the Makefile output
is generated from which config files.
(This used to be commit bdb1532d3a0fc73e615f66966c3d633c7e93fbb6)

16 years agor22029: Make sure we respect $srcdir correctly for the srcdir != builddir case.
James Peach [Mon, 2 Apr 2007 17:06:14 +0000 (17:06 +0000)]
r22029: Make sure we respect $srcdir correctly for the srcdir != builddir case.
(This used to be commit 0db4256a472975c5097135fa87315038a1350a72)

16 years agor22028: Fix include path for the srcidr != builddir case.
James Peach [Mon, 2 Apr 2007 17:03:30 +0000 (17:03 +0000)]
r22028: Fix include path for the srcidr != builddir case.
(This used to be commit a6141d40b15d52d40998c6206d632a27122a0060)

16 years agor22027: Allow separate build and source directories. Don't follow symlinks
James Peach [Mon, 2 Apr 2007 17:02:52 +0000 (17:02 +0000)]
r22027: Allow separate build and source directories. Don't follow symlinks
when copying hemidal_build since this leads to traversal loops.
(This used to be commit ef32ad83d2edbd8fe638d1f5493b960d2e09b6ae)

16 years agor22025: patch from Ronnie to make locktest also test the behaviour of pid
Andrew Tridgell [Mon, 2 Apr 2007 07:06:49 +0000 (07:06 +0000)]
r22025: patch from Ronnie to make locktest also test the behaviour of pid
changes in the locks
(This used to be commit 369b185f291f73e4e92481952781c13d59c068fd)

16 years agor22021: use the pid specified in the individual locks, not the request pid, in
Andrew Tridgell [Mon, 2 Apr 2007 04:47:19 +0000 (04:47 +0000)]
r22021: use the pid specified in the individual locks, not the request pid, in
locking requests.

This fixes a bug noticed by Ronnie Sahlberg (thanks!)
(This used to be commit b4ac085816cbec93c9fd4543a7ce48c5f3f9dca6)

16 years agor22005: Add more code (doesn't work at the moment) preparing a place for
Rafal Szczesniak [Wed, 28 Mar 2007 23:01:35 +0000 (23:01 +0000)]
r22005: Add more code (doesn't work at the moment) preparing a place for
listing user accounts.

rafal
(This used to be commit aac34f79d05654d094c8d91ad8e8b7f8e17710d6)

16 years agor22004: Check for dereferencing null pointers.
Jelmer Vernooij [Wed, 28 Mar 2007 22:52:37 +0000 (22:52 +0000)]
r22004: Check for dereferencing null pointers.

Patch by Ronnie Sahlberg.
(This used to be commit fa5722111dede37d0d6f9a9d227b7ec3ae28f1d4)

16 years agor21996: Fix a bug for invalid casts of pointers.
Jelmer Vernooij [Tue, 27 Mar 2007 23:22:41 +0000 (23:22 +0000)]
r21996: Fix a bug for invalid casts of pointers.

Patch by Ronnie Sahlberg.
(This used to be commit 52a13ddf0242318785b05a8888640b2172435c45)

16 years agor21995: Patch from Ronnie Sahlberg.
Jelmer Vernooij [Tue, 27 Mar 2007 23:04:08 +0000 (23:04 +0000)]
r21995: Patch from Ronnie Sahlberg.

Change the signatures for all functions it generates to specify
_U_ so that GCC "parameter not used" warnings are suppressed.
(This used to be commit ec6c503e9d077103c3fecff08400beb2a28e462d)

16 years agor21971: Fill in some more values in config files from variables, so we can
Andrew Bartlett [Tue, 27 Mar 2007 08:06:05 +0000 (08:06 +0000)]
r21971: Fill in some more values in config files from variables, so we can
better setup multiple environments.

Run the mk-keyblobs script before we need variables it defines.

Andrew Bartlett
(This used to be commit 448ffc68f35f54ea9e754764311eceaf84b465da)

16 years agor21970: Ensure that Fedora DS can be shut down correctly with the stop script:
Andrew Bartlett [Tue, 27 Mar 2007 04:21:16 +0000 (04:21 +0000)]
r21970: Ensure that Fedora DS can be shut down correctly with the stop script:
This needs the pid file to be in the right spot.

Andrew Bartlett
(This used to be commit cf9993a309ffe605610e4aaa2281576f319b5df0)

16 years agor21951: Hopefully fix valgrind warning.
James Peach [Fri, 23 Mar 2007 20:28:45 +0000 (20:28 +0000)]
r21951: Hopefully fix valgrind warning.
(This used to be commit e5d0487f3196da4e5aa79a6f285b3f3d23d303ca)

16 years agor21949: After discussion with the Apple and Linux client maintainers,
James Peach [Fri, 23 Mar 2007 19:24:21 +0000 (19:24 +0000)]
r21949: After discussion with the Apple and Linux client maintainers,
changing the FindFirst response for the UNIX_INFO2 level to include
a length field before the name. The name is not required to be null
terminated. the lenght field does not count any null.
(This used to be commit eef672bfff6b112ceceec2a58c78042352e83276)

16 years agor21943: don't send unitialized data
Stefan Metzmacher [Fri, 23 Mar 2007 09:11:53 +0000 (09:11 +0000)]
r21943: don't send unitialized data

metze
(This used to be commit 7cb01a64953580d72bda3a8ddb727b5abd1ec0ff)

16 years agor21928: fix the interface uuid of wzcsvc.
Stefan Metzmacher [Thu, 22 Mar 2007 08:17:30 +0000 (08:17 +0000)]
r21928: fix the interface uuid of wzcsvc.

see http://www.hsc.fr/ressources/articles/win_net_srv/msrpc_wzcsvc.html
and http://www.hsc.fr/ressources/articles/win_net_srv/msrpc_scheduler.html

thanks to jbm for the report!

metze
(This used to be commit 8bc1316741e59da100aee434617136136fdedb3f)

16 years agor21911: Some more work on making the ncacn_np handling in smbd be less special.
Jelmer Vernooij [Wed, 21 Mar 2007 17:05:39 +0000 (17:05 +0000)]
r21911: Some more work on making the ncacn_np handling in smbd be less special.
(This used to be commit 52f32b7330ee1a2dd5850fd0e412279777edc00d)

16 years agor21910: Clean up some unused functions.
Jelmer Vernooij [Wed, 21 Mar 2007 16:26:25 +0000 (16:26 +0000)]
r21910: Clean up some unused functions.
(This used to be commit 36cd3406db06e3101cfede2f3935879cb11eeb93)

16 years agor21909: Merge some of my recent improvements to the test infrastructure:
Jelmer Vernooij [Wed, 21 Mar 2007 15:57:07 +0000 (15:57 +0000)]
r21909: Merge some of my recent improvements to the test infrastructure:
- Allow tests to specify what environment they need to run in (dc and none are thecurrent supported ones).

- Move more Samba4-specific code out of the common code
(This used to be commit dbe9de10287c902f4a5ea5d431dea4a79f9b170b)

16 years agor21896: - Enable creating default NetContext when no explicit credentials are
Rafal Szczesniak [Tue, 20 Mar 2007 22:44:22 +0000 (22:44 +0000)]
r21896: - Enable creating default NetContext when no explicit credentials are
  passed. In such case use what's been provided on swat session logon.
- Create a proper NetContext object only once and add it to the resources
  for later use.

rafal
(This used to be commit 106779fcf3bf96eaa82adfa020a31a4634afda43)

16 years agor21859: add a comment why we remove the rid_crypt obfuscation
Stefan Metzmacher [Fri, 16 Mar 2007 16:35:44 +0000 (16:35 +0000)]
r21859: add a comment why we remove the rid_crypt obfuscation

metze
(This used to be commit e44b6df1387096989726c0a68189fe6c4e37dfd7)

16 years agor21852: Further work on initialising libnet context from netmgr.
Rafal Szczesniak [Fri, 16 Mar 2007 00:19:40 +0000 (00:19 +0000)]
r21852: Further work on initialising libnet context from netmgr.

rafal
(This used to be commit 2ee075605e54813ebdae20995deb0e090faa5a9a)

16 years agor21843: the computer_dn isn't needed anymore because we don't manually reset the...
Stefan Metzmacher [Thu, 15 Mar 2007 13:21:54 +0000 (13:21 +0000)]
r21843: the computer_dn isn't needed anymore because we don't manually reset the password
anymore

metze
(This used to be commit fee2c6d13de8752b7e6c379cdf6a3f5fcb4a29a6)

16 years agor21842: fix typo in comment
Stefan Metzmacher [Thu, 15 Mar 2007 07:22:49 +0000 (07:22 +0000)]
r21842: fix typo in comment

metze
(This used to be commit 8fcd5209ae46823f7d99bddff6e61873e75dd24c)

16 years agor21841: Rename the method and check parameters more strictly.
Rafal Szczesniak [Wed, 14 Mar 2007 23:25:54 +0000 (23:25 +0000)]
r21841: Rename the method and check parameters more strictly.

rafal
(This used to be commit 6824172940e175f2af6ab2c9c25a1495f024de42)

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)