jelmer/samba4-debian.git
16 years agor22289: Another fedora ds fix
Jelmer Vernooij [Tue, 17 Apr 2007 01:21:20 +0000 (01:21 +0000)]
r22289: Another fedora ds fix

16 years agor22288: Somehow, Jelmer lost a few capital letters. I'll send him a new batch.
Andrew Bartlett [Tue, 17 Apr 2007 01:06:10 +0000 (01:06 +0000)]
r22288: Somehow, Jelmer lost a few capital letters.  I'll send him a new batch.

Andrew Bartlett

16 years agor22287: Fix some issues in fedora ds code.
Jelmer Vernooij [Tue, 17 Apr 2007 00:53:07 +0000 (00:53 +0000)]
r22287: Fix some issues in fedora ds code.

16 years agor22286: Import branch that converted the Samba4 test target code to perl and makes...
Jelmer Vernooij [Tue, 17 Apr 2007 00:30:01 +0000 (00:30 +0000)]
r22286: Import branch that converted the Samba4 test target code to perl and makes the code a bit clearer.

16 years agor22284: Make this script executable
Andrew Bartlett [Mon, 16 Apr 2007 22:19:51 +0000 (22:19 +0000)]
r22284: Make this script executable

16 years agor22279: add a lot more detailed strtoll() and strtoull() tests
Stefan Metzmacher [Mon, 16 Apr 2007 19:55:51 +0000 (19:55 +0000)]
r22279: add a lot more detailed strtoll() and strtoull() tests

metze

16 years agor22273: - provide __LINESTR__ macro
Stefan Metzmacher [Mon, 16 Apr 2007 19:45:35 +0000 (19:45 +0000)]
r22273: - provide __LINESTR__ macro
- add __STRINGSTRING() macro to really create a string of __LINE__
- fix __location__ macro

metze

16 years agor22270: provide __location__ in replace.h
Stefan Metzmacher [Mon, 16 Apr 2007 19:22:24 +0000 (19:22 +0000)]
r22270: provide __location__ in replace.h

and see how the build-farm likes this simpler version

metze

16 years agor22267: protect #define __location__ with an #ifndef
Stefan Metzmacher [Mon, 16 Apr 2007 19:14:55 +0000 (19:14 +0000)]
r22267: protect #define __location__ with an #ifndef

metze

16 years agor22263: use AC_HAVE_DECL() because AC_CHECK_DECLS() defines to 1 or 0
Stefan Metzmacher [Mon, 16 Apr 2007 12:43:18 +0000 (12:43 +0000)]
r22263: use AC_HAVE_DECL() because AC_CHECK_DECLS() defines to 1 or 0
and #ifndef doesn't work.

metze

16 years agor22260: Use single script for creating Samba 4 test environments. Add first test
Jelmer Vernooij [Mon, 16 Apr 2007 10:44:26 +0000 (10:44 +0000)]
r22260: Use single script for creating Samba 4 test environments. Add first test
that uses the member environment.

16 years agor22259: libreplace always provides strptime()
Stefan Metzmacher [Mon, 16 Apr 2007 10:39:26 +0000 (10:39 +0000)]
r22259: libreplace always provides strptime()

metze

16 years agor22258: make ntvfs a library again
Stefan Metzmacher [Mon, 16 Apr 2007 10:36:51 +0000 (10:36 +0000)]
r22258: make ntvfs a library again

metze

16 years agor22257: disable shared libraries on IRIX for now
Stefan Metzmacher [Mon, 16 Apr 2007 10:36:15 +0000 (10:36 +0000)]
r22257: disable shared libraries on IRIX for now
as us4 fails to link libtorture.so because of an argv overflow

metze

16 years agor22256: Use shorter directory names for tests.
Jelmer Vernooij [Mon, 16 Apr 2007 10:04:39 +0000 (10:04 +0000)]
r22256: Use shorter directory names for tests.

16 years agor22253: - make the strtoll tests more verbose
Stefan Metzmacher [Mon, 16 Apr 2007 09:43:48 +0000 (09:43 +0000)]
r22253: - make the strtoll tests more verbose
- add initial strtoull tests

metze

16 years agor22250: try to fix the build on aix1 in the farm
Stefan Metzmacher [Mon, 16 Apr 2007 09:19:35 +0000 (09:19 +0000)]
r22250: try to fix the build on aix1 in the farm

metze

