jra/samba/.git
16 years agor19607: - remove mech_switch.h from objectfile list
Stefan Metzmacher [Tue, 7 Nov 2006 10:41:11 +0000 (10:41 +0000)]
r19607: - remove mech_switch.h from objectfile list
  (fix the build the auto dependencies)
- add tabs

metze
(This used to be commit 03afa231ff8df98d3a0a01568a4c27370402ef16)

16 years agor19606: Remove generated files
Andrew Bartlett [Tue, 7 Nov 2006 10:40:50 +0000 (10:40 +0000)]
r19606: Remove generated files

Andrew Bartlett
(This used to be commit 7b7e1fe15358d9ed1893305fbf8a1010293ed772)

16 years agor19604: This is a massive commit, and I appologise in advance for it's size.
Andrew Bartlett [Tue, 7 Nov 2006 06:59:56 +0000 (06:59 +0000)]
r19604: This is a massive commit, and I appologise in advance for it's size.

This merges Samba4 with lorikeet-heimdal, which itself has been
tracking Heimdal CVS for the past couple of weeks.

This is such a big change because Heimdal reorganised it's internal
structures, with the mechglue merge, and because many of our 'wishes' have been granted:  we now have DCE_STYLE GSSAPI, send_to_kdc hooks and many other features merged into the mainline code.  We have adapted to upstream's choice of API in these cases.

In gensec_gssapi and gensec_krb5, we either expect a valid PAC, or NO
PAC.  This matches windows behavour.  We also have an option to
require the PAC to be present (which allows us to automate the testing
of this code).

This also includes a restructure of how the kerberos dependencies are
handled, due to the fallout of the merge.

Andrew Bartlett
(This used to be commit 4826f1735197c2a471d771495e6d4c1051b4c471)

16 years agor19603: Make it easier to control the debug level of smbd.
Andrew Bartlett [Tue, 7 Nov 2006 04:26:45 +0000 (04:26 +0000)]
r19603: Make it easier to control the debug level of smbd.

Ensure that we don't accept kerberos logins without a PAC (to ensure
we actually produce a PAC in the KDC)

Andrew Bartlett
(This used to be commit 5fda92783f3d53e4a832dbbea678b5bd16f315fd)

16 years agor19600: Add two more headers (fixes installation)
Jelmer Vernooij [Tue, 7 Nov 2006 01:25:17 +0000 (01:25 +0000)]
r19600: Add two more headers (fixes installation)
(This used to be commit c3be4a980ce6cb82c2a6a442065a028a3c23a7f3)

16 years agor19599: Fix --includedir.
Jelmer Vernooij [Tue, 7 Nov 2006 01:00:27 +0000 (01:00 +0000)]
r19599: Fix --includedir.
(This used to be commit 0da2bbcf766dc25805ad583fae185045bb390a5f)

16 years agor19598: Ahead of a merge to current lorikeet-heimdal:
Andrew Bartlett [Tue, 7 Nov 2006 00:48:36 +0000 (00:48 +0000)]
r19598: Ahead of a merge to current lorikeet-heimdal:

Break up auth/auth.h not to include the world.

Add credentials_krb5.h with the kerberos dependent prototypes.

Andrew Bartlett
(This used to be commit 2b569c42e0fbb596ea82484d0e1cb22e193037b9)

16 years agor19597: Ahead of the merge to current lorikeet-heimdal:
Andrew Bartlett [Tue, 7 Nov 2006 00:47:36 +0000 (00:47 +0000)]
r19597: Ahead of the merge to current lorikeet-heimdal:

Supply the correct OID to the error display functions.

Rework the session key functions.

Andrew Bartlett
(This used to be commit 363628c13f4e4a8904802dcf4d80e296ed2f9e02)

16 years agor19596: add basics to 'all' - hopefully fixes the build on some hosts
Jelmer Vernooij [Tue, 7 Nov 2006 00:46:04 +0000 (00:46 +0000)]
r19596: add basics to 'all' - hopefully fixes the build on some hosts
(This used to be commit b0f00ff72354cc34ad59470e13d5ab472416cc6c)

16 years agor19595: Seperate debug messages between database failure and simple lack of
Andrew Bartlett [Tue, 7 Nov 2006 00:19:16 +0000 (00:19 +0000)]
r19595: Seperate debug messages between database failure and simple lack of
records.

Andrew Bartlett
(This used to be commit 163f75372792b0afa72f48d64d78d82b72d8eda5)

