12 years agor24971: Test more combinations for resetting the account expiry.
Andrew Bartlett [Thu, 6 Sep 2007 00:17:17 +0000 (00:17 +0000)]
r24971: Test more combinations for resetting the account expiry.

Andrew Bartlett
(This used to be commit 8844f4796c76c103ce4eaff477c615e74c655e68)

12 years agor24959: Merge back changes from release branch, and set new VERSION on main tree.
Andrew Bartlett [Wed, 5 Sep 2007 00:53:20 +0000 (00:53 +0000)]
r24959: Merge back changes from release branch, and set new VERSION on main tree.

Andrew Bartlett
(This used to be commit 95e4d337338191913bc6d13a076667de6bf33aba)

12 years agor24945: The behaviour of the SAMR server on a member server is worth testing
Andrew Bartlett [Tue, 4 Sep 2007 06:46:06 +0000 (06:46 +0000)]
r24945: The behaviour of the SAMR server on a member server is worth testing

Andrew Bartlett
(This used to be commit f033c71ebee798fc7503d7f14f855c40d3ece9a4)

12 years agor24942: Patch from Matthias Wallnöfer <mwallnoefer@yahoo.de> and a testsuite
Andrew Bartlett [Tue, 4 Sep 2007 02:22:04 +0000 (02:22 +0000)]
r24942: Patch from Matthias Wallnöfer <mwallnoefer@yahoo.de> and a testsuite
to prove it is correct.

This should fix bug #4824: User Manager for Domains - Account Expires.


Andrew Bartlett
(This used to be commit e5f0744d627ccfcc2e301fc38d139742f0ea5934)

12 years agor24941: Simplify samdb_result_nttime(), and remove nttime_from_string()
Andrew Bartlett [Tue, 4 Sep 2007 02:08:36 +0000 (02:08 +0000)]
r24941: Simplify samdb_result_nttime(), and remove nttime_from_string()

Andrew Bartlett
(This used to be commit bcd994a139e2e8fb2e97c8b897c987ff234e0b0a)

12 years agor24940: Fix undeclared warning.
Jelmer Vernooij [Tue, 4 Sep 2007 01:08:39 +0000 (01:08 +0000)]
r24940: Fix undeclared warning.
(This used to be commit bbc4650871c127e89c0fff88264f529c17c3c151)

12 years agor24939: Integrate IPv4 and IPv6 modules (a lot of code can be shared).
Jelmer Vernooij [Mon, 3 Sep 2007 22:39:16 +0000 (22:39 +0000)]
r24939: Integrate IPv4 and IPv6 modules (a lot of code can be shared).
(This used to be commit 15f47aaf533bec4d7d82d75d27c233b3b0b261cd)

12 years agor24937: Merge tests spoolss RPC callbacks.
Jelmer Vernooij [Mon, 3 Sep 2007 13:13:25 +0000 (13:13 +0000)]
r24937: Merge tests spoolss RPC callbacks.
(This used to be commit 9b256a0ca232ea6e89771bf73a1adf877273a752)

12 years agor24918: Fix the build (forgot to include dcesrv_lsa.c in the previous commit)
Andrew Bartlett [Mon, 3 Sep 2007 07:56:29 +0000 (07:56 +0000)]
r24918: Fix the build (forgot to include dcesrv_lsa.c in the previous commit)
and improve error strings returned from samdb.c

Andrew Bartlett
(This used to be commit a42d0eb531e663304bea840d614b2f91f95dd818)

12 years agor24915: Try to quiet down this warning - the 'classic' share code doesn't
Andrew Bartlett [Mon, 3 Sep 2007 04:05:50 +0000 (04:05 +0000)]
r24915: Try to quiet down this warning - the 'classic' share code doesn't
support passwords for share-mode security (we don't even support share
mode security, and are unlikely ever to).

Andrew Bartlett
(This used to be commit 0d56ab59c571fd38c3071660ed7db6264300df50)

12 years agor24914: In response to bug #4892 by Matthias Wallnöfer <mwallnoefer@yahoo.de>,
Andrew Bartlett [Mon, 3 Sep 2007 02:51:24 +0000 (02:51 +0000)]
r24914: In response to bug #4892 by Matthias Wallnöfer <mwallnoefer@yahoo.de>,
allow the objectclass module to reconstruct the objectclass hierarchy,
rather than using templates.

The issue being fixed in particular is that 'top' was not being set on

This should ensure we do this right for all objects.

Andrew Bartlett
(This used to be commit d17a0058ba8492b8b3f81b6f10fc34b3e45bb8a6)

