kai/samba-autobuild/.git
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
(This used to be commit c3805aeb5e64aa66c0dfceb89efdf60bfb2134e8)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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)