16 years agor19594: the behaviour of `include' is slightly different from helper(). Fix the build
Jelmer Vernooij [Mon, 6 Nov 2006 23:25:30 +0000 (23:25 +0000)]
r19594: the behaviour of `include' is slightly different from helper(). Fix the build
for now.
(This used to be commit 1474f1a220d869c3c11dac038411149abe3e48fe)

16 years agor19593: add NET-API-USERLIST test
Rafal Szczesniak [Mon, 6 Nov 2006 23:23:47 +0000 (23:23 +0000)]
r19593: add NET-API-USERLIST test

rafal
(This used to be commit fba1d8b041bc84d793ca31851bd3b70c65c083fc)

16 years agor19592: a simple test for libnet_UserList
Rafal Szczesniak [Mon, 6 Nov 2006 23:22:57 +0000 (23:22 +0000)]
r19592: a simple test for libnet_UserList

rafal
(This used to be commit cfcbddfe71ce27bf195a1877f75789ef23bb6b1d)

16 years agor19590: Make it less noisy to run the session_key test outside 'make test',
Andrew Bartlett [Mon, 6 Nov 2006 23:19:00 +0000 (23:19 +0000)]
r19590: Make it less noisy to run the session_key test outside 'make test',
for example against a remote host.

Andrew Bartlett
(This used to be commit 1c7cb1314bb2309b9a3ee36e63401c894a60bfd1)

16 years agor19589: Because we what we really wanted was coverage of seal and non-seal,
Andrew Bartlett [Mon, 6 Nov 2006 23:17:48 +0000 (23:17 +0000)]
r19589: Because we what we really wanted was coverage of seal and non-seal,
rather than validate or not, change $VALIDATE to bigendian in the
session_key test.

Andrew Bartlett
(This used to be commit 4f79f3b0c4cb15903f019a2dd62281ff65753b73)

16 years agor19588: Use include and import statements rather than depends() and helper().
Jelmer Vernooij [Mon, 6 Nov 2006 22:54:49 +0000 (22:54 +0000)]
r19588: Use include and import statements rather than depends() and helper().
(This used to be commit 347ae9628202ca4de4318ef8156999239aad9192)

16 years agor19587: Fix indentation and correctly set error string when completing
Rafal Szczesniak [Mon, 6 Nov 2006 22:06:12 +0000 (22:06 +0000)]
r19587: Fix indentation and correctly set error string when completing
a composite call - don't leave it unset.

rafal
(This used to be commit 8bd57beca19bd2c76d58b64ddd12553b0adce595)

16 years agor19586: draft version of libnet_UserList function. still a bit of work
Rafal Szczesniak [Mon, 6 Nov 2006 22:03:22 +0000 (22:03 +0000)]
r19586: draft version of libnet_UserList function. still a bit of work
to do left.

rafal
(This used to be commit 4e6d479b0707a4b48f4ca7c2a042bbf9627411f9)

16 years agor19585: Add support for some more standard IDL instructions:
Jelmer Vernooij [Mon, 6 Nov 2006 21:54:19 +0000 (21:54 +0000)]
r19585: Add support for some more standard IDL instructions:
 - `include' (replaces helper())
 - `import' (replaces depends())

Add support for parsing importlib() - importlib() is now ignored (with a
warning), but no longer causes syntax errors.

helper() and depends() are now marked deprecated and will cause warnings.
(This used to be commit 1ccab71cb8a9e3db9448b6679d01ad00e1c1e9a3)

16 years agor19584: add the new file to the build.
Rafal Szczesniak [Mon, 6 Nov 2006 21:16:50 +0000 (21:16 +0000)]
r19584: add the new file to the build.

rafal
(This used to be commit 936e87b89d22c8ddd1058766fc3d6e5ada9035da)

16 years agor19583: a few prerequisite functions called from within libnet functions
Rafal Szczesniak [Mon, 6 Nov 2006 21:16:27 +0000 (21:16 +0000)]
r19583: a few prerequisite functions called from within libnet functions
(in this case domain related) to ensure certain conditions before
doing what libnet function is expected to do.

rafal
(This used to be commit e3159ceeede2865b0252ee24497498ec9ffa432f)

16 years agor19582: Support building both shared and static versions of libraries at the same
Jelmer Vernooij [Mon, 6 Nov 2006 20:17:25 +0000 (20:17 +0000)]
r19582: Support building both shared and static versions of libraries at the same
time.

The --enable-dso flag now specifies whether or not the Samba binaries
themselves should be linked against the shared libraries.

By default, all libraries will be built staticly. If supported, the
shared variant of each library will also be built.

If people think building both shared and static library versions in
'make all' is too time-inefficient, please let me know and I'll move the
shared library bits to 'make everything'.
(This used to be commit 91faa1154a1de18a42f5e237c406157026280478)

