ira/wip.git
16 years agor142: Add detection of sendfile to configure.in so I can add support for sendfile
Richard Sharpe [Sat, 10 Apr 2004 06:47:25 +0000 (06:47 +0000)]
r142: Add detection of sendfile to configure.in so I can add support for sendfile
in the SMBread etc calls. This looks easy to do ...
(This used to be commit bd3cdbb0f50f0a3c7a24cdaf0d8921a962b88dbe)

16 years agor141: A number of changes to get things working on FreeBSD and reduce the breakage
Richard Sharpe [Sat, 10 Apr 2004 06:10:26 +0000 (06:10 +0000)]
r141: A number of changes to get things working on FreeBSD and reduce the breakage
caused by someone recently ...

1. Add configure check HAVE_COMPARISON_FN_T to see if this is defined. I
have not checked this on Linux yet, but will do so soon.

2. Add the definitions of malloc_p, realloc_p etc.

3. Check for LDAP and don't build stuff that depends on LDAP if we don't\
have it.

It currently builds on FreeBSD but there is one warning printed out at the end.
(This used to be commit 7b34fbe0f2ef175e5504e34e4f3cdf9a0563970f)

16 years agor138: fix typo
Stefan Metzmacher [Fri, 9 Apr 2004 18:16:52 +0000 (18:16 +0000)]
r138: fix typo

metze
(This used to be commit 7e42465192e67563f19e6362e243b01406c5e025)

16 years agor137: Add notes about handles in dcesrv pipes
Jelmer Vernooij [Fri, 9 Apr 2004 17:09:00 +0000 (17:09 +0000)]
r137: Add notes about handles in dcesrv pipes
(This used to be commit 9bd7e9438e88545abe3a555624be4717db47e0c0)

16 years agor136: I forgot to add config.m4 for ldb in my ldb commit
Andrew Tridgell [Fri, 9 Apr 2004 08:08:19 +0000 (08:08 +0000)]
r136: I forgot to add config.m4 for ldb in my ldb commit
(This used to be commit 299009fde93a64841738c30422f342004671ce2d)

16 years agor135: some test ldif for an idea I am playing with to replace smb.conf with a ldb
Andrew Tridgell [Fri, 9 Apr 2004 08:07:43 +0000 (08:07 +0000)]
r135: some test ldif for an idea I am playing with to replace smb.conf with a ldb

Don't panic - I'll explain more when I get a chance
(This used to be commit 090afa94a73d7fe13604785fa97ffb71c2be2641)

16 years agor134: - added ldb to the build of smbd
Andrew Tridgell [Fri, 9 Apr 2004 08:06:39 +0000 (08:06 +0000)]
r134:  - added ldb to the build of smbd

 - fixed build of the ldb registry backend
(This used to be commit 0b66590330603efaa816fd2348c05a994a1580ef)

16 years agor133: don't try to do a database deltas with a -1 seq num
Andrew Tridgell [Fri, 9 Apr 2004 07:51:03 +0000 (07:51 +0000)]
r133: don't try to do a database deltas with a -1 seq num
(This used to be commit dcb172d207ca0b56e62165633b2f7f7fcc188f7c)

16 years agor132: fill in the correct default case for the WKSSVC GetInfo call
Andrew Tridgell [Fri, 9 Apr 2004 07:29:34 +0000 (07:29 +0000)]
r132: fill in the correct default case for the WKSSVC GetInfo call
(This used to be commit 117a82ada32919a91f3bba9c00236fc0112b230c)

16 years agor131: mark some scripts executable
Andrew Tridgell [Fri, 9 Apr 2004 07:28:27 +0000 (07:28 +0000)]
r131: mark some scripts executable
(This used to be commit fe1a5a8e2564611450bbef0f500ba6d554527fed)

16 years agor130: added DCERPC_COMMON_OBJS to Makefile.in
Andrew Tridgell [Fri, 9 Apr 2004 07:27:34 +0000 (07:27 +0000)]
r130: added DCERPC_COMMON_OBJS to Makefile.in
(This used to be commit ab8904a596c6a81806e5af1c56a43e272c8a7855)

16 years agor129: Convert other utilities to new API
Jelmer Vernooij [Fri, 9 Apr 2004 00:02:20 +0000 (00:02 +0000)]
r129: Convert other utilities to new API
(This used to be commit 95c9852b1607335eb24025081a251139449fb695)