12 years agor24913: Fix typo
Andrew Bartlett [Mon, 3 Sep 2007 02:48:50 +0000 (02:48 +0000)]
r24913: Fix typo
(This used to be commit 4634bb282bec35c75e74e47f5ce67835a3556b68)

12 years agor24911: Make better use of substituted variables in example named.conf
Andrew Bartlett [Sun, 2 Sep 2007 23:42:40 +0000 (23:42 +0000)]
r24911: Make better use of substituted variables in example named.conf

Andrew Bartlett
(This used to be commit 9f18a9711771a88be7c38bc26ae6e59fb98f93dd)

12 years agor24909: Patch from Andrew Kroeger <andrew@sprocks.gotdns.com> on the slow road
Andrew Bartlett [Sun, 2 Sep 2007 23:28:00 +0000 (23:28 +0000)]
r24909: Patch from Andrew Kroeger <andrew@sprocks.gotdns.com> on the slow road
to working GSS-TSIG DDNS.

Andrew Bartlett
(This used to be commit 99f832e7edcf940003fe9a2506622d991bc00f27)

12 years agor24908: we should not set s = NULL as we set it to talloc_strdup("") before
Stefan Metzmacher [Sun, 2 Sep 2007 19:56:03 +0000 (19:56 +0000)]
r24908: we should not set s = NULL as we set it to talloc_strdup("") before

(This used to be commit 2246c018b6b99ae38a4a612309069fc919350ba6)

12 years agor24907: now that we support bindings without a transport
Stefan Metzmacher [Sun, 2 Sep 2007 19:53:42 +0000 (19:53 +0000)]
r24907: now that we support bindings without a transport
just setup torture:binding even if we get an unc
as parameter

(This used to be commit 5af6d77c2143ba1b85cbea8f2d2028ebcff398da)

12 years agor24905: Actually run the transport-independent tests, rather than just the transport...
Jelmer Vernooij [Sun, 2 Sep 2007 18:25:59 +0000 (18:25 +0000)]
r24905: Actually run the transport-independent tests, rather than just the transport-dependent ones again...
(This used to be commit 82da9d7d62fac7ee32a6f88308f39cbec0b67197)

12 years agor24901: Somewhat easier and more reliable access to the pid files.
Jelmer Vernooij [Sun, 2 Sep 2007 17:47:35 +0000 (17:47 +0000)]
r24901: Somewhat easier and more reliable access to the pid files.
(This used to be commit 91a0a00e6df4527948a2259ef2f7275f81c42cf1)

12 years agor24900: - if we use try to create a 3rd dcerpc_pipe then use a 3rd variable
Stefan Metzmacher [Sun, 2 Sep 2007 17:27:40 +0000 (17:27 +0000)]
r24900: - if we use try to create a 3rd dcerpc_pipe then use a 3rd variable
  instead of overwritting the one of the 2nd connection
- make it possible to specify the expected ntstatus for
  DsRoleGetPrimaryDomainInformation as the alter_context
  wants it to fail when used on the wrong pipe

(This used to be commit c7c72ab36b15c5ffac1740b7df93fa92fe4620e9)

12 years agor24899: Register signal handler that tears down environment.
Jelmer Vernooij [Sun, 2 Sep 2007 17:13:56 +0000 (17:13 +0000)]
r24899: Register signal handler that tears down environment.
(This used to be commit fa89d228dd1988a74eea107ac8c2773cff7b9df1)

12 years agor24898: Fix LOCAL-REGISTRY, do not silently ignore testcase setup failures.
Jelmer Vernooij [Sun, 2 Sep 2007 16:17:12 +0000 (16:17 +0000)]
r24898: Fix LOCAL-REGISTRY, do not silently ignore testcase setup failures.
(This used to be commit 527ea7fccf4ace9cd9cbacf49820ecd208b8d570)

12 years agor24897: Do some sanity checking on --basedir.
Jelmer Vernooij [Sun, 2 Sep 2007 16:12:49 +0000 (16:12 +0000)]
r24897: Do some sanity checking on --basedir.
(This used to be commit 32dbaa142a2514d011a91ba0a0026934305e295f)

12 years agor24896: Run the tests for most RPC interfaces over one transport only.
Jelmer Vernooij [Sun, 2 Sep 2007 15:05:58 +0000 (15:05 +0000)]
r24896: Run the tests for most RPC interfaces over one transport only.
(This used to be commit ded2841eef3df7b491a1af9373ad0dcc8c85a5ea)

12 years agor24895: Test for specific error.
Jelmer Vernooij [Sun, 2 Sep 2007 15:02:17 +0000 (15:02 +0000)]
r24895: Test for specific error.
(This used to be commit 00d6dc85f5473ba7b27ed79ea55c8a4fe4d4fac8)