16 years agor19580: Add --includedir option.
Jelmer Vernooij [Mon, 6 Nov 2006 20:01:22 +0000 (20:01 +0000)]
r19580: Add --includedir option.
(This used to be commit b076bfa39fefafcf30ac5be5056abfd629338fa5)

16 years agor19578: Fix trivial typ0.
James Peach [Mon, 6 Nov 2006 19:38:27 +0000 (19:38 +0000)]
r19578: Fix trivial typ0.
(This used to be commit 664b4a84b60d4f8dddfe06e0619b882b322108ec)

16 years agor19575: Build static libs in bin/static rather than bin/
Jelmer Vernooij [Mon, 6 Nov 2006 17:28:27 +0000 (17:28 +0000)]
r19575: Build static libs in bin/static rather than bin/
(This used to be commit c9b06ce5636c37ddb077513796a288d88f62c358)

16 years agor19574: Initial work towards supporting build of both shared and static libraries.
Jelmer Vernooij [Mon, 6 Nov 2006 16:57:00 +0000 (16:57 +0000)]
r19574: Initial work towards supporting build of both shared and static libraries.
(This used to be commit e24ec3aa1ada855401a714743518893d9506239c)

16 years agor19573: Move secrets.o into param/ (subsystems haven't been integrated yet).
Jelmer Vernooij [Mon, 6 Nov 2006 16:11:52 +0000 (16:11 +0000)]
r19573: Move secrets.o into param/ (subsystems haven't been integrated yet).
(This used to be commit 8143de855c0b65346b2d8e59ecdb78952927de4a)

16 years agor19572: Fix typo.
Jelmer Vernooij [Mon, 6 Nov 2006 14:07:20 +0000 (14:07 +0000)]
r19572: Fix typo.
(This used to be commit 1836411390e7ad19dc0e28bf656a0c240edbf063)

16 years agor19571: Add a USESHARED parameter (different from BLDSHARED) + two small
Jelmer Vernooij [Mon, 6 Nov 2006 14:03:51 +0000 (14:03 +0000)]
r19571: Add a USESHARED parameter (different from BLDSHARED) + two small
shared-library related fixes.
(This used to be commit 8c7276b6c6ccebfbc60de978fcb2c23e7fbc12b5)

16 years agor19570: Fix dependencies in pkg-config files.
Jelmer Vernooij [Mon, 6 Nov 2006 13:14:21 +0000 (13:14 +0000)]
r19570: Fix dependencies in pkg-config files.
(This used to be commit 1b046698521f77b843f4a2fcf91230ee2917b569)

16 years agor19569: Require that all public header files have a destination path. Fix
Jelmer Vernooij [Mon, 6 Nov 2006 12:05:09 +0000 (12:05 +0000)]
r19569: Require that all public header files have a destination path. Fix
places where this was currently not the case.
(This used to be commit 3894497a232df8cf0457c7439c9ae347f63f24a1)

16 years agor19568: When we get back a skew error, try with no skew. This allows us to
Andrew Bartlett [Mon, 6 Nov 2006 11:18:32 +0000 (11:18 +0000)]
r19568: When we get back a skew error, try with no skew.  This allows us to
recover from inheriting an invalid skew from a ccache.

Andrew Bartlett
(This used to be commit 4881f0583dd42083bb2bc2eeca32316f890c4804)

16 years agor19567: Make it easier to control the debug level in the test scripts, by not
Andrew Bartlett [Mon, 6 Nov 2006 10:38:13 +0000 (10:38 +0000)]
r19567: Make it easier to control the debug level in the test scripts, by not
specifying it on the smbd command line.

Andrew Bartlett
(This used to be commit 8b71f4b31f0fcb054784117c33987719e3c9110c)

16 years agor19566: Predeclare some useful structures.
Andrew Bartlett [Mon, 6 Nov 2006 10:36:31 +0000 (10:36 +0000)]
r19566: Predeclare some useful structures.
(This used to be commit 160a59f0733a90db157ad48747c7fb72c2912829)

16 years agor19565: the scripts do work :)
Andrew Tridgell [Sun, 5 Nov 2006 05:42:07 +0000 (05:42 +0000)]
r19565: the scripts do work :)
(This used to be commit 59c30478a19ba466d16de21062bed5a4f525f344)

16 years agor19564: testing build farm scripts, apologies for the noise
Andrew Tridgell [Sun, 5 Nov 2006 05:26:34 +0000 (05:26 +0000)]
r19564: testing build farm scripts, apologies for the noise

(jelmer didn't see some breakage emails lately, I want to ensure its
working)
(This used to be commit a675118a66993ff4868f2fad0c8f887feb93581b)