16 years agor128: Another registry update. Changes:
Jelmer Vernooij [Thu, 8 Apr 2004 22:39:47 +0000 (22:39 +0000)]
r128: Another registry update. Changes:

- Start with the LDB backend
- The API is now more windows-like, which should make it easier to use
  in rpc_server
- Added a GTK+ front-end
- Added some more IDL

More updates will follow, especially in the RPC field..
(This used to be commit 3adffa021779b26047a20f16a3c0b53d74751560)

16 years agor127: NetWkstaGetInfo level 101
Stefan Metzmacher [Thu, 8 Apr 2004 19:59:24 +0000 (19:59 +0000)]
r127: NetWkstaGetInfo level 101

and return WERR_ACCESS_DENIED for level 102, 502 so does my winXP box
for a non-admin user

metze
(This used to be commit 975bf13f17e0bd95ec37af3534e5209c1de99252)

16 years agor126: - add first srvsvc and wkssvc server side stuff
Stefan Metzmacher [Thu, 8 Apr 2004 19:06:37 +0000 (19:06 +0000)]
r126: - add first srvsvc and wkssvc server side stuff
- we know can browse the server via the Windows Explorer

- some little fixes to the winreg server pipe

metze
(This used to be commit 6f213a3494d3b5ab629944394b20a84075a04438)

16 years agor125: use AC_CONFIG_FILES() instead of AC_OUTPUT()
Stefan Metzmacher [Thu, 8 Apr 2004 17:42:03 +0000 (17:42 +0000)]
r125: use AC_CONFIG_FILES() instead of AC_OUTPUT()
we should have only one AC_OUTPUT() at the end of configure.in

metze
(This used to be commit 60aa14d463fcd7aa12529f1fad0db64f17e37aaf)

16 years agor114: - remember to initialise open_files
Andrew Tridgell [Wed, 7 Apr 2004 11:46:00 +0000 (11:46 +0000)]
r114: - remember to initialise open_files

- use talloc_p when possible
(This used to be commit db7f7ac165ded15f0b8157eb899ea6828a033da9)

16 years agor113: added support for "read only = yes" in simple backend
Andrew Tridgell [Wed, 7 Apr 2004 11:30:59 +0000 (11:30 +0000)]
r113: added support for "read only = yes" in simple backend
(This used to be commit d268e455f15ec0d2b9e9e7abd8c7135ff4c19fcd)

16 years agor112: the simple backend now registers as both "simple" and "default"
Andrew Tridgell [Wed, 7 Apr 2004 11:17:58 +0000 (11:17 +0000)]
r112: the simple backend now registers as both "simple" and "default"
so older smb.conf settings will work
(This used to be commit 6f6285ce603b55b1c68cf54621e22aa777b6c5c5)

16 years agor109: a test commit 2
Andrew Tridgell [Wed, 7 Apr 2004 09:56:53 +0000 (09:56 +0000)]
r109: a test commit 2
(This used to be commit 7bc10b350f3245d05967de581fec78152c686e71)

16 years agor108: a test commit
Andrew Tridgell [Wed, 7 Apr 2004 09:50:40 +0000 (09:50 +0000)]
r108: a test commit
(This used to be commit a374d6012d62497ad42b3d1957df1093f4b088b4)

16 years agor107: a test commit
Andrew Tridgell [Wed, 7 Apr 2004 09:46:54 +0000 (09:46 +0000)]
r107: a test commit
(This used to be commit c6546442a4ff4a65e7e88a1aa79698a32bee8fcc)

16 years agor106: add an idea about SMB UNC names
Andrew Tridgell [Wed, 7 Apr 2004 09:45:08 +0000 (09:45 +0000)]
r106: add an idea about SMB UNC names
(This used to be commit 1497f8c113ac6294968ec681aa536180e5d9eb6b)

16 years agor101: added lsa_SetSecret() and lsa_QuerySecret()
Andrew Tridgell [Wed, 7 Apr 2004 07:20:53 +0000 (07:20 +0000)]
r101: added lsa_SetSecret() and lsa_QuerySecret()

this required some crypto infrastructure and some sid utilities
(This used to be commit 37d0efa9c2af8532536bea88412f0dd3ed39ecfc)

16 years agor100: remember the user session key during session setup so it can be used in various...
Andrew Tridgell [Wed, 7 Apr 2004 07:18:37 +0000 (07:18 +0000)]
r100: remember the user session key during session setup so it can be used in various crypto
routines
(This used to be commit f6cf9020c8899e784385ea0e14fa465685441ee6)

