1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-01 04:58:35 +03:00

732 Commits

Author SHA1 Message Date
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
Stefan Metzmacher
45e446248d move more code to the config.m4 scheme
LIBBASIC, LIBSMB are the new global subsystems

metze
(This used to be commit a25c167b3f13031ba992b2d3f74387bdfffbf5b0)
2004-02-12 06:02:32 +00:00
Stefan Metzmacher
8838344108 do not return a value in a void function
metze
(This used to be commit 836612b841ce7f91525c333d81e31dcdb83f533c)
2004-02-12 05:52:53 +00:00
Andrew Tridgell
9b662ae037 fixed a void return spotted by metze
(This used to be commit 3f1b7e51c9f18745b6c06c3934ecc4fdd743e1d0)
2004-02-11 13:18:05 +00:00
Stefan Metzmacher
cc977af616 as I renamed the PDB subsystem to PASSDB, we need to rename
the static init functions of the modules too:-)

metze
(This used to be commit 09839de27c9741051b9ebd751c4adcd1c1481cf8)
2004-02-11 12:45:47 +00:00
Andrew Tridgell
1277e83f54 fixed a couple of uninitialised returns spotted by valgrind
(This used to be commit ccce61287de07684159e2de990773f4098e07652)
2004-02-10 20:49:59 +00:00
Andrew Tridgell
6bee3fbd65 don't force debug in the RPC-MGMT test
(This used to be commit e0eb4b3cfb75385ff7a012ca0f8fad1278c195d9)
2004-02-10 20:48:22 +00:00
Andrew Tridgell
2ac07b1b0f we can close the netlogon pipe used to setup the schannel session key
as soon as we are finished with the netlogon negotiation phase. The
session key remains valid.
(This used to be commit 95a40d4693994edcb2284a2a135d2db426f6addb)
2004-02-10 20:47:22 +00:00
Tim Potter
9a6388179b Convert libcli routines to return NTSTATUS instead of BOOL. Again, the
only users are smbclient and smbtorture.
(This used to be commit 54cb508c78e5c1faa3ade46b46b165983c880d10)
2004-02-10 11:33:35 +00:00
Andrew Tridgell
e159cc7e05 don't always use the same schannel context number
(This used to be commit 396e0757122614211b535b140d9365ac7b8b880d)
2004-02-10 11:19:58 +00:00
Andrew Tridgell
078cced5ec - modified the dcerpc client security code to be generic, so ntlmssp
and schannel are both instances of possible security modules

- added schannel sign and sign/seal support to the dcerpc client
  code. You select it with binding options of "schannel,sign" or
  "schannel,seal".
(This used to be commit 05db0b9d942cad8f1dd574dc35b759e5e79d4195)
2004-02-10 10:22:12 +00:00
Stefan Metzmacher
f5cb6392b3 the subsystem name is 'PASSDB' so name the modules 'passdb_XXX'
metze
(This used to be commit 1516f7974984e46a825c66daae6bc73eb6859700)
2004-02-09 21:57:07 +00:00
Stefan Metzmacher
e2327d727d - remove unused 'evel ...' calls, we don't need them inside of
AC_XXX() macros

-   handle --with-shared-modules=process_model --with-static-modules=process_model_single
    right. ( build 'single' static and the rest of the process_model modules shared,
    if they're not declared as NOT.

metze
(This used to be commit a57734877dd58ab3159435a145b307bd546a9e99)
2004-02-09 21:56:03 +00:00
Stefan Metzmacher
e7d68c3f7a fix pdb_ldap build if LDAP support was detected
metze
(This used to be commit 3d50b327ce85d8929db7a3135f927f744ce6b111)
2004-02-09 21:04:42 +00:00
Tim Potter
4639eb5a58 Convert libcli routines to use cli_tree instead of cli_state. Port
smbtorture to use the new interface.

Part 2 will be to eliminate cli_state from smbtorture as this is now
the only place where it is used.
(This used to be commit db1cc96af62ea42837d60592877fc3f93cef143b)
2004-02-08 00:51:07 +00:00
Stefan Metzmacher
f0c9a54b30 add the TORTURE SUBSYSTEM to the config.m4 scheme
tridge:
I'll convert all stuff first to this scheme
and then move to the scheme with two files per subsystems
so we'll later something like config.m4 and config.mk...

metze
(This used to be commit 39e1a9b0c55138695e9736612b62ddada157d690)
2004-02-05 12:16:29 +00:00
Stefan Metzmacher
6d351569eb remove unused Makefile vars and fix dublication in $(PROTO_OBJ)
metze
(This used to be commit 2173efba143c633fee599b6e188ed7f66b9bb87f)
2004-02-05 11:37:53 +00:00