16 years agor19563: - make --num-progs a valid smbtorture option again. It's commonly
Andrew Tridgell [Sun, 5 Nov 2006 04:28:45 +0000 (04:28 +0000)]
r19563: - make --num-progs a valid smbtorture option again. It's commonly
  used.

- mark -t as an integer option
(This used to be commit 6602b605f6565c592500900e0f797f216f9910ff)

16 years agor19562: Support returning simple scalars.
Jelmer Vernooij [Sun, 5 Nov 2006 00:26:44 +0000 (00:26 +0000)]
r19562: Support returning simple scalars.
(This used to be commit 8bd12d3fdb23a532bf6b46bc88a21837303a0374)

16 years agor19561: Remove debug statement.
Jelmer Vernooij [Sun, 5 Nov 2006 00:08:39 +0000 (00:08 +0000)]
r19561: Remove debug statement.
(This used to be commit 910b56e72924661f30e43ca0e832b743e8d78d19)

16 years agor19560: Fix handling of PARAM_VALUE.
Jelmer Vernooij [Sun, 5 Nov 2006 00:03:44 +0000 (00:03 +0000)]
r19560: Fix handling of PARAM_VALUE.
(This used to be commit dde3d5342cd8b67ec4a0929f3e5577d6b1e7d16b)

16 years agor19559: Fix handling of types where the name isn't prefixed by the interface name.
Jelmer Vernooij [Sat, 4 Nov 2006 21:53:00 +0000 (21:53 +0000)]
r19559: Fix handling of types where the name isn't prefixed by the interface name.
Based on patch by Julien Kerihuel.
(This used to be commit 466e9c12a5f9bd2f7bf00c710bd9a537b48e7864)

16 years agor19558: Make behaviour of "OK" match that of Samba3's ntlm_auth. Patch by
Jelmer Vernooij [Sat, 4 Nov 2006 20:57:32 +0000 (20:57 +0000)]
r19558: Make behaviour of "OK" match that of Samba3's ntlm_auth. Patch by
Kai Blin.
(This used to be commit d599bb8f98c01459dfbafe041f481d301316057c)

16 years agor19557: Fix lookup table for WERROR.
Jelmer Vernooij [Sat, 4 Nov 2006 20:24:35 +0000 (20:24 +0000)]
r19557: Fix lookup table for WERROR.
Fix perl warnings when using NTSTATUS as return type.
(This used to be commit 577cd1625d97efae7bb397570de81a6a5ac0b1b0)

16 years agor19556: Remove unused option.
Jelmer Vernooij [Sat, 4 Nov 2006 19:45:50 +0000 (19:45 +0000)]
r19556: Remove unused option.
(This used to be commit 827af8654940243c21eb12e9f1934a13272a6b00)

16 years agor19555: Silently ignore --use-cached-creds for compatibility with Samba3's ntlm_auth.
Jelmer Vernooij [Sat, 4 Nov 2006 19:38:08 +0000 (19:38 +0000)]
r19555: Silently ignore --use-cached-creds for compatibility with Samba3's ntlm_auth.
Patch by Kai Blin.
(This used to be commit 2167552b9a869c408c5ba17dcba3367241934767)

16 years agor19554: Remove short option for --shell, as it overlaps with the option used for
Jelmer Vernooij [Sat, 4 Nov 2006 17:06:38 +0000 (17:06 +0000)]
r19554: Remove short option for --shell, as it overlaps with the option used for
configuration files.
(This used to be commit c2e58aa3e67ad6a03464ada5ae0e1437f3863b64)

16 years agor19553: Add check for correct API usage.
Jelmer Vernooij [Sat, 4 Nov 2006 15:40:05 +0000 (15:40 +0000)]
r19553: Add check for correct API usage.
(This used to be commit 9e2206ae99ed6dc64788b71f1301bd188ab0026d)

16 years agor19551: List full names for the known failing tests.
Jelmer Vernooij [Sat, 4 Nov 2006 13:27:06 +0000 (13:27 +0000)]
r19551: List full names for the known failing tests.
(This used to be commit 657c39ac6e4320554b6bb79e604feedb368c9dd5)

16 years agor19550: the sense of this test was wrong
Andrew Tridgell [Sat, 4 Nov 2006 04:49:02 +0000 (04:49 +0000)]
r19550: the sense of this test was wrong
(This used to be commit 4dcc26d0a67ec4a611e789b299a1db7ecf297e66)

