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

(This used to be commit aab2fe6c187154b344e63a3bab7488207169879f)

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

(This used to be commit 398e008ea78777164dcf4eef059626d574c35f47)

13 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

(This used to be commit be84eb68e1f0d3826b9f819fa44d8b399e38cbcd)

13 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

(This used to be commit 08a5e9760643b9fbf00fdcf7163de7cf50e841e6)

13 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 to bug 4063

also add a testsuite for strptime()

(This used to be commit aba64521707143e6505b3322c390882a918a148a)

13 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
(This used to be commit bbde5b6a2f85f22110d6840857eaceb6b923c1b4)

13 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.
(This used to be commit 7003a6fa1ae1d163160ad509a7811f836be3aa6f)

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

(This used to be commit 60799d171fa12debe61164b467e55a9e08485e28)

13 years agor22200: make ntvfs a subsystem as linking uses
Stefan Metzmacher [Thu, 12 Apr 2007 14:56:29 +0000 (14:56 +0000)]
r22200: make ntvfs a subsystem as linking 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

(This used to be commit fda810ff129646535e9fa6d2b2c77559b5d58f92)

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

(This used to be commit 4e8f844be939a6e11a3bece4e7e66534fce00cc0)

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

(This used to be commit 31c9bd4bf2e08a979c7396a56b7bdb124bebfd01)

13 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

(This used to be commit 0096e068d02b5e09fed94373a7018ec0a58fb6d6)

13 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

(This used to be commit 94a5f1568d8307e1cb55df7d73cfea9ce1037238)

13 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

(This used to be commit 1091f00ce0d731568d7f2acbc6e43f87de90baa0)

13 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

(This used to be commit b050fe9e0bf6100ef786ac38b192aaa26229d300)

13 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

(This used to be commit 19fb09970a7bb1c52e616ae9402ea843139a5414)

13 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
(This used to be commit 440b8d9e4b09d5e8c943504ade85c17f752fe705)

13 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()

(This used to be commit 60145f3c5bca2227efd8de9ebfe35f536fbbd860)

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

(This used to be commit 62faa4bce44c438a04e44a9189290333ebee9aa5)

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

(This used to be commit e40912a2fd011351c6f0e7112f2984763bc53cb6)

13 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
(This used to be commit 16a2bb87a80ffb921f267492f453eb3457666315)

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

(This used to be commit a45c7cf238238d821e1d41549983915330bfd43a)

13 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'.
(This used to be commit 9e0032be03ebd6dd94c98bc6958df0cb998f487e)

13 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
(This used to be commit 791e87514505acc68c5a8ff71fe9a27efdc6a027)

13 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
(This used to be commit 6cb621b41990717a1c803ddc74955b328c164405)

13 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
(This used to be commit ce2714884cd46b6437e635d7f01879c48578dac1)

13 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
(This used to be commit d76afe147ca87f3678b7eb4930096eb6aaa39e6e)

13 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".

(This used to be commit c3805aeb5e64aa66c0dfceb89efdf60bfb2134e8)

13 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
(This used to be commit 0a721c3193163f8a12f5410df4c29b6dc00b7035)

13 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
(This used to be commit 224e7d4cc7f7fd4c4656185ec688ecc727a6489e)

13 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
(This used to be commit 99786cbaa942450c8970f5f14fbce931ab3e98ed)

13 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
(This used to be commit 12f4e6033ed11a010211a4295424588f44f7e5e0)

13 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
(This used to be commit 216bf28a8dd33037dba1f8e7e13140752b30a885)

13 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
(This used to be commit b893c63183eaec20ab0000d0c6635672c2893dce)

13 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
(This used to be commit a95ce3c895332a785bdf3a37b07e4fee86dcdea2)

13 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
(This used to be commit ff78be0be4ef67ed25bfb837bd8a7bf4105367fb)

13 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
(This used to be commit 529575d07aeb269927315eaff121408c1beefa59)

13 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
(This used to be commit a230261e83fd9161e60554b74cf8556f36b1af45)

13 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

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
(This used to be commit 519f3c0575748968ece2f556f370ade98c59ff05)