12 years agor24894: Run the libnet tests over just one DCE/RPC transport. Other DCE/RPC tests...
Jelmer Vernooij [Sun, 2 Sep 2007 14:09:24 +0000 (14:09 +0000)]
r24894: Run the libnet tests over just one DCE/RPC transport. Other DCE/RPC tests already check
that the DCE/RPC library and interfaces work ok.
(This used to be commit d392d6e92b4145106e073ec4410796e3913320c0)

12 years agor24893: Update documentation for selftest.
Jelmer Vernooij [Sun, 2 Sep 2007 13:32:52 +0000 (13:32 +0000)]
r24893: Update documentation for selftest.
(This used to be commit df8f0677f398b26a2764be74715294bb76b1c248)

12 years agor24892: Skip some tests that were previously being incorrectly treated as succeeding.
Jelmer Vernooij [Sun, 2 Sep 2007 13:30:28 +0000 (13:30 +0000)]
r24892: Skip some tests that were previously being incorrectly treated as succeeding.
(This used to be commit b5b8e879a1bbb5329458f05120619ea439904962)

12 years agor24891: Fix smbtorture to exit non-zero if a test suite wasn't found.
Jelmer Vernooij [Sun, 2 Sep 2007 12:53:46 +0000 (12:53 +0000)]
r24891: Fix smbtorture to exit non-zero if a test suite wasn't found.
(This used to be commit 44139acf3045149de5bbbbdfd6e0304fc9e0b8dd)

12 years agor24890: Integrate more of the RPC-SECRETS tests.
Jelmer Vernooij [Sun, 2 Sep 2007 12:48:58 +0000 (12:48 +0000)]
r24890: Integrate more of the RPC-SECRETS tests.
(This used to be commit 84cc1d42ab201d4a8fb0ef06b85d79a3ed8bc1d4)

12 years agor24889: Move choosing the binding options into RPC-SECRETS.
Jelmer Vernooij [Sun, 2 Sep 2007 12:26:06 +0000 (12:26 +0000)]
r24889: Move choosing the binding options into RPC-SECRETS.
(This used to be commit 24d322b746cf25010045515f9beff63e2b5cccd2)

12 years agor24888: Use torture API.
Jelmer Vernooij [Sun, 2 Sep 2007 11:30:40 +0000 (11:30 +0000)]
r24888: Use torture API.
(This used to be commit 08b64b42d03d52e7e022aca0b72ce67c1bbbc19e)

12 years agor24887: Support reading testlists from other locations (e.g. Samba3)
Jelmer Vernooij [Sun, 2 Sep 2007 11:16:16 +0000 (11:16 +0000)]
r24887: Support reading testlists from other locations (e.g. Samba3)
(This used to be commit 88537c5affb91050b1cce244688d99624d0f6c7d)

12 years agor24885: Convert to new torture API.
Jelmer Vernooij [Sun, 2 Sep 2007 03:14:32 +0000 (03:14 +0000)]
r24885: Convert to new torture API.
(This used to be commit 2918a056787467186a491574da95ea38c9aea1ee)

12 years agor24884: Ignore some errors again, like they were previously.
Jelmer Vernooij [Sun, 2 Sep 2007 02:53:18 +0000 (02:53 +0000)]
r24884: Ignore some errors again, like they were previously.
(This used to be commit 120d8caa01ca69e2e3de43f5983a66ad413977b7)

12 years agor24883: Use torture API.
Jelmer Vernooij [Sun, 2 Sep 2007 02:35:11 +0000 (02:35 +0000)]
r24883: Use torture API.
(This used to be commit 9935aac0f3acd50ca775b8ccd74535c56a47ee33)

12 years agor24882: Use the torture API in BASE-CHARSET.
Jelmer Vernooij [Sun, 2 Sep 2007 02:07:55 +0000 (02:07 +0000)]
r24882: Use the torture API in BASE-CHARSET.
(This used to be commit 93910d92cd431add876e98a12712253bee8c52e7)

12 years agor24878: Support specifying a reason for skips/expected failures
Jelmer Vernooij [Sun, 2 Sep 2007 00:24:38 +0000 (00:24 +0000)]
r24878: Support specifying a reason for skips/expected failures
(This used to be commit 84c94b37fed837c7a45f59746de80d20063d93e8)

12 years agor24876: Use more absolute paths to samba4 binaries.
Jelmer Vernooij [Sun, 2 Sep 2007 00:04:27 +0000 (00:04 +0000)]
r24876: Use more absolute paths to samba4 binaries.
(This used to be commit 8616bfa0ae5762ae45b8339c84b8e4ae499f5897)