16 years agor19549: fixed some indentation
Andrew Tridgell [Sat, 4 Nov 2006 04:48:46 +0000 (04:48 +0000)]
r19549: fixed some indentation
(This used to be commit ea1e4685d914c09d615bb7c4a5678b5de00da5f4)

16 years agor19548: this talloc_free() is definately wrong.
Andrew Tridgell [Sat, 4 Nov 2006 04:48:03 +0000 (04:48 +0000)]
r19548: this talloc_free() is definately wrong.
(This used to be commit b412a8390588fcbb655252fcc4cccbf3b3b84b5c)

16 years agor19547: Fix use of v1_enum on enums used in return types.
Jelmer Vernooij [Sat, 4 Nov 2006 02:54:24 +0000 (02:54 +0000)]
r19547: Fix use of v1_enum on enums used in return types.
(This used to be commit dbae9b4e4ea38806062ba34dcf05a67c2e7af043)

16 years agor19546: fix number of bytes pushed when using switch_type() set to enum types.
Jelmer Vernooij [Sat, 4 Nov 2006 02:51:03 +0000 (02:51 +0000)]
r19546: fix number of bytes pushed when using switch_type() set to enum types.
die() on invalid used of enum_type_fn()
(This used to be commit de6198c893737e63a5ff70684c1df212da054988)

16 years agor19545: Allow enums as return types in code generated for wireshark. Originally based...
Jelmer Vernooij [Sat, 4 Nov 2006 01:53:29 +0000 (01:53 +0000)]
r19545: Allow enums as return types in code generated for wireshark. Originally based on a patch by Julien Kerihuel.
(This used to be commit 705cd03c53f097086ef4f5aee9311a45bd19afa2)

16 years agor19544: Fix case of 'warning'.
Jelmer Vernooij [Fri, 3 Nov 2006 23:08:33 +0000 (23:08 +0000)]
r19544: Fix case of 'warning'.
(This used to be commit 4f1f541837db31322d875b6d2452c3f3a0d37fcd)

16 years agor19543: Make dynconfig less special.
Jelmer Vernooij [Fri, 3 Nov 2006 22:35:52 +0000 (22:35 +0000)]
r19543: Make dynconfig less special.
(This used to be commit 2780274e6fb25cec78ad341239090ed286ed1a45)

16 years agor19541: Explicitly segfault when the API is being used incorrectly. Previously
Jelmer Vernooij [Fri, 3 Nov 2006 19:55:17 +0000 (19:55 +0000)]
r19541: Explicitly segfault when the API is being used incorrectly. Previously
this would've caused a silent premature return.
(This used to be commit 91ae5a803334f77c2328ea12542158aab4da2da8)

16 years agor19539: Move pidfile to smbd/
Jelmer Vernooij [Fri, 3 Nov 2006 01:49:19 +0000 (01:49 +0000)]
r19539: Move pidfile to smbd/
(This used to be commit eefa64cbe392c4c4dcbf71b8bcf5128cce0339ba)

16 years agor19538: This is getting silly, but I needed an easy way to run 'make testenv'
Andrew Bartlett [Fri, 3 Nov 2006 00:34:52 +0000 (00:34 +0000)]
r19538: This is getting silly, but I needed an easy way to run 'make testenv'
under valgrind.

Andrew Bartlett
(This used to be commit f2bdbacaa9796ba30689eae295199983cc352590)

16 years agor19537: Report correct test names when tests failed.
Jelmer Vernooij [Thu, 2 Nov 2006 22:17:11 +0000 (22:17 +0000)]
r19537: Report correct test names when tests failed.
(This used to be commit 7b93b3c8be3d2a253b0737be893e7eb1b7c94dba)

16 years agor19536: Make output understandable (newlines)
Simo Sorce [Thu, 2 Nov 2006 22:02:37 +0000 (22:02 +0000)]
r19536: Make output understandable (newlines)
(This used to be commit 6960dd2075ed75c844c4a17e215991db2fb72c0d)

16 years agor19535: Fix warnings.
Jelmer Vernooij [Thu, 2 Nov 2006 21:41:50 +0000 (21:41 +0000)]
r19535: Fix warnings.
(This used to be commit 7443f4847df6614797c937dd8d45bf7b37464a20)

16 years agor19532: oops forgot this
Simo Sorce [Thu, 2 Nov 2006 00:32:42 +0000 (00:32 +0000)]
r19532: oops forgot this
(This used to be commit 9af225e319838a33141daa450473c157ecd65cd3)

16 years agor19531: Make struct ldb_dn opaque and local to ldb_dn.c
Simo Sorce [Wed, 1 Nov 2006 23:31:26 +0000 (23:31 +0000)]
r19531: Make struct ldb_dn opaque and local to ldb_dn.c
(This used to be commit 889fb983ba1cf8a11424a8b3dc3a5ef76e780082)

