1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-06 08:23:50 +03:00
Commit Graph

443 Commits

Author SHA1 Message Date
Stefan Metzmacher
1ca34c9090 r16469: do some smb2 tests
metze
2007-10-10 14:09:30 -05:00
Jelmer Vernooij
f6e587e706 r16039: Add missing #!, don't rely on bash 2007-10-10 14:08:52 -05:00
Rafal Szczesniak
5c2bc9a4f6 r15926: Add NET-API-DELETEUSER test to the standard tests run on 'make test'
rafal
2007-10-10 14:08:41 -05:00
Jelmer Vernooij
141600a624 r15875: Fix bug in smbclients 'put' command tridge found a while ago. Add tests
for 'put' and 'get' commands so we don't break them again.

Fixes #3742
2007-10-10 14:08:35 -05:00
Stefan Metzmacher
ce5fd2293d r15862: add a LOCAL-EVENT torture test
- it currently tests the standard events code
- with epoll enabled and disabled

metze
2007-10-10 14:08:34 -05:00
Andrew Tridgell
16c67e135a r15832: put a talloc leak report in the log file at the end of each test run 2007-10-10 14:08:30 -05:00
Rafal Szczesniak
857993bfe4 r15785: Change the test names according to changes made in libnet torture test.
rafal
2007-10-10 14:08:20 -05:00
Stefan Metzmacher
c567d92f5b r15684: fix option passing
metze
2007-10-10 14:08:05 -05:00
Rafal Szczesniak
9bb5415929 r15665: ejsnet test should be better now, after changes in delete
user routine.

rafal
2007-10-10 14:08:05 -05:00
Rafal Szczesniak
6c41e64ce7 r15627: Disabling test of ejsnet till the time I find the reason why
it's segfaulting. It's late so I just don't want to keep the
build farm all in red PANIC messages.

rafal
2007-10-10 14:07:24 -05:00
Stefan Metzmacher
430c7143c6 r15622: pass 'target:samba4=yes' to samba4's smbtorture when running samba4's make test
we can use this in samba4's smbtorture to disable tests sections which doesn't pass
against samba4

metze
2007-10-10 14:07:01 -05:00
Andrew Bartlett
888e2b7f4e r15486: Ensure that our Samba3-like implementation of fake-GSSAPI is tested.
This also tests that the server accepts the incorrect GSSAPI checksum,
and that we get the right session key.

Andrew Bartlett
2007-10-10 14:05:40 -05:00
Andrew Bartlett
b3212d1fb9 r15426: Implement SPNEGO as the default RPC authentication mechanism. Where
this isn't supported, fallback to NTLM.

Also, where we get a failure as 'logon failure', try and do a '3
tries' for the password, like we already do for CIFS.  (Incomplete:
needs a mapping between RPC errors and the logon failure NTSTATUS).

Because we don't yet support Kerberos sign/seal to win2k3 SP1 for
DCE/RPC, disable this (causing SPNEGO to negotiate NTLM) when kerberos
isn't demanded.

Andrew Bartlett
2007-10-10 14:05:36 -05:00
Tim Potter
7e4d3bb818 r15390: Make test output a bit prettier. 2007-10-10 14:05:31 -05:00
Stefan Metzmacher
4044d7959b r15275: run RPC-SRVSRV in make test
metze
2007-10-10 14:05:00 -05:00
James Peach
1b8891a2f3 r15187: Introduce new param type P_BYTES. This lets config options which specify
byte counts be given in convenient units.
2007-10-10 14:04:14 -05:00
Tim Potter
7794dcd096 r14971: Update test script with new location of tdb and ldb wrappers. 2007-10-10 14:00:48 -05:00
Stefan Metzmacher
5d40e10d8e r14929: add some comments
metze
2007-10-10 14:00:18 -05:00
Andrew Tridgell
d63d113c8a r14919: disable the BASE-DEFER_OPEN test until it gets fixed (it sleeps for
way too long). Jeremy, whats the idea behind those long sleeps?

its also redundent, as the RAW-MUX test already tests the sharing
violation open delay
2007-10-10 14:00:16 -05:00
Jelmer Vernooij
c4668192f9 r14908: Fix LD_LIBRARY_PATH 2007-10-10 14:00:14 -05:00
Tim Potter
704787978a r14878: Write swig wrappers for ldb_init() and ldb_connect().
Start wrapper for ldb_search().  Currently it returns a list of swig
ldb_message objects.  More unpacking of results required.
2007-10-10 14:00:11 -05:00
Tim Potter
c6c759e19f r14873: Add skeleton swig ldb interface. 2007-10-10 14:00:10 -05:00
Stefan Metzmacher
127fe33c46 r14819: list all tests smbtorture offers and explicit list tests
for skipping

metze
2007-10-10 13:59:24 -05:00
Stefan Metzmacher
711df01cc8 r14815: BASE-DIR doesn't exists...
metze
2007-10-10 13:59:23 -05:00
Stefan Metzmacher
b52baadf22 r14814: also run the BASE-DIR test with 'make test'
metze
2007-10-10 13:59:23 -05:00
Tim Potter
757805f020 r14802: Fix typo. 2007-10-10 13:59:21 -05:00
Tim Potter
3dfd0959f7 r14798: Get swig building again (by commenting out dcerpc stuff for now).
Add the start of a test framework for swigged functionality.
2007-10-10 13:59:20 -05:00
Jelmer Vernooij
3aafd09020 r14740: Try loading shared libs from the bin/ directory (useful for running 'make test'
without developer mode)
2007-10-10 13:59:18 -05:00
Stefan Metzmacher
f61bd2e9a2 r14738: do some different lookups
metze
2007-10-10 13:59:18 -05:00
Andrew Bartlett
cc7c84bfc9 r14717: Don't provision the system as 'localhost', but instead list localhost
as an alias.  The netbios name is then 'localtest', which will resolve
with netbios and work with krb5.

