Jelmer Vernooij [Fri, 7 Sep 2007 14:25:03 +0000 (14:25 +0000)]
r24997: Re-enable use of system-provided tdb and/or talloc when available.
Jelmer Vernooij [Fri, 7 Sep 2007 13:32:57 +0000 (13:32 +0000)]
r24995: Update upstream URLs.
Jelmer Vernooij [Fri, 7 Sep 2007 13:31:15 +0000 (13:31 +0000)]
r24994: Fix some C++ warnings.
Jelmer Vernooij [Fri, 7 Sep 2007 11:47:03 +0000 (11:47 +0000)]
r24992: Remove some uses of lp_*().
Stefan Metzmacher [Fri, 7 Sep 2007 08:13:02 +0000 (08:13 +0000)]
r24989: use $smbd_maxtime for smbd...
metze
Stefan Metzmacher [Fri, 7 Sep 2007 08:05:37 +0000 (08:05 +0000)]
r24988: LOCAL-IRPC needs a the pid dir setup (as LOCAL-MESSAGING)
not the lock dir...
metze
Andrew Bartlett [Fri, 7 Sep 2007 07:31:26 +0000 (07:31 +0000)]
r24987: Clarify error conditions in secrets handling, before I add ACLs to
secrets.ldb
Andrew Bartlett
Andrew Bartlett [Fri, 7 Sep 2007 07:29:25 +0000 (07:29 +0000)]
r24986: LDB has a function for comparing things that must meet the rules of
attribute names.
Andrew Bartlett
Andrew Bartlett [Fri, 7 Sep 2007 03:08:44 +0000 (03:08 +0000)]
r24985: Start to revert us back to the old-style SWAT, while trying not to
loose some of the fixes in the meantime.
Andrew Bartlett
Stefan Metzmacher [Thu, 6 Sep 2007 13:48:01 +0000 (13:48 +0000)]
r24983: setup the correct talloc name for structures used in the generated
server stubs
metze
Andrew Bartlett [Thu, 6 Sep 2007 04:01:52 +0000 (04:01 +0000)]
r24973: Try to make it really clear we are dealing with 64 bit numbers here.
Andrew Bartlett
Andrew Bartlett [Thu, 6 Sep 2007 02:56:56 +0000 (02:56 +0000)]
r24972: Try to rat out this SAMR failure with some more cross-tests, and
format checks.
Andrew Bartlett
Andrew Bartlett [Thu, 6 Sep 2007 00:17:17 +0000 (00:17 +0000)]
r24971: Test more combinations for resetting the account expiry.
Andrew Bartlett
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
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
separately.
Andrew Bartlett
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.
Thanks!
Andrew Bartlett
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
Jelmer Vernooij [Tue, 4 Sep 2007 01:08:39 +0000 (01:08 +0000)]
r24940: Fix undeclared warning.
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).
Jelmer Vernooij [Mon, 3 Sep 2007 13:13:25 +0000 (13:13 +0000)]
r24937: Merge tests spoolss RPC callbacks.
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
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
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
containers.
This should ensure we do this right for all objects.
Andrew Bartlett
Andrew Bartlett [Mon, 3 Sep 2007 02:48:50 +0000 (02:48 +0000)]
r24913: Fix typo
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
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
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
metze
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
metze
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...
Jelmer Vernooij [Sun, 2 Sep 2007 17:47:35 +0000 (17:47 +0000)]
r24901: Somewhat easier and more reliable access to the pid files.
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
metze
Jelmer Vernooij [Sun, 2 Sep 2007 17:13:56 +0000 (17:13 +0000)]
r24899: Register signal handler that tears down environment.
Jelmer Vernooij [Sun, 2 Sep 2007 16:17:12 +0000 (16:17 +0000)]
r24898: Fix LOCAL-REGISTRY, do not silently ignore testcase setup failures.
Jelmer Vernooij [Sun, 2 Sep 2007 16:12:49 +0000 (16:12 +0000)]
r24897: Do some sanity checking on --basedir.
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.
Jelmer Vernooij [Sun, 2 Sep 2007 15:02:17 +0000 (15:02 +0000)]
r24895: Test for specific error.
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.
Jelmer Vernooij [Sun, 2 Sep 2007 13:32:52 +0000 (13:32 +0000)]
r24893: Update documentation for selftest.
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.
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.
Jelmer Vernooij [Sun, 2 Sep 2007 12:48:58 +0000 (12:48 +0000)]
r24890: Integrate more of the RPC-SECRETS tests.
Jelmer Vernooij [Sun, 2 Sep 2007 12:26:06 +0000 (12:26 +0000)]
r24889: Move choosing the binding options into RPC-SECRETS.
Jelmer Vernooij [Sun, 2 Sep 2007 11:30:40 +0000 (11:30 +0000)]
r24888: Use torture API.
Jelmer Vernooij [Sun, 2 Sep 2007 11:16:16 +0000 (11:16 +0000)]
r24887: Support reading testlists from other locations (e.g. Samba3)
Jelmer Vernooij [Sun, 2 Sep 2007 03:14:32 +0000 (03:14 +0000)]
r24885: Convert to new torture API.
Jelmer Vernooij [Sun, 2 Sep 2007 02:53:18 +0000 (02:53 +0000)]
r24884: Ignore some errors again, like they were previously.
Jelmer Vernooij [Sun, 2 Sep 2007 02:35:11 +0000 (02:35 +0000)]
r24883: Use torture API.
Jelmer Vernooij [Sun, 2 Sep 2007 02:07:55 +0000 (02:07 +0000)]
r24882: Use the torture API in BASE-CHARSET.
Jelmer Vernooij [Sun, 2 Sep 2007 00:24:38 +0000 (00:24 +0000)]
r24878: Support specifying a reason for skips/expected failures
Jelmer Vernooij [Sun, 2 Sep 2007 00:04:27 +0000 (00:04 +0000)]
r24876: 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.
Jelmer Vernooij [Sat, 1 Sep 2007 23:25:44 +0000 (23:25 +0000)]
r24874: Fix double free of smbcli_tree.
Jelmer Vernooij [Sat, 1 Sep 2007 23:11:48 +0000 (23:11 +0000)]
r24873: Print smbd/nmbd log files for Samba 3.
Jelmer Vernooij [Sat, 1 Sep 2007 23:01:33 +0000 (23:01 +0000)]
r24872: Use torture API a bit more
Jelmer Vernooij [Sat, 1 Sep 2007 22:51:50 +0000 (22:51 +0000)]
r24871: Fix typos
Jelmer Vernooij [Sat, 1 Sep 2007 21:10:07 +0000 (21:10 +0000)]
r24870: Strip whitespace characters in username (broke tests).
Jelmer Vernooij [Sat, 1 Sep 2007 21:02:57 +0000 (21:02 +0000)]
r24869: Print command that was executed.
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.
Jelmer Vernooij [Sat, 1 Sep 2007 20:19:29 +0000 (20:19 +0000)]
r24867: Avoid anonymous struct. Patch from Brad Hards.
Jelmer Vernooij [Sat, 1 Sep 2007 19:16:22 +0000 (19:16 +0000)]
r24866: Put remainder of binding string tests in librpc/ directory.
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.
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.
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
Jelmer Vernooij [Fri, 31 Aug 2007 22:34:52 +0000 (22:34 +0000)]
r24855: Convert RPC-DRSUAPI, RPC-SCHANNEL to use the torture API.
Jelmer Vernooij [Fri, 31 Aug 2007 19:06:30 +0000 (19:06 +0000)]
r24852: Fix initialization
Jelmer Vernooij [Fri, 31 Aug 2007 18:35:30 +0000 (18:35 +0000)]
r24851: Add --load-module argument to smbtorture.
Jelmer Vernooij [Fri, 31 Aug 2007 17:38:37 +0000 (17:38 +0000)]
r24850: Convert to torture API.
Jelmer Vernooij [Fri, 31 Aug 2007 16:43:05 +0000 (16:43 +0000)]
r24849: Add helper function for running tests as a member server.
Jelmer Vernooij [Fri, 31 Aug 2007 15:43:03 +0000 (15:43 +0000)]
r24846: Use metadata about dangerous tests.
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.
Jelmer Vernooij [Fri, 31 Aug 2007 14:06:32 +0000 (14:06 +0000)]
r24839: Default to creating a dc + domain member in 'make testenv'.
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.
Jelmer Vernooij [Fri, 31 Aug 2007 13:24:59 +0000 (13:24 +0000)]
r24834: Pass environment name on to skip_testsuite().
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
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
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>
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.
Jelmer Vernooij [Fri, 31 Aug 2007 00:03:54 +0000 (00:03 +0000)]
r24815: Support cpp_quote().
Jelmer Vernooij [Thu, 30 Aug 2007 23:15:12 +0000 (23:15 +0000)]
r24814: Fix headers, trim core.h even more.
Jelmer Vernooij [Thu, 30 Aug 2007 22:25:59 +0000 (22:25 +0000)]
r24812: Fix headers for external users.
Jelmer Vernooij [Thu, 30 Aug 2007 20:42:07 +0000 (20:42 +0000)]
r24810: Don't collide with <time.h>
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
skip
Volker Lendecke [Thu, 30 Aug 2007 09:51:33 +0000 (09:51 +0000)]
r24798: RAW-SAMBA3POSIXTIMEDLOCK
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.
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
response.
Kai Blin [Thu, 30 Aug 2007 06:45:11 +0000 (06:45 +0000)]
r24795: When talking to squid, allocate the buffer size dynamically.
Jelmer Vernooij [Thu, 30 Aug 2007 02:02:04 +0000 (02:02 +0000)]
r24794: util_proto.h is no longer generated.
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
Jelmer Vernooij [Wed, 29 Aug 2007 13:07:03 +0000 (13:07 +0000)]
r24780: More work allowing libutil to be used by external users.
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
http://anonsvn.wireshark.org/viewvc/viewvc.py/trunk/epan/dissectors/packet-dcerpc-samr.c?r1=5987&r2=6054
3 bits :
get attributes
get group membership
change group membership
also come from wireshark/ethereal where they were added Jul 24 2003
http://anonsvn.wireshark.org/viewvc/viewvc.py/trunk/epan/dissectors/packet-dcerpc-samr.c?r1=8022&r2=8080
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
http://anonsvn.wireshark.org/viewvc/viewvc.py/trunk/epan/dissectors/packet-dcerpc-samr.c?r1=5987&r2=6054
one bit
lookup alias
also comes from wireshark where it was added in wireshark in Feb 21 2003
http://anonsvn.wireshark.org/viewvc/viewvc.py/trunk/epan/dissectors/packet-dcerpc-samr.c?r1=7173&r2=7178
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
http://anonsvn.wireshark.org/viewvc/viewvc.py/trunk/epan/dissectors/packet-dcerpc-samr.c?r1=5987&r2=6054
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
http://anonsvn.wireshark.org/viewvc/viewvc.py/trunk/epan/dissectors/packet-dcerpc-samr.c?r1=5987&r2=6054
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
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
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
ping-pong.c
this is a manual test and only makes sense to be used in parallell with
the real ping-pong.c tool
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.
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
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.
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
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
LDIF.
Andrew Bartlett