16 years agor19523: Remove unused functions.
Andrew Bartlett [Wed, 1 Nov 2006 09:57:56 +0000 (09:57 +0000)]
r19523: Remove unused functions.

Andrew Bartlett
(This used to be commit 3a3c1040a97e1d7d64e9e151ea4e1af79dcb976e)

16 years agor19522: Remove gensec and credentials dependency from the rootdse module (less
Andrew Bartlett [Wed, 1 Nov 2006 03:21:04 +0000 (03:21 +0000)]
r19522: Remove gensec and credentials dependency from the rootdse module (less
dependency loops).

This moves the evaluation of the SASL mechansim list to display in the
rootDSE to the ldap server.

Andrew Bartlett
(This used to be commit 379da475e224d93c05d91b37902c121eb4007d97)

16 years agor19521: Fix memory leak.
Andrew Bartlett [Wed, 1 Nov 2006 03:17:42 +0000 (03:17 +0000)]
r19521: Fix memory leak.

Andrew Bartlett
(This used to be commit cf1b0cc19fc7aad2a44777929861e70497ccef7d)

16 years agor19520: Try not to read past the end of the ldb buffer.
Andrew Bartlett [Wed, 1 Nov 2006 03:17:23 +0000 (03:17 +0000)]
r19520: Try not to read past the end of the ldb buffer.

Andrew Bartlett
(This used to be commit 3a103149a6c083b80f25163c0f3762f86bb496c1)

16 years agor19513: Add support for recipes (using '@')
Jelmer Vernooij [Mon, 30 Oct 2006 11:34:59 +0000 (11:34 +0000)]
r19513: Add support for recipes (using '@')
(This used to be commit dbe5e8dd8c0986e5ab55a072957048f633838157)

16 years agor19512: Add --shell option to smbtorture (first work towards support for 'recipes')
Jelmer Vernooij [Mon, 30 Oct 2006 01:19:31 +0000 (01:19 +0000)]
r19512: Add --shell option to smbtorture (first work towards support for 'recipes')
(This used to be commit 087a8e80a9e912b330178b8c647b83381635f8e9)

16 years agor19511: Remove unused externs.
Jelmer Vernooij [Mon, 30 Oct 2006 00:24:35 +0000 (00:24 +0000)]
r19511: Remove unused externs.
(This used to be commit a58a366beadd5558449d2b87b4b8d2777e1da309)

16 years agor19510: Make smbtorture's `nprocs' parameter a parametric option.
Jelmer Vernooij [Mon, 30 Oct 2006 00:17:16 +0000 (00:17 +0000)]
r19510: Make smbtorture's `nprocs' parameter a parametric option.
(This used to be commit f5d6b3ca29788d171d53822a26295ae895a5ed8f)

16 years agor19509: Simplify buildsystem code, create proper symlinks for aliases.
Jelmer Vernooij [Sun, 29 Oct 2006 23:50:32 +0000 (23:50 +0000)]
r19509: Simplify buildsystem code, create proper symlinks for aliases.
(This used to be commit a6d610805970dcb8b2676db9074432a094f7c149)

16 years agor19508: fixed SMB2-SETINFO
Andrew Tridgell [Sun, 29 Oct 2006 22:48:43 +0000 (22:48 +0000)]
r19508: fixed SMB2-SETINFO

the pvfs_acl_xattr backend was not being initialised
(This used to be commit 44c897764e6e2b9cfc4398fd3df52dc3eda6b341)

16 years agor19507: Merge my DSO fixes branch. Building Samba's libraries as shared libraries
Jelmer Vernooij [Sun, 29 Oct 2006 17:40:19 +0000 (17:40 +0000)]
r19507: Merge my DSO fixes branch. Building Samba's libraries as shared libraries
works again now, by specifying --enable-dso to configure.
(This used to be commit 7a01235067a4800b07b8919a6a475954bfb0b04c)

16 years agor19506: fixed remaining parts of RAW-READ and RAW-WRITE tests to check for
Andrew Tridgell [Sun, 29 Oct 2006 05:01:36 +0000 (05:01 +0000)]
r19506: fixed remaining parts of RAW-READ and RAW-WRITE tests to check for
CAP_LARGE_FILES
(This used to be commit 66bebb210550793d0e7fe1b6a03a5140455ae72f)

16 years agor19505: fixed a valgrind error
Andrew Tridgell [Sat, 28 Oct 2006 09:40:00 +0000 (09:40 +0000)]
r19505: fixed a valgrind error
(This used to be commit 8b9359aa7d7b60e0d5e36a2c736278f39dcb07bf)

16 years agor19504: - fixed a free error in file_lines_parse
Andrew Tridgell [Sat, 28 Oct 2006 06:06:15 +0000 (06:06 +0000)]
r19504: - fixed a free error in file_lines_parse

- added a function to test for large file support

- enable CAP_LARGE_FILES only if the test passes

- don't test at large offsets if the server doesn't set
  CAP_LARGE_FILES
(This used to be commit c5423ea22bdaa055807d4e6f7ac4be934194fe45)

16 years agor19503: it only makes sense to run the LOCAL-ICONV test on 'known good'
Andrew Tridgell [Sat, 28 Oct 2006 05:21:11 +0000 (05:21 +0000)]
r19503: it only makes sense to run the LOCAL-ICONV test on 'known good'
platforms as it tests the system iconv with the built in iconv. Limit
the test to Linux to avoid spurious errors.
(This used to be commit 9e1a8475ca7d1f8490cf8502c08a2544cfec5599)

16 years agor19502: fixed the RPC-SECRETS test with kerberos. Andrew, can you look at this
Andrew Tridgell [Sat, 28 Oct 2006 04:17:43 +0000 (04:17 +0000)]
r19502: fixed the RPC-SECRETS test with kerberos. Andrew, can you look at this
as well?

The server side change is needed to fix a valgrind error, which was
possibly exploitable if the client sent deliberately bad data
(This used to be commit e3c04cf165fe15739197b2713e78046399aa7653)

16 years agor19501: fix the hangs in the build farm in RPC-SECRETS
Andrew Tridgell [Fri, 27 Oct 2006 01:10:49 +0000 (01:10 +0000)]
r19501: fix the hangs in the build farm in RPC-SECRETS

a RPC-SECRETS on kerberos test still fails, but I'll let andrew take a
look at that later :)
(This used to be commit c260b175682c1cd95eaba958bfd9f054cb2547ea)