16 years agor99: make sure we reap child processes in the standard process model
Andrew Tridgell [Wed, 7 Apr 2004 07:17:11 +0000 (07:17 +0000)]
r99: make sure we reap child processes in the standard process model
(This used to be commit ad8b3cc1e3bd2f86397038010d77cd875b1c94da)

16 years agor67: added a destroy hook in the policy handle -> wire handle code to allow backends
Andrew Tridgell [Tue, 6 Apr 2004 08:07:07 +0000 (08:07 +0000)]
r67: added a destroy hook in the policy handle -> wire handle code to allow backends
to cleanup handle data
(This used to be commit af0c21c1e175ca2ebb687dc6dff83da919280271)

16 years agor66: fixed a segv when printing an error from a session setup failure. This
Andrew Tridgell [Tue, 6 Apr 2004 08:05:04 +0000 (08:05 +0000)]
r66: fixed a segv when printing an error from a session setup failure. This
was caused by the cli to cli->tree conversion a while ago
(This used to be commit f88f1d33618562f8b8273ec45a79b819c9e48686)

16 years agor65: added support for file streams in the simple NTVFS backend
Andrew Tridgell [Tue, 6 Apr 2004 08:02:55 +0000 (08:02 +0000)]
r65: added support for file streams in the simple NTVFS backend
(This used to be commit 9a9cc44a05510a69ad902db4d01dc12b6ac4f8ba)

16 years agor62: Fix the build
Jelmer Vernooij [Mon, 5 Apr 2004 22:34:24 +0000 (22:34 +0000)]
r62: Fix the build
(This used to be commit 1396db85372af1824592ef66f963603e3f35803c)

16 years agor61: - Implement first call in the winreg rpc server
Jelmer Vernooij [Mon, 5 Apr 2004 20:44:33 +0000 (20:44 +0000)]
r61: - Implement first call in the winreg rpc server
- Add some initial implementation of the ldb backend
- More checks in the winreg torture test
(This used to be commit ae2b63b6f1821bc4f693cb8e2a5f78718c483c24)

16 years agor55: if you try to use a custom bind or unbind hook in
Stefan Metzmacher [Mon, 5 Apr 2004 16:06:33 +0000 (16:06 +0000)]
r55: if you try to use a custom bind or unbind hook in
a dcesrv module and also use the autogenerated boilerplate
you can just use:

#define DCESRV_INTERFACE_<UPPERCASE_INTERFACE_NAME>_BIND <interface_name>_bind
#define DCESRV_INTERFACE_<UPPERCASE_INTERFACE_NAME>_UNBIND <interface_name>_unbind

the prototype for the functions are the same as in
struct dcesrv_interface {
...
/* this function is called when the client binds to this interface  */
NTSTATUS (*bind)(struct dcesrv_call_state *, const struct dcesrv_interface *);

/* this function is called when the client disconnects the endpoint */
void (*unbind)(struct dcesrv_connection *, const struct dcesrv_interface *);
...
};

e.g.

#define DCESRV_INTERFACE_WINREG_BIND winreg_bind
#define DCESRV_INTERFACE_WINREG_UNBIND winreg_unbind

metze
(This used to be commit ae97f5f50b0d00889f29e1903513cee88891545d)

16 years agor46: Add CreateKey function (still working on it)
Jelmer Vernooij [Mon, 5 Apr 2004 13:50:45 +0000 (13:50 +0000)]
r46: Add CreateKey function (still working on it)
(This used to be commit 9f13b7c60cc7e6edd095eee96625ee02cd0dd73b)

16 years agor42: importing .cvsignore files
Gerald Carter [Mon, 5 Apr 2004 12:26:23 +0000 (12:26 +0000)]
r42: importing .cvsignore files
(This used to be commit 11717ae912449bde596ff6cf7d8fddcc86548f15)

16 years agor36: - Start using memory pools in the registry library
Jelmer Vernooij [Mon, 5 Apr 2004 10:28:59 +0000 (10:28 +0000)]
r36: - Start using memory pools in the registry library
- Remove obsolete file
(This used to be commit d85b8fb3b74b236fb03cf0931a0f585eec74536a)

16 years agor35: a test commit - 2
Andrew Tridgell [Mon, 5 Apr 2004 10:16:22 +0000 (10:16 +0000)]
r35: a test commit - 2
(This used to be commit b87af5a37b40687fbfc4b8d232e73b4459e58143)