13 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
(This used to be commit ed0410309bfdefb0d31cb247c26b947956fb1137)

13 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

(This used to be commit dd83a8dad8ad89a1485598fa6e11c9128d04e6d7)

13 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.
(This used to be commit 9399123a7277dbaf8dd392dd4ec2fe1c0780d486)

13 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 <>

(This used to be commit f12a7f223dbd6e744df85308098a093b4e48cadb)

13 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.
(This used to be commit a32cdc06c39b07fbc7a3015ef059cc9143fb6e20)

13 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.
(This used to be commit 290815d180b2bf0ba24744b3796905096d07d7b7)

13 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
(This used to be commit 394c863a3f3e0945da12d7c39641235d326b1198)

13 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
(This used to be commit a29eb8f7e541d2021726601faf52355e312c916b)

13 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
(This used to be commit 7d04a36cdb3628ea9c1260f3318f2b964f10c346)

13 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
(This used to be commit cb2e4ca220ca03cd1893e7f6c18de0ab181817b8)

13 years agor22117: merged from bzr
Andrew Tridgell [Sat, 7 Apr 2007 01:00:11 +0000 (01:00 +0000)]
r22117: merged from bzr
(This used to be commit d7f122df1dba30e46e84e294cccecb2e4ef82072)

13 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
(This used to be commit 018939a8fd224f5aa404f08ec94ac49a7b43d7ec)

13 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
(This used to be commit 305d1421efff3f01db1dce499568874965058e79)

13 years agor22114: merge from bzr tree
Andrew Tridgell [Sat, 7 Apr 2007 00:03:09 +0000 (00:03 +0000)]
r22114: merge from bzr tree
(This used to be commit e60a485ff5c5d8deb7c0aea5e49d0c1d0ea4fa37)

13 years agor22098: merged from bzr tree
Andrew Tridgell [Fri, 6 Apr 2007 04:43:54 +0000 (04:43 +0000)]
r22098: merged from bzr tree
(This used to be commit a57af1ff8234ab590ebf28b3316953bec880005c)

13 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
(This used to be commit 99c51b104d05a8ad32563497216271e2f20d4985)

13 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()
(This used to be commit af6661e442ff37070cf49b6d9ab85a1c045ef293)

13 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.
(This used to be commit 9e95871b3a70310b8c0ca92dfdb595d7cfc559d5)

13 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
(This used to be commit b4e38b1b8dbc3ce817f858f39c3f0521c9832fce)

13 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.
(This used to be commit 8311bdfde92a9efe7730ed4a0f5f70f8e0d25ef6)

13 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
(This used to be commit 43ee3f8724164afc90a170c6da713b38d3995191)

13 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
(This used to be commit e2fe45cf4073b68e2a1c6577928d0765e26f3267)

13 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
(This used to be commit 141bd7ac39b66132f989d44d731512f939973f9e)

13 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
(This used to be commit b0da25cb79f860bfa14ba7a8419c7996d936292b)

13 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
(This used to be commit 6921f2f7093bbb6c236f16947072026303e58439)

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

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

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

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

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

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

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

13 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

(This used to be commit 5677b01d1dc63276a36daac400d5b0d935034ce6)

13 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

(This used to be commit f471e752161e392ef7324df30517af1818a27d1d)

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

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

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

13 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

(This used to be commit 902a76ca705f07c61f86a9ef1346583ba9d3157d)

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

13 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

(This used to be commit 8ffcac65be216df8d1701b900a933b99d6d9a77d)

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

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

13 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
(This used to be commit 976343821b99b04725c9fddee42dbcd0261c2d51)

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

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

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

13 years agor22030: Simplify include parsing for files, making sure we get
James Peach [Mon, 2 Apr 2007 17:08:21 +0000 (17:08 +0000)]
r22030: Simplify include parsing for 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)

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

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

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

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

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

13 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.

(This used to be commit aac34f79d05654d094c8d91ad8e8b7f8e17710d6)

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

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

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

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

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

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

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

13 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

(This used to be commit 7cb01a64953580d72bda3a8ddb727b5abd1ec0ff)