16 years agor19498: the autofree test cannot be run as part of smbtorture
Andrew Tridgell [Thu, 26 Oct 2006 03:26:53 +0000 (03:26 +0000)]
r19498: the autofree test cannot be run as part of smbtorture
(This used to be commit ebf1d523da45fe19757bca45262f7514702ee108)

16 years agor19496: remove unused file
Stefan Metzmacher [Wed, 25 Oct 2006 15:14:03 +0000 (15:14 +0000)]
r19496: remove unused file

metze
(This used to be commit fe733f6307bb5801d523a968aeb5395f463ce6d6)

16 years agor19495: Stop linking binaries twice (once before installation, once during build).
Jelmer Vernooij [Wed, 25 Oct 2006 14:58:05 +0000 (14:58 +0000)]
r19495: Stop linking binaries twice (once before installation, once during build).
Make TORTURE-TALLOC and TORTURE-REPLACE builtin again rather than
separate binaries.
(This used to be commit 8913d60c72a67b041b08d569c9bd048953106c85)

16 years agor19492: - fix RPC-AUTHCONTEXT and RPC-SAMBA3-GETUSERNAME (sorry volker:-)
Stefan Metzmacher [Wed, 25 Oct 2006 11:50:23 +0000 (11:50 +0000)]
r19492: - fix RPC-AUTHCONTEXT and RPC-SAMBA3-GETUSERNAME (sorry volker:-)

smb_composite_sesssetup() doesn't set session->vuid any more...
(I changed that yesterday, because it was inconsistently only done
 for spnego session setups, as it was needed internaly for the 2nd
 session setup call, but know session->vuid is only touched (reset to 0)
 for the wrong password case)

metze
(This used to be commit bf2a7dd2180c9a025b99b87831960827baf75f16)

16 years agor19490: better to check the return result
Simo Sorce [Wed, 25 Oct 2006 01:59:07 +0000 (01:59 +0000)]
r19490: better to check the return result
(This used to be commit abdc4edbb8f8b8234bad1be05fa92b3f3bc8876c)

16 years agor19489: Change ldb_msg_add_value and ldb_msg_add_empty to take a foruth argument.
Simo Sorce [Wed, 25 Oct 2006 01:42:59 +0000 (01:42 +0000)]
r19489: Change ldb_msg_add_value and ldb_msg_add_empty to take a foruth argument.
This is a pointer to an element pointer. If it is not null it will be
filled with the pointer of the manipulated element.
Will avoid double searches on the elements list in some cases.
(This used to be commit 0fa5d4bc225b83e9f63ac6d75bffc4c08eb6b620)

