1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
Commit Graph

645 Commits

Author SHA1 Message Date
Tim Potter
f1c3fa060e This is the start of a C API to the DCERPC client routines. Currently
the only way to access this is to cut&paste from torture/rpc/*.c
(This used to be commit 3355fec421)
2004-04-03 01:25:40 +00:00
Jeremy Allison
4c12490730 Added one more test for "dirname\."
Jeremy.
(This used to be commit a7ca9620d5)
2004-04-02 18:59:38 +00:00
Andrew Tridgell
05d10eba1f allow "struct TDB_DATA" as well as just "TDB_DATA"
in general I prefer the struct form for Samba4 structures. I think its
clearer.
(This used to be commit 63b2655774)
2004-04-01 07:39:04 +00:00
Andrew Tridgell
e5b5c1be45 added lsaCreateAccount() and a test in the RPC-LSA test suite
also tested lsa_Delete() to delete the newly created account
(This used to be commit c4d5d0e9eb)
2004-03-31 12:52:21 +00:00
Andrew Tridgell
4258c7f27f building with Makefile.ldb now works
(This used to be commit 12538cd2c6)
2004-03-31 06:51:44 +00:00
Andrew Tridgell
58d50a614f make a more recent snapshot of ldb available to interested
people. Note that I decided to make it LGPL.

ldb is not finished yet, but enough of it is there for people to get
an idea of what it does, and quite a few simple tests work
(This used to be commit dc6f41f9e7)
2004-03-31 06:45:39 +00:00
Andrew Tridgell
4aa785b1b2 merge some recent tdb changed from samba3
(This used to be commit 0e845ecd49)
2004-03-28 02:18:38 +00:00
Andrew Tridgell
9403f3dc7e switch from SIG_ATOMIC_T to sig_atomic_t
(This used to be commit b881b72cb9)
2004-03-28 01:57:28 +00:00
Andrew Tridgell
3744324dbd after discussion with the copyright holders tdb is now under the LGPL
(This used to be commit 51409e2a41)
2004-03-28 01:43:06 +00:00
Andrew Tridgell
ad15f42b6d added a TDB_MODIFY flag to tdb_store() that says "if the record
doesn't exist then fail the store"
(This used to be commit 6aec1457f8)
2004-03-28 01:38:42 +00:00
Andrew Tridgell
2fe43ec90f added a private pointer to tdb_traverse() to allow callers to supply
data to their traverse function
(This used to be commit 76bf816485)
2004-03-28 01:33:32 +00:00
Andrew Tridgell
4217c609a8 removed the state parameter to tdb_traverse and the TDB_MODIFY flag
(This used to be commit 6505efc7e9)
2004-03-28 01:30:54 +00:00
Andrew Tridgell
83b9f88e26 copy with a null volume name in a trans2 QFSINFO call
(This used to be commit 96c54df6fa)
2004-03-26 02:41:20 +00:00
Andrew Tridgell
47dfe299c8 - moved some of the base tests into torture/basic/
- added a CHARSET set of tests, which determines how the server deals
with some specific charset issues related to UTF-16
support. Interestingly, Samba3 already passes all but one of these
tests, because our incorrect UCS-2 and UTF-8 implementations where we
don't check the validity of characters actually matches what Windows
does! This means that adding UTF-16 support to Samba is going to be
_much_ easier than we expected.
(This used to be commit c8497a4236)
2004-03-26 02:39:48 +00:00
Andrew Tridgell
9a29b39377 - use a linked list for the ftable in the nbench load generator. This
allows us to cope a little better with the async nature of open/close
requests which implies a ordering on which handle to close.

- request oplocks in NBENCH and add a oplock handler
(This used to be commit 3bcd27e0f0)
2004-03-26 02:11:31 +00:00
Andrew Tridgell
516e90bea9 use client1, client2 not client0, client1 to better match netbench
(This used to be commit 4bbc77fa0c)
2004-03-26 02:09:51 +00:00
Andrew Tridgell
f169d83a8b fixed the handling of level II oplocks in samba4, especially when
acting as a cifs redirectory (using the cifs backend)
(This used to be commit 06a8100e6a)
2004-03-25 02:41:19 +00:00
Andrew Tridgell
0340fec0c1 put the "max xmit" option back into Samba4
(This used to be commit 82e50a1ce8)
2004-03-23 03:17:38 +00:00
Andrew Tridgell
c5679b707e readx reply packets can be over-sized
(This used to be commit ad42c8432b)
2004-03-23 03:13:24 +00:00
Andrew Tridgell
3d5ea8e3e2 nicer way of handling \clients
(This used to be commit 931138cc44)
2004-03-10 09:00:24 +00:00
Andrew Tridgell
8d0c060397 as a special case don't check the status of the create of \clients -
there is a race condition in the create
(This used to be commit ddfddcbffd)
2004-03-10 07:38:47 +00:00
Andrew Tridgell
c66a2c1438 make the warmup and execute phases clearer
(This used to be commit d49e4407e5)
2004-03-10 05:05:56 +00:00
Andrew Tridgell
5e31a56e72 add config hints for cifs backend
(This used to be commit bba81f1c7a)
2004-03-10 04:07:02 +00:00
Andrew Tridgell
98cbc669a1 added a 5% warmup time to NBENCH to make the results more consistent
(This used to be commit df50911a9c)
2004-03-10 03:24:03 +00:00
Andrew Tridgell
3da4329db4 added the -C option to smbtorture
this option takes a filename containing a list of UNC names. When
supplied to a torture test that uses multiple client connections the
test will distribute the load across the listed UNC names. This allows
you to use NBENCH effectively against a server that has multiple IP
addresses, and spread the load among them.
(This used to be commit e0d9502aa2)
2004-03-09 09:04:06 +00:00
Andrew Tridgell
77f39da075 make sure the tags in the NBENCH test match the tags in the generated
load files
(This used to be commit 1c5dc25b3b)
2004-03-09 05:06:57 +00:00
Andrew Tridgell
826661597e don't check return fields (like search count) on an expected failure
(This used to be commit 6cbe8a6bd5)
2004-03-09 03:28:21 +00:00
Andrew Tridgell
dda01cea55 handle incomplete load files
change default timelimit to 600 secs
(This used to be commit c5c75a6ada)
2004-03-09 02:24:14 +00:00
Andrew Tridgell
2d9a8bf0c9 greatly improved NBENCH netbench simulator
- more accurate request simulation using Samba4 raw client library
 - now checks for correct status on all requests
 - timelimit based benchmarking, default of 600 seconds
(This used to be commit a46c009c04)
2004-03-09 02:13:13 +00:00
Andrew Tridgell
1b71c60c36 fixed the label for search requests
(This used to be commit 8dbf08549e)
2004-03-09 02:01:42 +00:00
Andrew Tridgell
1f6b3f5b5b fixed a typo
(This used to be commit 10b137c6e3)
2004-03-08 09:13:35 +00:00
Andrew Tridgell
b53aad11d5 added the "nbench" ntvfs backend. This is used to capture NBENCH load
files, and also serves as an example of how to write a NTVFS filter
module for Samba4.
(This used to be commit 04f8996dd3)
2004-03-08 07:17:15 +00:00
Andrew Tridgell
ab615698ad in the async socket handling routines in the cifs backend don't assume
that conn->ntvfs_private is set correctly, instead use our copy of the
private pointer in the fde callback. This allows the cifs backend to
be used on conjunction with a NTVFS filter module.
(This used to be commit 8047b806e7)
2004-03-08 07:13:11 +00:00
Andrew Tridgell
14591dc0ea fixed two writex client bugs
- always use the 14 word writex varient even for small transfers as
   long as large offsets are negotiated (this matches windows
   behaviour)

 - make sure we fill in the top 16 bits of the count for large writex
   calls
(This used to be commit 9ea20d0c9a)
2004-03-08 07:11:13 +00:00
Stefan Metzmacher
2622eaeca6 make proto should not catch any function of the lib/popt/*.c stuff
metze
(This used to be commit ec96914c66)
2004-02-24 06:53:53 +00:00
Stefan Metzmacher
2027b1922b let the popt replacement stuff survive a make proto
metze
(This used to be commit 0f1c6dd631)
2004-02-24 06:49:59 +00:00
Stefan Metzmacher
8105eb6788 renaming and restructuring of same object file lists
metze
(This used to be commit 2915a4039b)
2004-02-23 10:51:36 +00:00
Stefan Metzmacher
42887e406a - creat the LIBCMDLINE subsystem
including readline and popt

- creat the CONFIG subsystem
  including param/* dynconfig.* and passdb/secrets.*

metze
(This used to be commit bfd7fd21c8)
2004-02-22 13:09:51 +00:00
Tim Potter
4282138ebb The file descriptor argument to cli_getattrE() is a fnum not a fd.
(This used to be commit f172b6f1d0)
2004-02-21 11:23:51 +00:00
Stefan Metzmacher
a6a935d937 remove the python stuff, this will be rewritten on top of libsmb.so
and maintained in a external tree.
(discussed with tpot)

metze
(This used to be commit 54a0100841)
2004-02-21 11:08:10 +00:00
Andrew Tridgell
e967ff114e split up the schannel rpc client code into separate key establishment
and bind calls, but with a combined call that does both. This makes is
easier to write a schannel test program that tried different keys.
(This used to be commit 9d89928086)
2004-02-21 04:46:49 +00:00
Andrew Tridgell
420c7b4c5d added the simple HOLDCON torture test. This is used to establish
hundreds of idle connections to the server, which can be used to
simulate environments with large numbers of idle connections.
(This used to be commit cfce9458a2)
2004-02-21 04:02:55 +00:00
Andrew Tridgell
6c7e231773 fixed a problem with the smb client code spinning when the connection
is lost. We now close the cli_transport when there is a socket io
error
(This used to be commit 138cb5f2f5)
2004-02-21 04:02:00 +00:00
Stefan Metzmacher
64cdbddbc1 don't inlcude rpc/rpc.h and rpcsvc/*.h anymore
and remove NET_GROUP stuff, this needs to be implemented
in a better way if we ever readd this

metze
(This used to be commit da5f22976f)
2004-02-18 15:31:25 +00:00
Stefan Metzmacher
932026724f remove unused NISPLUS/AUTOMOUNT stuff
metze
(This used to be commit cbfa29549e)
2004-02-18 13:55:15 +00:00
Stefan Metzmacher
947f90b881 remove pdb_nisplus, its also removed in samba3, because it was broken
metze
(This used to be commit db0b222202)
2004-02-18 13:17:03 +00:00
Stefan Metzmacher
0af9994327 move some cryto stuff to lib/crypto/*
metze
(This used to be commit afe4dbfea6)
2004-02-18 12:20:17 +00:00
Stefan Metzmacher
7653fc6835 move external configure test programs
from tests/*.c to build/tests/*.c

metze
(This used to be commit dea3a3acbf)
2004-02-13 15:20:52 +00:00
Stefan Metzmacher
f08565bd3a move all old configure checks to build/m4/rewrite.m4
we should get rid of this file in the end:-)

the tests should go into subsystems config.m4 files

the goal is to know which tests belong to what code
and remove unused tests to make configure a bit faster

metze
(This used to be commit 3abb0fd19b)
2004-02-13 15:03:46 +00:00
Stefan Metzmacher
df52da0ec0 move the tdb utils to utils/tdb/*
metze
(This used to be commit b49734fe4b)
2004-02-12 16:28:12 +00:00