1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

1004 Commits

Author SHA1 Message Date
Jelmer Vernooij
2db2697aa4 r33: Fix torture test after IDL changes.
(This used to be commit 8b9b992f6026a6b9ace7564d6aaac9060a54af7d)
2007-10-10 12:50:40 -05:00
Jelmer Vernooij
69c19afb62 r31: More registry updates. regdiff/regpatch work now.
(This used to be commit 98224f5436695eb265f5d997cf4bc9cf735a4fb9)
2007-10-10 12:50:40 -05:00
Andrew Tridgell
b087ed4821 r23: get rid of def_finfo
(This used to be commit 25b7ec390aec3e324c4c7ad8edbc90fc8896b230)
2007-10-10 12:50:33 -05:00
Jelmer Vernooij
c424c2b857 r20: Add the registry library. Still needs a lot of work,
see source/lib/registry/TODO for details.
(This used to be commit 7cab3a00d7b4b1d95a3bfa6b28f318b4aaa5d493)
2007-10-10 12:50:33 -05:00
Gerald (Jerry) Carter
3855ee0164 [GLUE] Sync tree with SVN r17.
(This used to be commit 6e50109b664ff5fcc3d27f676d101c2b36574a63)
2007-10-10 12:39:20 -05:00
Andrew Tridgell
c582f5cf1d added IDL and test for lsa_OpenSecret()
(This used to be commit dd95cd141dc63f16e14f4c9392529653084b5a2a)
2004-04-03 17:21:26 +00:00
Andrew Tridgell
84d009d52e added IDL and test suite for lsa_CreateSecret()
(This used to be commit 4de08b64ddb3851e90a8dadd7d0d0991e933abf5)
2004-04-03 17:15:32 +00:00
Andrew Tridgell
9bc3b91cca added idl and test suite for lsa_CreateTrustedDomain()
(This used to be commit cdb47511531cb8ef19334088eecb14971e189a4f)
2004-04-03 16:44:39 +00:00
Andrew Tridgell
ee44733f94 added the rest of the ldb_modify() code, which required a fairly large
change in the ldb API. The API is now much closer to LDAP.
(This used to be commit e9e85c464411c561c5073d262a2e3533fec175ca)
2004-04-03 12:29:21 +00:00
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 3355fec421f82034f433a4b59aa5ad589b070577)
2004-04-03 01:25:40 +00:00
Jeremy Allison
4c12490730 Added one more test for "dirname\."
Jeremy.
(This used to be commit a7ca9620d50aa33e7125d280bc096f1a42438141)
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 63b26557744ce4cbf5c9419f752fbd63ed8bfec6)
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 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