16 years agor19485: Fix Coverity # 319
Volker Lendecke [Tue, 24 Oct 2006 20:15:13 +0000 (20:15 +0000)]
r19485: Fix Coverity # 319
(This used to be commit d12bdb6133c1612b9d3e1a0c6692cbc4ab17fe32)

16 years agor19482: remove pointless cast
Stefan Metzmacher [Tue, 24 Oct 2006 17:00:52 +0000 (17:00 +0000)]
r19482: remove pointless cast

metze
(This used to be commit 81a975100cbf7058de9245e51992d61cbdcb6473)

16 years agor19481: - reset the vuid before trying a new session setup
Stefan Metzmacher [Tue, 24 Oct 2006 16:16:31 +0000 (16:16 +0000)]
r19481: - reset the vuid before trying a new session setup
- only touch session->vuid when needed
- it make no sense to set an .spnego.out.vuid

metze
(This used to be commit 1940fbed154c89d29214ddf293128a70a97bf923)

16 years agor19480: - clear the whole session struct (only let the pid untouched)
Stefan Metzmacher [Tue, 24 Oct 2006 16:14:00 +0000 (16:14 +0000)]
r19480: - clear the whole session struct (only let the pid untouched)
- zero state struct

metze
(This used to be commit 97fb407a4cfcf71e95663e437cb7f638ac4028fc)

16 years agor19479: Remove more unused functions. These are handled via authentication
Andrew Bartlett [Tue, 24 Oct 2006 08:08:03 +0000 (08:08 +0000)]
r19479: Remove more unused functions.  These are handled via authentication
abstractions now.

Andrew Bartlett
(This used to be commit df31237c0cac0213c4f32fc491bcec2ea9f885c3)

16 years agor19478: Remove unused functions, and make static functions used only in this
Andrew Bartlett [Tue, 24 Oct 2006 07:56:59 +0000 (07:56 +0000)]
r19478: Remove unused functions, and make static functions used only in this
file.  Everybody calls this via the dcerpc_pipe_connect() or
dcerpc_pipe_connect_b() functions.

Andrew Bartlett
(This used to be commit 5ee0fc035179c76f1362547ccc500f8677c8fa1f)

16 years agor19476: small typo.
Brad Henry [Tue, 24 Oct 2006 02:50:17 +0000 (02:50 +0000)]
r19476: small typo.
(This used to be commit 51580208a77bfed3981ed4098e39ff401dfb8847)

16 years agor19475: fixed a couple of typos.
Brad Henry [Tue, 24 Oct 2006 02:49:15 +0000 (02:49 +0000)]
r19475: fixed a couple of typos.
(This used to be commit f2df3a90f1f3b85bc3c847ebfc1d01e2fa9e9ee7)

16 years agor19474: Move the Samba server / Windows client test to its own script.
Brad Henry [Tue, 24 Oct 2006 01:40:15 +0000 (01:40 +0000)]
r19474: Move the Samba server / Windows client test to its own script.
(This used to be commit 908b483ed096497e1604b67ea797c223c3e34adf)

16 years agor19473: Add NET tests in their own script. Run the same set of tests that 'make test...
Brad Henry [Tue, 24 Oct 2006 01:29:02 +0000 (01:29 +0000)]
r19473: Add NET tests in their own script. Run the same set of tests that 'make test' does.
Comment those tests which don't pass.
(This used to be commit 7d382b175b548ae32b4c7c1b728dcd02e20cbbfa)

16 years agor19472: Move rpc tests to their own scripts. Run the same tests as 'make test' does.
Brad Henry [Tue, 24 Oct 2006 01:25:09 +0000 (01:25 +0000)]
r19472: Move rpc tests to their own scripts. Run the same tests as 'make test' does.
Comment those tests that don't pass.
(This used to be commit 046b38817ad30df14214c5d66ae10999699bdb08)

16 years agor19471: Move BASE and RAW tests to their own scripts. Run the same set of tests as...
Brad Henry [Tue, 24 Oct 2006 01:18:07 +0000 (01:18 +0000)]
r19471: Move BASE and RAW tests to their own scripts. Run the same set of tests as 'make test' does, at least for those that pass.
Comment the tests that don't pass.
(This used to be commit 33760cfe94f8a4a0e4441dd8fb5089cf8c26487f)

16 years agor19470: Move common windows test functions into their own script wintest_functions...
Brad Henry [Tue, 24 Oct 2006 01:04:20 +0000 (01:04 +0000)]
r19470: Move common windows test functions into their own script wintest_functions.sh, and remove them from the main windows test script.
(This used to be commit 587196092846dbab009be9063b1680ad73ae9c14)