16 years agor34: a test commit
Andrew Tridgell [Mon, 5 Apr 2004 09:52:58 +0000 (09:52 +0000)]
r34: a test commit
(This used to be commit 87429a0c99456118e6de841aa4f8948f136aa37f)

16 years agor33: Fix torture test after IDL changes.
Jelmer Vernooij [Mon, 5 Apr 2004 09:52:09 +0000 (09:52 +0000)]
r33: Fix torture test after IDL changes.
(This used to be commit 8b9b992f6026a6b9ace7564d6aaac9060a54af7d)

16 years agor31: More registry updates. regdiff/regpatch work now.
Jelmer Vernooij [Mon, 5 Apr 2004 09:17:11 +0000 (09:17 +0000)]
r31: More registry updates. regdiff/regpatch work now.
(This used to be commit 98224f5436695eb265f5d997cf4bc9cf735a4fb9)

16 years agor23: get rid of def_finfo
Andrew Tridgell [Mon, 5 Apr 2004 08:44:08 +0000 (08:44 +0000)]
r23: get rid of def_finfo
(This used to be commit 25b7ec390aec3e324c4c7ad8edbc90fc8896b230)

16 years agor20: Add the registry library. Still needs a lot of work,
Jelmer Vernooij [Sun, 4 Apr 2004 16:24:08 +0000 (16:24 +0000)]
r20: Add the registry library. Still needs a lot of work,
see source/lib/registry/TODO for details.
(This used to be commit 7cab3a00d7b4b1d95a3bfa6b28f318b4aaa5d493)

16 years ago[GLUE] Sync tree with SVN r17.
Gerald (Jerry) Carter [Wed, 10 Oct 2007 17:39:20 +0000 (12:39 -0500)]
[GLUE] Sync tree with SVN r17.
(This used to be commit 6e50109b664ff5fcc3d27f676d101c2b36574a63)

20 years agoadded IDL and test for lsa_OpenSecret()
Andrew Tridgell [Sat, 3 Apr 2004 17:21:26 +0000 (17:21 +0000)]
added IDL and test for lsa_OpenSecret()
(This used to be commit dd95cd141dc63f16e14f4c9392529653084b5a2a)

20 years agoadded IDL and test suite for lsa_CreateSecret()
Andrew Tridgell [Sat, 3 Apr 2004 17:15:32 +0000 (17:15 +0000)]
added IDL and test suite for lsa_CreateSecret()
(This used to be commit 4de08b64ddb3851e90a8dadd7d0d0991e933abf5)

20 years agoadded idl and test suite for lsa_CreateTrustedDomain()
Andrew Tridgell [Sat, 3 Apr 2004 16:44:39 +0000 (16:44 +0000)]
added idl and test suite for lsa_CreateTrustedDomain()
(This used to be commit cdb47511531cb8ef19334088eecb14971e189a4f)

20 years agoadded the rest of the ldb_modify() code, which required a fairly large
Andrew Tridgell [Sat, 3 Apr 2004 12:29:21 +0000 (12:29 +0000)]
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)

20 years agoThis is the start of a C API to the DCERPC client routines. Currently
Tim Potter [Sat, 3 Apr 2004 01:25:40 +0000 (01:25 +0000)]
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)

20 years agoAdded one more test for "dirname\."
Jeremy Allison [Fri, 2 Apr 2004 18:59:38 +0000 (18:59 +0000)]
Added one more test for "dirname\."
Jeremy.
(This used to be commit a7ca9620d50aa33e7125d280bc096f1a42438141)

20 years agoallow "struct TDB_DATA" as well as just "TDB_DATA"
Andrew Tridgell [Thu, 1 Apr 2004 07:39:04 +0000 (07:39 +0000)]
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)

20 years agoadded lsaCreateAccount() and a test in the RPC-LSA test suite
Andrew Tridgell [Wed, 31 Mar 2004 12:52:21 +0000 (12:52 +0000)]
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)

20 years agobuilding with Makefile.ldb now works
Andrew Tridgell [Wed, 31 Mar 2004 06:51:44 +0000 (06:51 +0000)]
building with Makefile.ldb now works
(This used to be commit 12538cd2c650bacabd37f4d2ecd3ff3ffce87a00)

20 years agomake a more recent snapshot of ldb available to interested
Andrew Tridgell [Wed, 31 Mar 2004 06:45:39 +0000 (06:45 +0000)]
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)