12 years agor24875: Use more absolute paths to samba4 binaries.
Jelmer Vernooij [Sat, 1 Sep 2007 23:57:34 +0000 (23:57 +0000)]
r24875: Use more absolute paths to samba4 binaries.
(This used to be commit d5a3ebef36a3feed73817269a41c146230c29de9)

12 years agor24874: Fix double free of smbcli_tree.
Jelmer Vernooij [Sat, 1 Sep 2007 23:25:44 +0000 (23:25 +0000)]
r24874: Fix double free of smbcli_tree.
(This used to be commit 84f14b5dd042f8805e69ad455b222a76614dbe21)

12 years agor24873: Print smbd/nmbd log files for Samba 3.
Jelmer Vernooij [Sat, 1 Sep 2007 23:11:48 +0000 (23:11 +0000)]
r24873: Print smbd/nmbd log files for Samba 3.
(This used to be commit 8dad4c5503b2987bdf44324301a067063d48495f)

12 years agor24872: Use torture API a bit more
Jelmer Vernooij [Sat, 1 Sep 2007 23:01:33 +0000 (23:01 +0000)]
r24872: Use torture API a bit more
(This used to be commit a71355dfc933d4273d81e7b05a28197ca86e0cc6)

12 years agor24871: Fix typos
Jelmer Vernooij [Sat, 1 Sep 2007 22:51:50 +0000 (22:51 +0000)]
r24871: Fix typos
(This used to be commit 7d9c898d5e5de1e905062476c2a9c6c0ce432f71)

12 years agor24870: Strip whitespace characters in username (broke tests).
Jelmer Vernooij [Sat, 1 Sep 2007 21:10:07 +0000 (21:10 +0000)]
r24870: Strip whitespace characters in username (broke tests).
(This used to be commit 264f5c9d501f7ceee7934b3f5826e68d7626a499)

12 years agor24869: Print command that was executed.
Jelmer Vernooij [Sat, 1 Sep 2007 21:02:57 +0000 (21:02 +0000)]
r24869: Print command that was executed.
(This used to be commit 9aabcafba612afafb1c3260b79a899ea463f8d32)

12 years agor24868: Don't use callbacks for prompting when stdout is not a tty.
Jelmer Vernooij [Sat, 1 Sep 2007 20:25:24 +0000 (20:25 +0000)]
r24868: Don't use callbacks for prompting when stdout is not a tty.
(This used to be commit 9b02a39c156862f9e9258dcdb9b8b86715022fc1)

12 years agor24867: Avoid anonymous struct. Patch from Brad Hards.
Jelmer Vernooij [Sat, 1 Sep 2007 20:19:29 +0000 (20:19 +0000)]
r24867: Avoid anonymous struct. Patch from Brad Hards.
(This used to be commit e7866857fbdc9b7b7bebcecd41f34f54b37f3b04)

12 years agor24866: Put remainder of binding string tests in librpc/ directory.
Jelmer Vernooij [Sat, 1 Sep 2007 19:16:22 +0000 (19:16 +0000)]
r24866: Put remainder of binding string tests in librpc/ directory.
(This used to be commit 5b78d845a4d107e6a0e77a6e57e2b0e22fc0db95)

12 years agor24861: Use absolute paths to make it easier to run the testsuite from the Samba3...
Jelmer Vernooij [Sat, 1 Sep 2007 02:33:00 +0000 (02:33 +0000)]
r24861: Use absolute paths to make it easier to run the testsuite from the Samba3 source.
(This used to be commit 022d5a43cedeb5cca7e4cf3424963e2180ec1f2f)

12 years agor24860: Make it easier to run selftest.pl in a Samba3 source tree.
Jelmer Vernooij [Sat, 1 Sep 2007 00:36:01 +0000 (00:36 +0000)]
r24860: Make it easier to run selftest.pl in a Samba3 source tree.
(This used to be commit 53ec879e3168e9f56e774f0b0d70aeebb3795f8e)

12 years agor24859: Merge from SAMBA_4_0_RELEASE:
Andrew Bartlett [Fri, 31 Aug 2007 23:15:03 +0000 (23:15 +0000)]
r24859: Merge from SAMBA_4_0_RELEASE:

Make the SWAT-based Vampire work again (needs override for default
smb.conf values).

Andrew Bartlett
(This used to be commit e5cd44a018eae1f49e4408049461693350498326)

12 years agor24855: Convert RPC-DRSUAPI, RPC-SCHANNEL to use the torture API.
Jelmer Vernooij [Fri, 31 Aug 2007 22:34:52 +0000 (22:34 +0000)]
r24855: Convert RPC-DRSUAPI, RPC-SCHANNEL to use the torture API.
(This used to be commit dadcc4708e1813c0b657f1d357c2ae202ea4ec5a)