16 years agor22246: only test strtoll once
Stefan Metzmacher [Mon, 16 Apr 2007 07:40:32 +0000 (07:40 +0000)]
r22246: only test strtoll once

metze

16 years agor22243: remove useless printf's
Stefan Metzmacher [Mon, 16 Apr 2007 06:29:45 +0000 (06:29 +0000)]
r22243: remove useless printf's

metze

16 years agor22242: ctdb init now takes a process model
Andrew Tridgell [Mon, 16 Apr 2007 06:23:42 +0000 (06:23 +0000)]
r22242: ctdb init now takes a process model

16 years agor22239: use strlcpy instead of strcpy to make the IBM checker happy
Stefan Metzmacher [Mon, 16 Apr 2007 06:08:06 +0000 (06:08 +0000)]
r22239: use strlcpy instead of strcpy to make the IBM checker happy

metze

16 years agor22238: Because these utilities compile in socket_wrapper.ho, they may need
Andrew Bartlett [Mon, 16 Apr 2007 05:48:11 +0000 (05:48 +0000)]
r22238: Because these utilities compile in socket_wrapper.ho, they may need
-lsocket on some systems.

Andrew Bartlett

16 years agor22237: this init fn doesn't exist yet
Andrew Tridgell [Mon, 16 Apr 2007 05:18:13 +0000 (05:18 +0000)]
r22237: this init fn doesn't exist yet

16 years agor22236: Update to Heimdal's socket_wrapper, which supports IPv6.
Andrew Bartlett [Mon, 16 Apr 2007 04:59:47 +0000 (04:59 +0000)]
r22236: Update to Heimdal's socket_wrapper, which supports IPv6.

To make this pass, I needed to add support for 6 and 17 as valid
protocol values to socket().

Andrew Bartlett

16 years agor22235: Test kinit, and PKINIT functionality by means of a new blackbox test.
Andrew Bartlett [Mon, 16 Apr 2007 04:55:52 +0000 (04:55 +0000)]
r22235: Test kinit, and PKINIT functionality by means of a new blackbox test.

Andrew Bartlett

16 years agor22234: merge test suite changes from bzr tree
Andrew Tridgell [Mon, 16 Apr 2007 04:47:11 +0000 (04:47 +0000)]
r22234: merge test suite changes from bzr tree

16 years agor22233: Allow 'REALM' as a global environment variable in the tests.
Andrew Bartlett [Mon, 16 Apr 2007 03:16:23 +0000 (03:16 +0000)]
r22233: Allow 'REALM' as a global environment variable in the tests.

Set the default socket_wrapper interface inside the test env setup, so
it actually stays (fixes LOCAL-SOCKET failures).

Andrew Bartlett

16 years agor22232: add a special message handler ID meaning "all messages please"
Andrew Tridgell [Mon, 16 Apr 2007 00:29:13 +0000 (00:29 +0000)]
r22232: add a special message handler ID meaning "all messages please"

This better fits the way Samba4 does message dispatch

16 years agor22231: merge from bzr ctdb tree
Andrew Tridgell [Mon, 16 Apr 2007 00:18:54 +0000 (00:18 +0000)]
r22231: merge from bzr ctdb tree

16 years agor22226: move discard_const macros to librelace
Stefan Metzmacher [Sun, 15 Apr 2007 21:13:13 +0000 (21:13 +0000)]
r22226: move discard_const macros to librelace

metze

16 years agor22223: make comparing of struct tm more verbose and more portable
Stefan Metzmacher [Sun, 15 Apr 2007 20:55:52 +0000 (20:55 +0000)]
r22223: make comparing of struct tm more verbose and more portable

metze

16 years agor22222: a dummy commit:-)
Stefan Metzmacher [Sun, 15 Apr 2007 20:19:47 +0000 (20:19 +0000)]
r22222: a dummy commit:-)

metze

16 years agor22218: fix libreplace standalone build
Stefan Metzmacher [Sun, 15 Apr 2007 19:09:34 +0000 (19:09 +0000)]
r22218: fix libreplace standalone build

metze

16 years agor22217: merge from samba3 21944:
Stefan Metzmacher [Sun, 15 Apr 2007 16:30:01 +0000 (16:30 +0000)]
r22217: merge from samba3 21944:

move acl header checks to the correct place only

metze