20 years agomerge some recent tdb changed from samba3
Andrew Tridgell [Sun, 28 Mar 2004 02:18:38 +0000 (02:18 +0000)]
merge some recent tdb changed from samba3
(This used to be commit 0e845ecd49841c620f7f9c5ba6c5bfbb0c572032)

20 years agoswitch from SIG_ATOMIC_T to sig_atomic_t
Andrew Tridgell [Sun, 28 Mar 2004 01:57:28 +0000 (01:57 +0000)]
switch from SIG_ATOMIC_T to sig_atomic_t
(This used to be commit b881b72cb9cb5a4a8ad27b621e8cbe9dcfa7ba7f)

20 years agoafter discussion with the copyright holders tdb is now under the LGPL
Andrew Tridgell [Sun, 28 Mar 2004 01:43:06 +0000 (01:43 +0000)]
after discussion with the copyright holders tdb is now under the LGPL
(This used to be commit 51409e2a417fb0673f59e5c823d7fe54b21e6f76)

20 years agoadded a TDB_MODIFY flag to tdb_store() that says "if the record
Andrew Tridgell [Sun, 28 Mar 2004 01:38:42 +0000 (01:38 +0000)]
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)

20 years agoadded a private pointer to tdb_traverse() to allow callers to supply
Andrew Tridgell [Sun, 28 Mar 2004 01:33:32 +0000 (01:33 +0000)]
added a private pointer to tdb_traverse() to allow callers to supply
data to their traverse function
(This used to be commit 76bf816485bf869c293791659da5dff2425d2d32)

20 years agoremoved the state parameter to tdb_traverse and the TDB_MODIFY flag
Andrew Tridgell [Sun, 28 Mar 2004 01:30:54 +0000 (01:30 +0000)]
removed the state parameter to tdb_traverse and the TDB_MODIFY flag
(This used to be commit 6505efc7e9bfcdae3e370d8557328470608b87ca)

20 years agocopy with a null volume name in a trans2 QFSINFO call
Andrew Tridgell [Fri, 26 Mar 2004 02:41:20 +0000 (02:41 +0000)]
copy with a null volume name in a trans2 QFSINFO call
(This used to be commit 96c54df6facc8d1d5ef559ebc3e7e0953d89b2ab)

20 years ago- moved some of the base tests into torture/basic/
Andrew Tridgell [Fri, 26 Mar 2004 02:39:48 +0000 (02:39 +0000)]
- 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)

20 years ago- use a linked list for the ftable in the nbench load generator. This
Andrew Tridgell [Fri, 26 Mar 2004 02:11:31 +0000 (02:11 +0000)]
- 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)

20 years agouse client1, client2 not client0, client1 to better match netbench
Andrew Tridgell [Fri, 26 Mar 2004 02:09:51 +0000 (02:09 +0000)]
use client1, client2 not client0, client1 to better match netbench
(This used to be commit 4bbc77fa0c3a91fd34e1966892782f5b2a441359)

20 years agofixed the handling of level II oplocks in samba4, especially when
Andrew Tridgell [Thu, 25 Mar 2004 02:41:19 +0000 (02:41 +0000)]
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)

20 years agoput the "max xmit" option back into Samba4
Andrew Tridgell [Tue, 23 Mar 2004 03:17:38 +0000 (03:17 +0000)]
put the "max xmit" option back into Samba4
(This used to be commit 82e50a1ce8904c72c90b1e771f232acaad2c835e)

20 years agoreadx reply packets can be over-sized
Andrew Tridgell [Tue, 23 Mar 2004 03:13:24 +0000 (03:13 +0000)]
readx reply packets can be over-sized
(This used to be commit ad42c8432b7df0ae44ca73e08d017e61a2bc6f1c)

20 years agonicer way of handling \clients
Andrew Tridgell [Wed, 10 Mar 2004 09:00:24 +0000 (09:00 +0000)]
nicer way of handling \clients
(This used to be commit 931138cc440f646671ec5e9b52eb3666b2ff014b)

20 years agoas a special case don't check the status of the create of \clients -
Andrew Tridgell [Wed, 10 Mar 2004 07:38:47 +0000 (07:38 +0000)]
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)

20 years agomake the warmup and execute phases clearer
Andrew Tridgell [Wed, 10 Mar 2004 05:05:56 +0000 (05:05 +0000)]
make the warmup and execute phases clearer
(This used to be commit d49e4407e59a25c8e887b552ed2a58de7a16b6d9)