12 years agor24852: Fix initialization
Jelmer Vernooij [Fri, 31 Aug 2007 19:06:30 +0000 (19:06 +0000)]
r24852: Fix initialization
(This used to be commit 1e56698f1bac30a1d6b7558df41e85db3d2571db)

12 years agor24851: Add --load-module argument to smbtorture.
Jelmer Vernooij [Fri, 31 Aug 2007 18:35:30 +0000 (18:35 +0000)]
r24851: Add --load-module argument to smbtorture.
(This used to be commit 76a713b6786e22b810937289b3e7cc6700a0b49d)

12 years agor24850: Convert to torture API.
Jelmer Vernooij [Fri, 31 Aug 2007 17:38:37 +0000 (17:38 +0000)]
r24850: Convert to torture API.
(This used to be commit 6c7a004b9d95e443d07307bbe94f691cc4b03490)

12 years agor24849: Add helper function for running tests as a member server.
Jelmer Vernooij [Fri, 31 Aug 2007 16:43:05 +0000 (16:43 +0000)]
r24849: Add helper function for running tests as a member server.
(This used to be commit 61b2f0a405ea70203ea982b9a151643f28b1da7e)

12 years agor24846: Use metadata about dangerous tests.
Jelmer Vernooij [Fri, 31 Aug 2007 15:43:03 +0000 (15:43 +0000)]
r24846: Use metadata about dangerous tests.
(This used to be commit f914b828ff486d41e123e6dafa1c8fd76b34b44b)

12 years agor24844: Convert to torture API in preparation of helper functions for domain member
Jelmer Vernooij [Fri, 31 Aug 2007 15:29:38 +0000 (15:29 +0000)]
r24844: Convert to torture API in preparation of helper functions for domain member
RPC tests.
(This used to be commit c2521453a902ea5fd4f894a21af711ac2b2cbd40)

12 years agor24839: Default to creating a dc + domain member in 'make testenv'.
Jelmer Vernooij [Fri, 31 Aug 2007 14:06:32 +0000 (14:06 +0000)]
r24839: Default to creating a dc + domain member in 'make testenv'.
(This used to be commit 221d2279131c72c8055ceebe0314930881085aeb)

12 years agor24835: Put all RPC tests in the list (skipping when necessary), warn if tests aren...
Jelmer Vernooij [Fri, 31 Aug 2007 13:30:47 +0000 (13:30 +0000)]
r24835: Put all RPC tests in the list (skipping when necessary), warn if tests aren't there.
(This used to be commit 1ff13ae254288afc56a3b19d00c7a20120eb4c74)

12 years agor24834: Pass environment name on to skip_testsuite().
Jelmer Vernooij [Fri, 31 Aug 2007 13:24:59 +0000 (13:24 +0000)]
r24834: Pass environment name on to skip_testsuite().
(This used to be commit 2ac1f32506c9fdfbe836f605b2152a9e094dc733)

12 years agor24822: Merge from SAMBA_4_0_RELEASE:
Andrew Bartlett [Fri, 31 Aug 2007 02:44:56 +0000 (02:44 +0000)]
r24822: Merge from SAMBA_4_0_RELEASE:

Update the mkrelease.sh script and mkversion.sh to make releasing correct
Samba4 tarballs harder to screw up.

Andrew Bartlett
(This used to be commit 5f9ca54b5cc76cedcb56d805d5f9ea9167adc94b)

12 years agor24819: We are preparing for alpha1, so update the mkversion script to cope with...
Andrew Bartlett [Fri, 31 Aug 2007 01:52:37 +0000 (01:52 +0000)]
r24819: We are preparing for alpha1, so update the mkversion script to cope with that.

Andrew Bartlett
(This used to be commit 6245da195b76e233f83354797818f608c5458d63)

12 years agor24817: Don't REG_NONE for all value types. Patch from
Jelmer Vernooij [Fri, 31 Aug 2007 00:52:47 +0000 (00:52 +0000)]
r24817: Don't REG_NONE for all value types. Patch from
Andrew Kroeger <andrew@sprocks.gotdns.com>
(This used to be commit ff81ea3f5aa8a93cf96914f03c26f8c86ec1e912)

12 years agor24816: Move the rest of the contents of core.h to more appropriate places.
Jelmer Vernooij [Fri, 31 Aug 2007 00:31:32 +0000 (00:31 +0000)]
r24816: Move the rest of the contents of core.h to more appropriate places.
include/ now only contains build system related headers, all other headers are
now near the source code they're related to.
(This used to be commit 6890a01dbfc6d8041a88ef5c6be52dfcd046fe80)