16 years agor22216: move strptime testsuite into it's own file
Stefan Metzmacher [Sun, 15 Apr 2007 16:13:06 +0000 (16:13 +0000)]
r22216: move strptime testsuite into it's own file
so we can include it for the configure test

as it seems that strptime() is really broken on some hosts
in the build farm, re should use the replacement code
when we detect this in the configure test

metze

16 years agor22215: add strptime replacement to libreplace based on the patch
Stefan Metzmacher [Sat, 14 Apr 2007 09:14:40 +0000 (09:14 +0000)]
r22215: add strptime replacement to libreplace based on the patch
from jojowil@hvcc.edu to bug 4063

also add a testsuite for strptime()

metze

16 years agor22208: Print the target principal name, to help with kdc unreachable errors.
Andrew Bartlett [Fri, 13 Apr 2007 05:37:08 +0000 (05:37 +0000)]
r22208: Print the target principal name, to help with kdc unreachable errors.

Andrew Bartlett

16 years agor22203: Improve the replace testsuite a bit.
Jelmer Vernooij [Thu, 12 Apr 2007 19:54:15 +0000 (19:54 +0000)]
r22203: Improve the replace testsuite a bit.

16 years agor22201: crash fix...
Stefan Metzmacher [Thu, 12 Apr 2007 15:06:24 +0000 (15:06 +0000)]
r22201: crash fix...

metze

16 years agor22200: make ntvfs a subsystem as linking ntvfs.so.1 uses
Stefan Metzmacher [Thu, 12 Apr 2007 14:56:29 +0000 (14:56 +0000)]
r22200: make ntvfs a subsystem as linking ntvfs.so.1 uses
ca. 800 cmdline args to ld and that fails on some hosts
in the build-farm, lets see if they will be happier now

metze

16 years agor22199: fix typo
Stefan Metzmacher [Thu, 12 Apr 2007 13:36:49 +0000 (13:36 +0000)]
r22199: fix typo

metze

16 years agor22197: fix formating
Stefan Metzmacher [Thu, 12 Apr 2007 12:45:41 +0000 (12:45 +0000)]
r22197: fix formating

metze

16 years agor22196: give better error codes to make RPC-UNIXINFO pass
Stefan Metzmacher [Thu, 12 Apr 2007 12:38:32 +0000 (12:38 +0000)]
r22196: give better error codes to make RPC-UNIXINFO pass

metze

16 years agor22195: fix compiler warnings and convert the whole torture/rpc/unixinfo.c code
Stefan Metzmacher [Thu, 12 Apr 2007 11:59:38 +0000 (11:59 +0000)]
r22195: fix compiler warnings and convert the whole torture/rpc/unixinfo.c code
to the new torture ui functions

metze

16 years agor22194: fix compiler warning and
Stefan Metzmacher [Thu, 12 Apr 2007 11:42:09 +0000 (11:42 +0000)]
r22194: fix compiler warning and
compile in but disable NetShareAddSetDel test

metze

16 years agor22193: fix compiler warning and formating
Stefan Metzmacher [Thu, 12 Apr 2007 11:35:00 +0000 (11:35 +0000)]
r22193: fix compiler warning and formating

metze

16 years agor22192: fix compiler warnings
Stefan Metzmacher [Thu, 12 Apr 2007 11:24:51 +0000 (11:24 +0000)]
r22192: fix compiler warnings

ClearEventLog test is compiled in but disabled now

metze

16 years agor22191: Add a samba4kinit binary to the build, so I can test using an existing
Andrew Bartlett [Thu, 12 Apr 2007 11:23:58 +0000 (11:23 +0000)]
r22191: Add a samba4kinit binary to the build, so I can test using an existing
ccache, as well as PKINIT.

Andrew Bartlett

16 years agor22190: fix compiler warnings and remove unused talloc_reference()
Stefan Metzmacher [Thu, 12 Apr 2007 11:02:26 +0000 (11:02 +0000)]
r22190: fix compiler warnings and remove unused talloc_reference()

metze

16 years agor22189: fix compiler warning
Stefan Metzmacher [Thu, 12 Apr 2007 10:48:30 +0000 (10:48 +0000)]
r22189: fix compiler warning

metze

16 years agor22188: fix formating bug
Stefan Metzmacher [Thu, 12 Apr 2007 10:35:21 +0000 (10:35 +0000)]
r22188: fix formating bug

metze