20 years agoadd config hints for cifs backend
Andrew Tridgell [Wed, 10 Mar 2004 04:07:02 +0000 (04:07 +0000)]
add config hints for cifs backend
(This used to be commit bba81f1c7a87499f610ca19fbc5f1485d368c5b8)

20 years agoadded a 5% warmup time to NBENCH to make the results more consistent
Andrew Tridgell [Wed, 10 Mar 2004 03:24:03 +0000 (03:24 +0000)]
added a 5% warmup time to NBENCH to make the results more consistent
(This used to be commit df50911a9c71bf5b8a8988fdbf6c716f8343fa45)

20 years agoadded the -C option to smbtorture
Andrew Tridgell [Tue, 9 Mar 2004 09:04:06 +0000 (09:04 +0000)]
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)

20 years agomake sure the tags in the NBENCH test match the tags in the generated
Andrew Tridgell [Tue, 9 Mar 2004 05:06:57 +0000 (05:06 +0000)]
make sure the tags in the NBENCH test match the tags in the generated
load files
(This used to be commit 1c5dc25b3b678d7c5d271cc9bee5bf80cfbec3b9)

20 years agodon't check return fields (like search count) on an expected failure
Andrew Tridgell [Tue, 9 Mar 2004 03:28:21 +0000 (03:28 +0000)]
don't check return fields (like search count) on an expected failure
(This used to be commit 6cbe8a6bd5998c67b74b989d13d3cb7863fee75d)

20 years agohandle incomplete load files
Andrew Tridgell [Tue, 9 Mar 2004 02:24:14 +0000 (02:24 +0000)]
handle incomplete load files
change default timelimit to 600 secs
(This used to be commit c5c75a6adab10e35584dca760586fda333ca5308)

20 years agogreatly improved NBENCH netbench simulator
Andrew Tridgell [Tue, 9 Mar 2004 02:13:13 +0000 (02:13 +0000)]
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)

20 years agofixed the label for search requests
Andrew Tridgell [Tue, 9 Mar 2004 02:01:42 +0000 (02:01 +0000)]
fixed the label for search requests
(This used to be commit 8dbf08549e17a48a5cff114671122edb035dd900)

20 years agofixed a typo
Andrew Tridgell [Mon, 8 Mar 2004 09:13:35 +0000 (09:13 +0000)]
fixed a typo
(This used to be commit 10b137c6e3c1a640597ff4a0db10d635b51b806b)

20 years agoadded the "nbench" ntvfs backend. This is used to capture NBENCH load
Andrew Tridgell [Mon, 8 Mar 2004 07:17:15 +0000 (07:17 +0000)]
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)

20 years agoin the async socket handling routines in the cifs backend don't assume
Andrew Tridgell [Mon, 8 Mar 2004 07:13:11 +0000 (07:13 +0000)]
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)

20 years agofixed two writex client bugs
Andrew Tridgell [Mon, 8 Mar 2004 07:11:13 +0000 (07:11 +0000)]
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)