12 years agor24815: Support cpp_quote().
Jelmer Vernooij [Fri, 31 Aug 2007 00:03:54 +0000 (00:03 +0000)]
r24815: Support cpp_quote().
(This used to be commit 30c1de30bb4ded16e79316c0ab43809e0e19f75d)

12 years agor24814: Fix headers, trim core.h even more.
Jelmer Vernooij [Thu, 30 Aug 2007 23:15:12 +0000 (23:15 +0000)]
r24814: Fix headers, trim core.h even more.
(This used to be commit 9647f860bdd5c0a74583e886182bd041a45e7655)

12 years agor24812: Fix headers for external users.
Jelmer Vernooij [Thu, 30 Aug 2007 22:25:59 +0000 (22:25 +0000)]
r24812: Fix headers for external users.
(This used to be commit ff6684adfd96b59381dd941e54070ab9f8984912)

12 years agor24810: Don't collide with <time.h>
Jelmer Vernooij [Thu, 30 Aug 2007 20:42:07 +0000 (20:42 +0000)]
r24810: Don't collide with <time.h>
(This used to be commit 2e4fe89d41f8d95beb95dc9f8423062076820049)

12 years agor24800: Don't execute RAW-SAMBA3POSIXTIMEDLOCK
Volker Lendecke [Thu, 30 Aug 2007 10:32:22 +0000 (10:32 +0000)]
r24800: Don't execute RAW-SAMBA3POSIXTIMEDLOCK

Thanks jelmer, I was not aware of the difference between knownfail and
(This used to be commit df0b3ad90a5db5cef8315ab8948ee2816c34e3c6)

12 years agor24798: RAW-SAMBA3POSIXTIMEDLOCK
Volker Lendecke [Thu, 30 Aug 2007 09:51:33 +0000 (09:51 +0000)]

This adds the torture:localdir option, smbtorture expects the share to actually
reside in this directory. This might open up more solid posix vs cifs tests.
(This used to be commit b0a40dd277c343f5c77c851b26981ddd8166f6bb)

12 years agor24796: Add bounds checking to ntlm_auth, increase initial buffer size to 300 to...
Kai Blin [Thu, 30 Aug 2007 09:02:40 +0000 (09:02 +0000)]
r24796: Add bounds checking to ntlm_auth, increase initial buffer size to 300 to avoid
one talloc/fgets loop in the common case, which is slightly over 200 for the KK
(This used to be commit ba5ac4eeb8086d50e829e1a9944ea89a28eeef2c)

12 years agor24795: When talking to squid, allocate the buffer size dynamically.
Kai Blin [Thu, 30 Aug 2007 06:45:11 +0000 (06:45 +0000)]
r24795: When talking to squid, allocate the buffer size dynamically.
(This used to be commit 2b72738e4ecc6ad25a08ce7bf41d8d46fcee4115)

12 years agor24794: util_proto.h is no longer generated.
Jelmer Vernooij [Thu, 30 Aug 2007 02:02:04 +0000 (02:02 +0000)]
r24794: util_proto.h is no longer generated.
(This used to be commit 01096201bfa089f668a834697f470cbefc2a35f4)

12 years agor24793: The subtree_rename module is a work of fiction. An resemblance to a
Andrew Bartlett [Thu, 30 Aug 2007 00:25:47 +0000 (00:25 +0000)]
r24793: The subtree_rename module is a work of fiction.  An resemblance to a
working module, live or dead, is purely co-incidental.

Andrew Bartlett
(This used to be commit 64cc31642fd2ded149631d07bc022213f19595b8)

12 years agor24780: More work allowing libutil to be used by external users.
Jelmer Vernooij [Wed, 29 Aug 2007 13:07:03 +0000 (13:07 +0000)]
r24780: More work allowing libutil to be used by external users.
(This used to be commit 31993cf67b816a184a4a4e92ef8ca2532c797190)

12 years agor24779: add 11 specific access rights that applies to accessmasks for User
Ronnie Sahlberg [Wed, 29 Aug 2007 12:51:46 +0000 (12:51 +0000)]
r24779: add 11 specific access rights that applies to accessmasks for User
objects on the samr pipe.

8 of these bits :
  get name etc
  get locale
  get loc com
  set attributes
  change password
  set password
  get groups
comes from wireshark/ethereal where they were added Aug 21 2002


3 bits :
  get attributes
  get group membership
  change group membership
also come from wireshark/ethereal where they were added Jul 24 2003

(This used to be commit 1c2729228a341a2d063a444e9546e7e09f23c966)

12 years agor24777: add 11 specific access rights to the access mask for
Ronnie Sahlberg [Wed, 29 Aug 2007 12:39:58 +0000 (12:39 +0000)]
r24777: add 11 specific access rights  to the access mask for
domains on the samr pipe