Andrew Bartlett
2007-10-10 13:59:13 -05:00
Andrew Tridgell
d55db268ca r13854: we now pass BASE-NEGNOWAIT 2007-10-10 13:52:16 -05:00
Andrew Bartlett
085ba80cc8 r13850: Test (and fix) not using SPNEGO at all, but instead using raw NTLMSSP.
The switch to turn off SPNEGO in the client is a bit messy, but it works.

Andrew Bartlett
2007-10-10 13:52:15 -05:00
Jelmer Vernooij
fb620c2706 r13753: /bin/sh -> /bin/bash as this script uses some bash-specific constructs 2007-10-10 13:52:09 -05:00
Andrew Tridgell
b6c2d1e0b9 r13740: the BASE-DELETE test now passes, and is a quick test 2007-10-10 13:52:08 -05:00
Stefan Metzmacher
fbd78b6272 r13629: export env-vars
metze
2007-10-10 13:52:02 -05:00
Stefan Metzmacher
7f1de54c84 r13628: fix the logic:-)
metze
2007-10-10 13:52:02 -05:00
Stefan Metzmacher
ae559920e1 r13627: split the NBT-WINSREPLICATION tests into multiple tests
metze
2007-10-10 13:52:02 -05:00
Andrew Bartlett
b0e7a58cc9 r13605: Use $BASEDN to ensure this works outside of the 'make test' rig.
Andrew Bartlett
2007-10-10 13:51:58 -05:00
Andrew Bartlett
990da31b5f r13472: After Volker's advise, try every combination of parameters. This
isn't every parameter on NTLMSSP, but it is most of the important
ones.

This showed up that we had the '128bit && LM_KEY' case messed up.
This isn't supported, so we must look instead at the 56 bit flag.

Andrew Bartlett
2007-10-10 13:51:54 -05:00
Andrew Bartlett
39ddba0d0d r13380: Drop the socket, then try SAMR operations secured with netlogon on the new socket.
We should also test netlogon operations, but there are issues with
what state is expected to be stored (far more than we currently do).

Andrew Bartlett
2007-10-10 13:51:51 -05:00
Simo Sorce
07fa55db32 r13355: check controls are correctly exported 2007-10-10 13:51:48 -05:00
Simo Sorce
933a80397d r13354: Add tests to check that controls work properly
Fix asq module, add a second_stage_init to register with rootdse
Fix asq control ldap parsing routines (this was nasty to find out)
2007-10-10 13:51:48 -05:00
James Peach
cd2f94a658 r13255: New CIFS dd client for use in performance testing. The guts of this is
in client/cifsdd*, which implements a minimal implementation of dd. The
IO path is careful to always perform IO at the requested block size.

There is a very basic test suite in script/tests/test_cifsdd.sh which
covers local and remote IO at a variety of block sizes.

Added to lib/util_str.c is a small set of conv_str_*() functions to
convert strings to the corresponding type.

smbcli_parse_unc is modified to insert NULL terminators after its
hostname and sharename parameters. This allows it to correctly parse a
path of the form //foo/share/path/file.
2007-10-10 13:51:39 -05:00
Andrew Bartlett
8866aa06ff r13244: Allow control of the location of the Samba3-compatible winbindd pipe
in Samba4.  This allows us to start winbindd by default, including in
'make test'.

This is via a new 'winbindd socket directory' parameter for utilities
linked against loadparm, as well as a --with-winbindd-socket-dir
option to configure (setting the default and the value for simple
clients).

I hope to add basic winbindd tests, to ensure continued correct
operation, but at least now I don't have to manually change my 'server
services' line.

The other problem with the hard-coded /tmp/.winbind is that RedHat has
moved this in Fedora (to /var/run I think).  For this reason, this
functionality should probably be ported to Samba3 as well.

The default for Samba4 is PREFIX/var/run/winbind_pipe.

I have also re-added the paranoia checks from Samba3 for correct
permissions on the socket directory.

Andrew Bartlett
2007-10-10 13:51:37 -05:00
Andrew Bartlett
ea0a53d679 r13240: Make the test scripts use the new smb.conf location (in PREFIX/etc).
Andrew Bartlett
2007-10-10 13:51:36 -05:00
Jelmer Vernooij
e3d0676aee r13210: Revert my named pipes patch until it passes not just 'make quicktest' but
also 'make test'
2007-10-10 13:51:35 -05:00
Jelmer Vernooij
898d15acbd r13208: Clearly separate named pipes from the IPC$ NTVFS type.
This allows the easy addition of additional named pipes and removes the
circular dependencies between the CIFS, RPC and RAP servers.

Simple tests for a custom named pipe included.
2007-10-10 13:51:34 -05:00
Jelmer Vernooij
765991ab48 r13160: Fix some of the smbclient testsuite (after failures on the buildfarm) 2007-10-10 13:51:30 -05:00
Jelmer Vernooij
861d45beda r13156: Add some tests for smbclient 2007-10-10 13:51:30 -05:00
Andrew Bartlett
c2eca05074 r12902: Fix 'make quicktest'.
Andrew Bartlett
2007-10-10 13:51:00 -05:00