1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-28 17:47:29 +03:00

798 Commits

Author SHA1 Message Date
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 c4d5d0e9eba6b564e2ce6885d66d644b6612d721)
2004-03-31 12:52:21 +00:00
Andrew Tridgell
4258c7f27f building with Makefile.ldb now works
(This used to be commit 12538cd2c650bacabd37f4d2ecd3ff3ffce87a00)
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 dc6f41f9e777d37f883303ddef0d96840d80f78e)
2004-03-31 06:45:39 +00:00
Andrew Tridgell
4aa785b1b2 merge some recent tdb changed from samba3
(This used to be commit 0e845ecd49841c620f7f9c5ba6c5bfbb0c572032)
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 b881b72cb9cb5a4a8ad27b621e8cbe9dcfa7ba7f)
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 51409e2a417fb0673f59e5c823d7fe54b21e6f76)
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 6aec1457f8772cf81b88a0a00cc2ad7c16cd0d87)
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 76bf816485bf869c293791659da5dff2425d2d32)
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 6505efc7e9bfcdae3e370d8557328470608b87ca)
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 96c54df6facc8d1d5ef559ebc3e7e0953d89b2ab)
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 c8497a42364d186f08102224d5062d176ee81f5b)
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 3bcd27e0f0a20f2d9923815a123044bda710693c)
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 4bbc77fa0c3a91fd34e1966892782f5b2a441359)
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 06a8100e6a2f3f079af5b6ec32d87d1d25f56c3c)
2004-03-25 02:41:19 +00:00
Andrew Tridgell
0340fec0c1 put the "max xmit" option back into Samba4
(This used to be commit 82e50a1ce8904c72c90b1e771f232acaad2c835e)
2004-03-23 03:17:38 +00:00
Andrew Tridgell
c5679b707e readx reply packets can be over-sized
(This used to be commit ad42c8432b7df0ae44ca73e08d017e61a2bc6f1c)
2004-03-23 03:13:24 +00:00
Andrew Tridgell
3d5ea8e3e2 nicer way of handling \clients
(This used to be commit 931138cc440f646671ec5e9b52eb3666b2ff014b)
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 ddfddcbffd304b5ac51140dee048ead7137e293a)
2004-03-10 07:38:47 +00:00
Andrew Tridgell
c66a2c1438 make the warmup and execute phases clearer
(This used to be commit d49e4407e59a25c8e887b552ed2a58de7a16b6d9)
2004-03-10 05:05:56 +00:00
Andrew Tridgell
5e31a56e72 add config hints for cifs backend
(This used to be commit bba81f1c7a87499f610ca19fbc5f1485d368c5b8)
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 df50911a9c71bf5b8a8988fdbf6c716f8343fa45)
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 e0d9502aa20e2e9a343274cd7f12e6ef2f49c104)
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 1c5dc25b3b678d7c5d271cc9bee5bf80cfbec3b9)
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 6cbe8a6bd5998c67b74b989d13d3cb7863fee75d)
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 c5c75a6adab10e35584dca760586fda333ca5308)
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 a46c009c0459658784d7d7b3b0502dc20958043a)
2004-03-09 02:13:13 +00:00
Andrew Tridgell
1b71c60c36 fixed the label for search requests
(This used to be commit 8dbf08549e17a48a5cff114671122edb035dd900)
2004-03-09 02:01:42 +00:00
Andrew Tridgell
1f6b3f5b5b fixed a typo
(This used to be commit 10b137c6e3c1a640597ff4a0db10d635b51b806b)
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 04f8996dd32d92c5df1b6b1b27c6e71e99bc77da)
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 8047b806e78815706bca81a77d04d5874ffd7d6e)
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 9ea20d0c9a1cb4800f3f54195cbbe70c98c8e423)
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 ec96914c66573ae54f4fa0a706001f5b91c61075)
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 0f1c6dd631c7a1d4be333b8e3e4ce9850752d5c2)
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 2915a4039ba27b4ef454f4cc86382ae7c229ccb5)
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 bfd7fd21c8e38c0065fc41dde10e863a169878c2)
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 f172b6f1d08b7de040cde4a7d88708e5af29a3a4)
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 54a01008413e1f03a49f5d6f9e2f98c8b8d1c87a)
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 9d89928086a7095bbc2218760b12263298af4217)
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 cfce9458a22e8b6da1a10bb338b287c3eab9a1fc)
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 138cb5f2f5f8ce1479ac687d18e6a0e355e55b7f)
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 da5f22976fb40ec96160439c7a926a15805fc7f0)
2004-02-18 15:31:25 +00:00
Stefan Metzmacher
932026724f remove unused NISPLUS/AUTOMOUNT stuff
metze
(This used to be commit cbfa29549e5b302f947c7f2ca14fbea257e46c33)
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 db0b2222025d0d1955deed7cfcd10b8579e29869)
2004-02-18 13:17:03 +00:00
Stefan Metzmacher
0af9994327 move some cryto stuff to lib/crypto/*
metze
(This used to be commit afe4dbfea658d3d3de847651ea2b3d5517e81f41)
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 dea3a3acbfe2341f9276ceaec2a42f0931e2c336)
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 3abb0fd19b27261e2b9fa46f287162be8f096913)
2004-02-13 15:03:46 +00:00
Stefan Metzmacher
df52da0ec0 move the tdb utils to utils/tdb/*
metze
(This used to be commit b49734fe4bb6432b2cf3f23fdead5a4fa9f7de0d)
2004-02-12 16:28:12 +00:00
Stefan Metzmacher
9a8cd1aa27 move the tdb lib code to lib/tdb/*
metze
(This used to be commit 5ebd6fb761370cbe2835a2a2631e24e35bcaffb4)
2004-02-12 15:59:16 +00:00
Stefan Metzmacher
6647ff7430 move -lpopt replacement code from source/popt/* to source/lib/popt/*
metze
(This used to be commit 9d1018557fdc51cada1ad082d85c0dc48e1b3072)
2004-02-12 14:21:44 +00:00
Stefan Metzmacher
e46d297083 move the -lpopt replacement to a LIBPOPT subsystem
metze
(This used to be commit 9eb593a7c065326dafbba896ed723d0ea5cb00ed)
2004-02-12 08:07:46 +00:00