10 of these bits :
  lookup info 1
  set info 1
  lookup info 2
  set info 2
  create user
  create group
  create alias
  enum account
  open account
  set info 3
come from wireshark/ethereal and were added to wireshark in Aug 21 2002

one bit
  lookup alias
also comes from wireshark where it was added in wireshark in Feb 21 2003

(This used to be commit 4b2c8e28657b31c606d21946e7949c9cc52613c9)

12 years agor24775: add 5 specific access right bits for the accessmask that refers
Ronnie Sahlberg [Wed, 29 Aug 2007 12:22:15 +0000 (12:22 +0000)]
r24775: add 5 specific access right bits for the accessmask that refers
to Groups on the samr pipe

the five bits
  lookup info
  set info
  add member
  remove member
  get members
comes from the wireshark/ethereal sources where they were added in Aug
21 2002

(This used to be commit 1f00ac5dbe8f034d845c4e579a3f517311784900)

12 years agor24774: add 5 specific access mask bits for policy handles created for aliases
Ronnie Sahlberg [Wed, 29 Aug 2007 11:54:23 +0000 (11:54 +0000)]
r24774: add 5 specific access mask bits for policy handles created for aliases

these five access mask bits :
   add member
   remove members
   get members
   lookup info
   set info
come from wireshark/ethereal  where they were added to cvs in Aug 21  2002

(This used to be commit e39556ba4cc76b2754ef891d5c696bc3a5761310)

12 years agor24772: add a bitmap that describes 6 of the specific accessmask bits for
Ronnie Sahlberg [Wed, 29 Aug 2007 11:04:49 +0000 (11:04 +0000)]
r24772: add a bitmap that describes 6 of the specific accessmask bits for
policy handles that are create by Connect?() calls on the samr pipe.

these bits come from the wireshark/ethereal sources where they have
been documented for a long time.

the bits :
  connect to server
  initialize server
  create domain
were added to wireshark/ethereal in svn 8080   Jul 24 2003

the bits :
  open domain
  enum domain
  shutdown server
were added to wireshark/ethereal in svn 6054 Aug 21 2002
(This used to be commit 04e67bb6807c318de44d5434bc4344b24494b4a1)

12 years agor24768: redo the pingpong torture using sync functions to make the code simpler
Ronnie Sahlberg [Wed, 29 Aug 2007 06:58:25 +0000 (06:58 +0000)]
r24768: redo the pingpong torture using sync functions to make the code simpler
(This used to be commit b4a6a4c1299ef916719a819203ef931847e59ee0)

12 years agor24767: add a torture test that performs "ping-pong" that works the same way as
Ronnie Sahlberg [Wed, 29 Aug 2007 05:45:24 +0000 (05:45 +0000)]
r24767: add a torture test that performs "ping-pong" that works the same way as

this is a manual test and only makes sense to be used in parallell with
the real ping-pong.c tool
(This used to be commit b58677fa745361eafe87c62b2988a7b6387b23e7)

12 years agor24766: forgot to commit this before. It is needed as this never terminates.
Andrew Tridgell [Wed, 29 Aug 2007 05:34:20 +0000 (05:34 +0000)]
r24766: forgot to commit this before. It is needed as this never terminates.
(This used to be commit 81355630ff201764a1b9393ae0ef4da8340752c1)

12 years agor24765: added a RAW-HOLD-OPLOCK test. This is a manual test, meant to be used
Andrew Tridgell [Wed, 29 Aug 2007 04:33:26 +0000 (04:33 +0000)]
r24765: added a RAW-HOLD-OPLOCK test. This is a manual test, meant to be used
to test the interaction of oplocks with local filesystem or NFS
access. You start it, then manually access the 4 files via another
mechanism (such as a shell) and see what oplock breaks you get
(This used to be commit 4c3e4564260e55434a54a013051db609c92cabe8)

12 years agor24763: Allow users to leave out the transport in DCE/RPC binding strings. If the...
Jelmer Vernooij [Wed, 29 Aug 2007 02:01:56 +0000 (02:01 +0000)]
r24763: Allow users to leave out the transport in DCE/RPC binding strings. If the transport is not specified, it will be retrieved from the remote endpoint mapper or the IDL file.

This means that 'smbtorture localhost RPC-WINREG' works now.
(This used to be commit b7fa0859d2e4236112075604281410ba037b1076)

12 years agor24761: Permit subtree renames in Samba4.
Andrew Bartlett [Wed, 29 Aug 2007 01:40:58 +0000 (01:40 +0000)]
r24761: Permit subtree renames in Samba4.