16 years agor22187: Test kerberos logins in the smbclient blackbox tests, including with a
Andrew Bartlett [Thu, 12 Apr 2007 10:25:01 +0000 (10:25 +0000)]
r22187: Test kerberos logins in the smbclient blackbox tests, including with a
machine account.

Andrew Bartlett

16 years agor22186: fix build with autodependencies
Stefan Metzmacher [Thu, 12 Apr 2007 10:19:02 +0000 (10:19 +0000)]
r22186: fix build with autodependencies

metze

16 years agor22185: Initial work on a 'member' test environment'.
Jelmer Vernooij [Thu, 12 Apr 2007 08:33:35 +0000 (08:33 +0000)]
r22185: Initial work on a 'member' test environment'.

16 years agor22184: On some hosts, parsing a compleatly invalid principal causes heimadal
Andrew Bartlett [Thu, 12 Apr 2007 04:01:42 +0000 (04:01 +0000)]
r22184: On some hosts, parsing a compleatly invalid principal causes heimadal
to try and figure out what realm the current host is in (by DNS lookup
for it's full domain name).  We don't want to do that for this test,
just break the checksum.

Andrew Bartlett

16 years agor22183: Perl might not be in /usr/bin/perl, so use $(PERL) from the makefile
Andrew Bartlett [Thu, 12 Apr 2007 02:28:29 +0000 (02:28 +0000)]
r22183: Perl might not be in /usr/bin/perl, so use $(PERL) from the makefile
to start the selftest script.

Andrew Bartlett

16 years agor22182: Skip a few tests that will not pass against the ntvfs/posix layer,
Andrew Bartlett [Thu, 12 Apr 2007 02:27:25 +0000 (02:27 +0000)]
r22182: Skip a few tests that will not pass against the ntvfs/posix layer,
when testing ntvfs/cifs -> ntvfs/posix too.

Andrew Bartlett

16 years agor22180: Re-add testing of the CIFS backend.
Andrew Bartlett [Thu, 12 Apr 2007 00:34:59 +0000 (00:34 +0000)]
r22180: Re-add testing of the CIFS backend.

Andrew Bartlett

16 years agor22179: Store resource id along with the object itself to be able to return
Rafal Szczesniak [Wed, 11 Apr 2007 23:01:48 +0000 (23:01 +0000)]
r22179: Store resource id along with the object itself to be able to return
it as "number" type. This fixes a small problem with resource set
method returning id of type "number" whereas find method was returning
id of type "string".

rafal

16 years agor22177: Restore the PIDDIR mapping for the client 'pid directory', as this is
Andrew Bartlett [Wed, 11 Apr 2007 13:01:46 +0000 (13:01 +0000)]
r22177: Restore the PIDDIR mapping for the client 'pid directory', as this is
(ab)used for messaging.

Andrew Bartlett

16 years agor22176: Make the LOCAL-MESSAGING test pass again. Messaging sockets are in
Andrew Bartlett [Wed, 11 Apr 2007 13:00:27 +0000 (13:00 +0000)]
r22176: Make the LOCAL-MESSAGING test pass again.  Messaging sockets are in
the 'pid directory' now...

Andrew Bartlett

16 years agor22171: At least walk over the test_SetupCredentials2 before bailing as 'we
Andrew Bartlett [Wed, 11 Apr 2007 12:23:42 +0000 (12:23 +0000)]
r22171: At least walk over the test_SetupCredentials2 before bailing as 'we
don't do this yet'...

Andrew Bartlett

16 years agor22170: To get the smbclient blackbox test to pass again, we need to get the
Andrew Bartlett [Wed, 11 Apr 2007 12:10:40 +0000 (12:10 +0000)]
r22170: To get the smbclient blackbox test to pass again, we need to get the
private dir to contain a valid machine account.

It isn't really valid it use the DC's account any more, so extend this
script to also join the domain.  This nicely tests out some previously
untested code too!

Andrew Bartlett

16 years agor22168: Ensure we actually run all the transports for the slow tests
Andrew Bartlett [Wed, 11 Apr 2007 11:17:09 +0000 (11:17 +0000)]
r22168: Ensure we actually run all the transports for the slow tests
(otherwise we miss tests).

Andrew Bartlett

16 years agor22167: This seems to get Fedora DS to run the tests again.
Andrew Bartlett [Wed, 11 Apr 2007 10:25:02 +0000 (10:25 +0000)]
r22167: This seems to get Fedora DS to run the tests again.

Andrew Bartlett

16 years agor22166: Stop heimdal from trying to prototype innetgr in roken, now we don't
Andrew Bartlett [Wed, 11 Apr 2007 06:43:06 +0000 (06:43 +0000)]
r22166: Stop heimdal from trying to prototype innetgr in roken, now we don't
do it in libreplace.

Andrew Bartlett

16 years agor22165: merge transaction fix from samba3
Andrew Tridgell [Wed, 11 Apr 2007 05:45:02 +0000 (05:45 +0000)]
r22165: merge transaction fix from samba3

16 years agor22162: get the TEST_LDAP mode working again
Andrew Bartlett [Wed, 11 Apr 2007 05:01:02 +0000 (05:01 +0000)]
r22162: get the TEST_LDAP mode working again

Andrew Bartlett

16 years agor22161: Clarify exactly where the socket_wrapper should be handled (early),
Andrew Bartlett [Wed, 11 Apr 2007 03:45:39 +0000 (03:45 +0000)]
r22161: Clarify exactly where the socket_wrapper should be handled (early),
and ensure that $prefix exists before it tries to create $prefix/w.

This should fix the build farm.  Perhaps we should have a rm -rf
$prefix at the start of this script, as that would have found the
problem, but I want to be careful about that...

Andrew Bartlett

16 years agor22160: Only use test environment names that actually exist (get make
Andrew Bartlett [Wed, 11 Apr 2007 01:32:38 +0000 (01:32 +0000)]
r22160: Only use test environment names that actually exist (get make
quicktest to pass).

Ensure that when we fail on the build farm, this ends up in the total
failures.

I think having the 2 different functions for running the tests is just
asking for this kind of failure.  The build farm should be a
presentation detail, and not alter the test behaviour.

There is still a gremlin in there, we will fail horribly on the farm,
but not on local tests...

Andrew Bartlett

16 years agor22156: - Lazy evaluate variable names.
Jelmer Vernooij [Tue, 10 Apr 2007 20:19:31 +0000 (20:19 +0000)]
r22156: - Lazy evaluate variable names.

- Don't set up environments until necessary

- Add --resetup-environment option

- Add 'none' environment

16 years agor22152: merge from samba3:
Stefan Metzmacher [Tue, 10 Apr 2007 16:00:13 +0000 (16:00 +0000)]
r22152: merge from samba3:

remove netgr functions from libreplace they're not used
in samba4 currently and samba3 has explicit configure checks for them.

should fix bug #4496

metze

16 years agor22137: Actually use client.conf, defer more code as far as possible.
Jelmer Vernooij [Mon, 9 Apr 2007 12:15:56 +0000 (12:15 +0000)]
r22137: Actually use client.conf, defer more code as far as possible.

16 years agor22136: Fix incorrect event handling.
Rafal Szczesniak [Mon, 9 Apr 2007 12:06:42 +0000 (12:06 +0000)]
r22136: Fix incorrect event handling.
Submitted by John Jorgensen <jorgensen.john@gmail.com>

rafal

16 years agor22134: Create different smb.conf file for the client side. This should make use...
Jelmer Vernooij [Mon, 9 Apr 2007 00:53:05 +0000 (00:53 +0000)]
r22134: Create different smb.conf file for the client side. This should make use with Samba 3 or windows easier as well as environments.

16 years agor22133: Don't push parameters into environment until necessary.
Jelmer Vernooij [Sun, 8 Apr 2007 23:55:01 +0000 (23:55 +0000)]
r22133: Don't push parameters into environment until necessary.

16 years agor22121: The RPC-CRACKNAMES test now passes against Samba4. This should help
Andrew Bartlett [Sat, 7 Apr 2007 05:19:24 +0000 (05:19 +0000)]
r22121: The RPC-CRACKNAMES test now passes against Samba4.  This should help
the code coverage...

Andrew Bartlett

16 years agor22120: Expand the RPC-CRACKNAMES test, to test more values and expose patterns.
Andrew Bartlett [Sat, 7 Apr 2007 05:14:23 +0000 (05:14 +0000)]
r22120: Expand the RPC-CRACKNAMES test, to test more values and expose patterns.

Fix up our server side implementation to pass almost all the tests (a
couple are skipped).

Don't require the DsGetDomainControllerInfo calls to pass, just get
some info from them.

Andrew Bartlett

16 years agor22119: Where we get a request to 'crack' a user principal name from a
Andrew Bartlett [Sat, 7 Apr 2007 03:04:33 +0000 (03:04 +0000)]
r22119: Where we get a request to 'crack' a user principal name from a
compleatly unknown domain, return the correct error code.

Andrew Bartlett

16 years agor22118: Add another RPC-CRACKNAMES test, but allow a way to skip sub-parts of
Andrew Bartlett [Sat, 7 Apr 2007 03:03:01 +0000 (03:03 +0000)]
r22118: Add another RPC-CRACKNAMES test, but allow a way to skip sub-parts of
this test we don't yet support in Samba4.  I want to at least try and
test this parts of this codebase...

Andrew Bartlett

16 years agor22117: merged from bzr
Andrew Tridgell [Sat, 7 Apr 2007 01:00:11 +0000 (01:00 +0000)]
r22117: merged from bzr

16 years agor22116: Only query by SID if we have a SID
Andrew Bartlett [Sat, 7 Apr 2007 00:57:26 +0000 (00:57 +0000)]
r22116: Only query by SID if we have a SID

Andrew Bartlett

16 years agor22115: I don't like the DOMAIN environment variable. It really isn't a good
Andrew Bartlett [Sat, 7 Apr 2007 00:47:39 +0000 (00:47 +0000)]
r22115: I don't like the DOMAIN environment variable.  It really isn't a good
match for what we are using it for here.

Andrew Bartlett

16 years agor22114: merge from bzr tree
Andrew Tridgell [Sat, 7 Apr 2007 00:03:09 +0000 (00:03 +0000)]
r22114: merge from bzr tree

16 years agor22098: merged from bzr tree
Andrew Tridgell [Fri, 6 Apr 2007 04:43:54 +0000 (04:43 +0000)]
r22098: merged from bzr tree

16 years agor22090: fix error handling in cldap client library to cope with bad host names
Andrew Tridgell [Thu, 5 Apr 2007 07:37:21 +0000 (07:37 +0000)]
r22090: fix error handling in cldap client library to cope with bad host names

16 years agor22089: check the return value of interpret_addr2()
Andrew Tridgell [Thu, 5 Apr 2007 07:36:46 +0000 (07:36 +0000)]
r22089: check the return value of interpret_addr2()

16 years agor22088: export PIDDIR to make the smbd pid show in 'make testenv' again.
Andrew Bartlett [Thu, 5 Apr 2007 06:33:37 +0000 (06:33 +0000)]
r22088: export PIDDIR to make the smbd pid show in 'make testenv' again.

16 years agor22087: added a RAW-BENCH-OPEN test that can be used to stress out a clustered
Andrew Tridgell [Thu, 5 Apr 2007 06:23:06 +0000 (06:23 +0000)]
r22087: added a RAW-BENCH-OPEN test that can be used to stress out a clustered
implementation of a opendb backend. Use it in combination with
--unclist to tell smbtorture to connect to multiple nodes in the
cluster

16 years agor22086: Bail out early on some of these failures.
Andrew Bartlett [Thu, 5 Apr 2007 06:00:44 +0000 (06:00 +0000)]
r22086: Bail out early on some of these failures.

16 years agor22085: correct copyright on opendb_ctdb.c
Andrew Tridgell [Thu, 5 Apr 2007 04:23:57 +0000 (04:23 +0000)]
r22085: correct copyright on opendb_ctdb.c

16 years agor22084: use a TDB_INTERNAL tdb for the local ctdb tdb for now
Andrew Tridgell [Thu, 5 Apr 2007 04:20:55 +0000 (04:20 +0000)]
r22084: use a TDB_INTERNAL tdb for the local ctdb tdb for now

16 years agor22083: opendb backend to ctdb now passes simple tests
Andrew Tridgell [Thu, 5 Apr 2007 04:08:00 +0000 (04:08 +0000)]
r22083: opendb backend to ctdb now passes simple tests

16 years agor22082: merged the ctdb changes from bzr
Andrew Tridgell [Thu, 5 Apr 2007 03:51:49 +0000 (03:51 +0000)]
r22082: merged the ctdb changes from bzr

added opendb ctdb backend from ronnie

16 years agor22081: transaction_brlock() should be static
Andrew Tridgell [Thu, 5 Apr 2007 03:22:08 +0000 (03:22 +0000)]
r22081: transaction_brlock() should be static

thanks to Ted T'so for pointing this out

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.

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

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

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

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