20 years agomake proto should not catch any function of the lib/popt/*.c stuff
Stefan Metzmacher [Tue, 24 Feb 2004 06:53:53 +0000 (06:53 +0000)]
make proto should not catch any function of the lib/popt/*.c stuff

metze
(This used to be commit ec96914c66573ae54f4fa0a706001f5b91c61075)

20 years agolet the popt replacement stuff survive a make proto
Stefan Metzmacher [Tue, 24 Feb 2004 06:49:59 +0000 (06:49 +0000)]
let the popt replacement stuff survive a make proto

metze
(This used to be commit 0f1c6dd631c7a1d4be333b8e3e4ce9850752d5c2)

20 years agorenaming and restructuring of same object file lists
Stefan Metzmacher [Mon, 23 Feb 2004 10:51:36 +0000 (10:51 +0000)]
renaming and restructuring of same object file lists

metze
(This used to be commit 2915a4039ba27b4ef454f4cc86382ae7c229ccb5)

20 years ago- creat the LIBCMDLINE subsystem
Stefan Metzmacher [Sun, 22 Feb 2004 13:09:51 +0000 (13:09 +0000)]
- 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)

20 years agoThe file descriptor argument to cli_getattrE() is a fnum not a fd.
Tim Potter [Sat, 21 Feb 2004 11:23:51 +0000 (11:23 +0000)]
The file descriptor argument to cli_getattrE() is a fnum not a fd.
(This used to be commit f172b6f1d08b7de040cde4a7d88708e5af29a3a4)

20 years agoremove the python stuff, this will be rewritten on top of libsmb.so
Stefan Metzmacher [Sat, 21 Feb 2004 11:08:10 +0000 (11:08 +0000)]
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)

20 years agosplit up the schannel rpc client code into separate key establishment
Andrew Tridgell [Sat, 21 Feb 2004 04:46:49 +0000 (04:46 +0000)]
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)

20 years agoadded the simple HOLDCON torture test. This is used to establish
Andrew Tridgell [Sat, 21 Feb 2004 04:02:55 +0000 (04:02 +0000)]
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)

20 years agofixed a problem with the smb client code spinning when the connection
Andrew Tridgell [Sat, 21 Feb 2004 04:02:00 +0000 (04:02 +0000)]
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)

20 years agodon't inlcude rpc/rpc.h and rpcsvc/*.h anymore
Stefan Metzmacher [Wed, 18 Feb 2004 15:31:25 +0000 (15:31 +0000)]
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)

20 years agoremove unused NISPLUS/AUTOMOUNT stuff
Stefan Metzmacher [Wed, 18 Feb 2004 13:55:15 +0000 (13:55 +0000)]
remove unused NISPLUS/AUTOMOUNT stuff

metze
(This used to be commit cbfa29549e5b302f947c7f2ca14fbea257e46c33)

20 years agoremove pdb_nisplus, its also removed in samba3, because it was broken
Stefan Metzmacher [Wed, 18 Feb 2004 13:17:03 +0000 (13:17 +0000)]
remove pdb_nisplus, its also removed in samba3, because it was broken

metze
(This used to be commit db0b2222025d0d1955deed7cfcd10b8579e29869)

20 years agomove some cryto stuff to lib/crypto/*
Stefan Metzmacher [Wed, 18 Feb 2004 12:20:17 +0000 (12:20 +0000)]
move some cryto stuff to lib/crypto/*

metze
(This used to be commit afe4dbfea658d3d3de847651ea2b3d5517e81f41)

20 years agomove external configure test programs
Stefan Metzmacher [Fri, 13 Feb 2004 15:20:52 +0000 (15:20 +0000)]
move external configure test programs
from tests/*.c to build/tests/*.c

metze
(This used to be commit dea3a3acbfe2341f9276ceaec2a42f0931e2c336)

20 years agomove all old configure checks to build/m4/rewrite.m4
Stefan Metzmacher [Fri, 13 Feb 2004 15:03:46 +0000 (15:03 +0000)]
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)

20 years agomove the tdb utils to utils/tdb/*
Stefan Metzmacher [Thu, 12 Feb 2004 16:28:12 +0000 (16:28 +0000)]
move the tdb utils to utils/tdb/*

metze
(This used to be commit b49734fe4bb6432b2cf3f23fdead5a4fa9f7de0d)

20 years agomove the tdb lib code to lib/tdb/*
Stefan Metzmacher [Thu, 12 Feb 2004 15:59:16 +0000 (15:59 +0000)]
move the tdb lib code to lib/tdb/*

metze
(This used to be commit 5ebd6fb761370cbe2835a2a2631e24e35bcaffb4)

20 years agomove -lpopt replacement code from source/popt/* to source/lib/popt/*
Stefan Metzmacher [Thu, 12 Feb 2004 14:21:44 +0000 (14:21 +0000)]
move -lpopt replacement code from source/popt/* to source/lib/popt/*

metze
(This used to be commit 9d1018557fdc51cada1ad082d85c0dc48e1b3072)

20 years agomove the -lpopt replacement to a LIBPOPT subsystem
Stefan Metzmacher [Thu, 12 Feb 2004 08:07:46 +0000 (08:07 +0000)]
move the -lpopt replacement to a LIBPOPT subsystem

metze
(This used to be commit 9eb593a7c065326dafbba896ed723d0ea5cb00ed)

20 years agomove more code to the config.m4 scheme
Stefan Metzmacher [Thu, 12 Feb 2004 06:02:32 +0000 (06:02 +0000)]
move more code to the config.m4 scheme
LIBBASIC, LIBSMB are the new global subsystems

metze
(This used to be commit a25c167b3f13031ba992b2d3f74387bdfffbf5b0)