The module is scary: On a rename, it does a search for all entries
under that entry (including itself), and fires off a seperate rename
call for each result.  This will fail miserably on an LDAP backend,
but I'll need to work on using hdb for OpenLDAP, and hope Fedora DS
can implement subtree renames at some point.

Andrew Bartlett
(This used to be commit 13908a8cb4dd810503213203efb8d51f77f1f379)

12 years agor24760: Ensure we base64 encode any password being put into LDIF, to avoid
Andrew Bartlett [Wed, 29 Aug 2007 01:37:26 +0000 (01:37 +0000)]
r24760: Ensure we base64 encode any password being put into LDIF, to avoid
provision failures when some of the random password values are illigal

Andrew Bartlett
(This used to be commit 876003f6c6466bfd37ec9b05c9a1f1cc83dd9898)

12 years agor24758: More use of torture API.
Jelmer Vernooij [Wed, 29 Aug 2007 00:56:13 +0000 (00:56 +0000)]
r24758: More use of torture API.
(This used to be commit e6f571227ed7428a98a7039a5eb777d3670572fa)

12 years agor24757: Try parsing a UNC location before a DCE/RPC binding string as the latter now
Jelmer Vernooij [Wed, 29 Aug 2007 00:04:40 +0000 (00:04 +0000)]
r24757: Try parsing a UNC location before a DCE/RPC binding string as the latter now
accepts strings not prefixed with a transport.
(This used to be commit d131d40ae3df3ca8f4ddec2cd0f16210ffe64367)

12 years agor24755: Use common code for finding the RPC binding in the torture tests.
Jelmer Vernooij [Tue, 28 Aug 2007 19:03:08 +0000 (19:03 +0000)]
r24755: Use common code for finding the RPC binding in the torture tests.
(This used to be commit e3310e773924ddd2129e8ca1a86e23d0f713c19c)

12 years agor24753: Allow host name in binding string without transport.
Jelmer Vernooij [Tue, 28 Aug 2007 17:45:57 +0000 (17:45 +0000)]
r24753: Allow host name in binding string without transport.
(This used to be commit f7051d3a84486ed9d0a1689c10a693521ec63528)

12 years agor24751: Run more tests, remove empty testsuites, more small improvements.
Jelmer Vernooij [Tue, 28 Aug 2007 16:24:18 +0000 (16:24 +0000)]
r24751: Run more tests, remove empty testsuites, more small improvements.
(This used to be commit 2a5a0819eea86ba322434306e062d13893b5722e)

12 years agor24741: More use of the torture API.
Jelmer Vernooij [Tue, 28 Aug 2007 14:42:37 +0000 (14:42 +0000)]
r24741: More use of the torture API.
(This used to be commit de05c3651a6e9e6611b296873526afd9292327c1)

12 years agor24738: Fix one more use of pwrite in tdb code in the spirit of r23972 and r23977.
Michael Adam [Tue, 28 Aug 2007 14:25:46 +0000 (14:25 +0000)]
r24738: Fix one more use of pwrite in tdb code in the spirit of r23972 and r23977.

(This used to be commit 7b2cabea55cebb98e0fcee17066a0871667cd83f)

12 years agor24736: Convert to using torture API.
Jelmer Vernooij [Tue, 28 Aug 2007 13:49:34 +0000 (13:49 +0000)]
r24736: Convert to using torture API.
(This used to be commit a0f11881546f6cd367d459e016956f76910a0a89)

12 years agor24735: Use torture API in more places.
Jelmer Vernooij [Tue, 28 Aug 2007 12:54:27 +0000 (12:54 +0000)]
r24735: Use torture API in more places.
(This used to be commit 1319d88c099496be29dd9214fa2492c81e848369)

12 years agor24732: Add comments and fix memory leak.
Rafal Szczesniak [Tue, 28 Aug 2007 09:57:47 +0000 (09:57 +0000)]
r24732: Add comments and fix memory leak.

(This used to be commit 07b52b360676692abf00b64e6eada0f7850357bd)

12 years agor24731: Remove unused code - if we hit these error conditions, then we are
Andrew Bartlett [Tue, 28 Aug 2007 05:43:26 +0000 (05:43 +0000)]
r24731: Remove unused code - if we hit these error conditions, then we are
dead anyway, and a segfault would leave us with more infomation.

Andrew Bartlett
(This used to be commit 62320616ff8795ff18c8f49029d81f12558c10ed)

12 years agor24730: Allow secrets entries to be for service principals.
Andrew Bartlett [Tue, 28 Aug 2007 04:35:29 +0000 (04:35 +0000)]
r24730: Allow secrets entries to be for service principals.

Andrew Bartlett
(This used to be commit 7865d10a299a84ed42de4435b7e6400d56161ac5)