Jelmer Vernooij [Sun, 11 Apr 2004 23:34:23 +0000 (23:34 +0000)]
r169: Fix gregedit
Jelmer Vernooij [Sun, 11 Apr 2004 23:16:47 +0000 (23:16 +0000)]
r168: - Cleanups in rpc backend
- Small fixess in nt4 and dir backends
- Start on w95 file backend
Jelmer Vernooij [Sun, 11 Apr 2004 16:37:06 +0000 (16:37 +0000)]
r166: Fix enumerating values in nt4 backend
Jelmer Vernooij [Sun, 11 Apr 2004 16:04:06 +0000 (16:04 +0000)]
r165: Add support for viewing registry values in gregedit
Jelmer Vernooij [Sun, 11 Apr 2004 15:34:18 +0000 (15:34 +0000)]
r164: Viewing remote registries with gregedit works now
Andrew Tridgell [Sun, 11 Apr 2004 15:03:31 +0000 (15:03 +0000)]
r163: - enable ldap in the sample makefile, and use /usr prefix
- show number of adds/deletes/modifies after an edit
- nicer error messages from ldbedit
Jelmer Vernooij [Sun, 11 Apr 2004 14:24:47 +0000 (14:24 +0000)]
r162: Minor bugfixes:
- Don't keep windows open after errors
- Don't build ldb backend by default
Andrew Tridgell [Sun, 11 Apr 2004 01:27:33 +0000 (01:27 +0000)]
r159: nicer usage messages when no URL is given
Andrew Tridgell [Sun, 11 Apr 2004 01:26:53 +0000 (01:26 +0000)]
r158: cope with or without LDAP in samba build of ldb
Andrew Tridgell [Sun, 11 Apr 2004 01:26:22 +0000 (01:26 +0000)]
r157: cope with or without LDAP in ldb sample Makefile
Andrew Tridgell [Sat, 10 Apr 2004 20:18:22 +0000 (20:18 +0000)]
r152: a quick airport commit ....
added ldbedit, a _really_ useful command
added ldbadd, ldbdel, ldbsearch and ldbmodify to build
solved lots of timezone issues, we now pass the torture tests with
client and server in different zones
fixed several build issues
I know this breaks the no-LDAP build. Wait till I arrive in San Jose for that
fix.
Stefan Metzmacher [Sat, 10 Apr 2004 18:24:45 +0000 (18:24 +0000)]
r147: - Remove dublicate ldap tests (richard the current test is in libads/config.m4 :-)
- Move sendfile check to ntvfs/config.m4
- Move comparison_fn_t check to build/m4/rewrite.m4
Please do not new tests to configure.in directly,
please add them to the subsystems config.m4 file where they belong to or
to build/m4/rewrite.m4 if you don't know where to put it for now
Thanks
I know samba4's build system is not completly rewritten.
I have a lot of updatest in my local tree, but it's not complete yet
when it's complete I'll write documentation for it:-)
metze
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 ...
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.
Stefan Metzmacher [Fri, 9 Apr 2004 18:16:52 +0000 (18:16 +0000)]
r138: fix typo
metze
Jelmer Vernooij [Fri, 9 Apr 2004 17:09:00 +0000 (17:09 +0000)]
r137: Add notes about handles in dcesrv pipes
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
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
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
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
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
Andrew Tridgell [Fri, 9 Apr 2004 07:28:27 +0000 (07:28 +0000)]
r131: mark some scripts executable
Andrew Tridgell [Fri, 9 Apr 2004 07:27:34 +0000 (07:27 +0000)]
r130: added DCERPC_COMMON_OBJS to Makefile.in
Jelmer Vernooij [Fri, 9 Apr 2004 00:02:20 +0000 (00:02 +0000)]
r129: Convert other utilities to new API
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..
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
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
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
Andrew Tridgell [Wed, 7 Apr 2004 11:46:00 +0000 (11:46 +0000)]
r114: - remember to initialise open_files
- use talloc_p when possible
Andrew Tridgell [Wed, 7 Apr 2004 11:30:59 +0000 (11:30 +0000)]
r113: added support for "read only = yes" in simple backend
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
Andrew Tridgell [Wed, 7 Apr 2004 09:56:53 +0000 (09:56 +0000)]
r109: a test commit 2
Andrew Tridgell [Wed, 7 Apr 2004 09:50:40 +0000 (09:50 +0000)]
r108: a test commit
Andrew Tridgell [Wed, 7 Apr 2004 09:46:54 +0000 (09:46 +0000)]
r107: a test commit
Andrew Tridgell [Wed, 7 Apr 2004 09:45:08 +0000 (09:45 +0000)]
r106: add an idea about SMB UNC names
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
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
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
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
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
Andrew Tridgell [Tue, 6 Apr 2004 08:02:55 +0000 (08:02 +0000)]
r65: added support for file streams in the simple NTVFS backend
Jelmer Vernooij [Mon, 5 Apr 2004 22:34:24 +0000 (22:34 +0000)]
r62: Fix the build
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
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
Jelmer Vernooij [Mon, 5 Apr 2004 13:50:45 +0000 (13:50 +0000)]
r46: Add CreateKey function (still working on it)
Gerald Carter [Mon, 5 Apr 2004 12:26:23 +0000 (12:26 +0000)]
r42: importing .cvsignore files
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
Andrew Tridgell [Mon, 5 Apr 2004 10:16:22 +0000 (10:16 +0000)]
r35: a test commit - 2
Andrew Tridgell [Mon, 5 Apr 2004 09:52:58 +0000 (09:52 +0000)]
r34: a test commit
Jelmer Vernooij [Mon, 5 Apr 2004 09:52:09 +0000 (09:52 +0000)]
r33: Fix torture test after IDL changes.
Jelmer Vernooij [Mon, 5 Apr 2004 09:17:11 +0000 (09:17 +0000)]
r31: More registry updates. regdiff/regpatch work now.
Andrew Tridgell [Mon, 5 Apr 2004 08:44:08 +0000 (08:44 +0000)]
r23: get rid of def_finfo
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.
Gerald (Jerry) Carter [Wed, 10 Oct 2007 17:39:20 +0000 (12:39 -0500)]
[GLUE] Sync tree with SVN r17.
Andrew Tridgell [Sat, 3 Apr 2004 17:21:26 +0000 (17:21 +0000)]
added IDL and test for lsa_OpenSecret()
Andrew Tridgell [Sat, 3 Apr 2004 17:15:32 +0000 (17:15 +0000)]
added IDL and test suite for lsa_CreateSecret()
Andrew Tridgell [Sat, 3 Apr 2004 16:44:39 +0000 (16:44 +0000)]
added idl and test suite for lsa_CreateTrustedDomain()
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.
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
Jeremy Allison [Fri, 2 Apr 2004 18:59:38 +0000 (18:59 +0000)]
Added one more test for "dirname\."
Jeremy.
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.
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
Andrew Tridgell [Wed, 31 Mar 2004 06:51:44 +0000 (06:51 +0000)]
building with Makefile.ldb now works
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
Andrew Tridgell [Sun, 28 Mar 2004 02:18:38 +0000 (02:18 +0000)]
merge some recent tdb changed from samba3
Andrew Tridgell [Sun, 28 Mar 2004 01:57:28 +0000 (01:57 +0000)]
switch from SIG_ATOMIC_T to sig_atomic_t
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
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"
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
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
Andrew Tridgell [Fri, 26 Mar 2004 02:41:20 +0000 (02:41 +0000)]
copy with a null volume name in a trans2 QFSINFO call
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.
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
Andrew Tridgell [Fri, 26 Mar 2004 02:09:51 +0000 (02:09 +0000)]
use client1, client2 not client0, client1 to better match netbench
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)
Andrew Tridgell [Tue, 23 Mar 2004 03:17:38 +0000 (03:17 +0000)]
put the "max xmit" option back into Samba4
Andrew Tridgell [Tue, 23 Mar 2004 03:13:24 +0000 (03:13 +0000)]
readx reply packets can be over-sized
Andrew Tridgell [Wed, 10 Mar 2004 09:00:24 +0000 (09:00 +0000)]
nicer way of handling \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
Andrew Tridgell [Wed, 10 Mar 2004 05:05:56 +0000 (05:05 +0000)]
make the warmup and execute phases clearer
Andrew Tridgell [Wed, 10 Mar 2004 04:07:02 +0000 (04:07 +0000)]
add config hints for cifs backend
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
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.
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
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
Andrew Tridgell [Tue, 9 Mar 2004 02:24:14 +0000 (02:24 +0000)]
handle incomplete load files
change default timelimit to 600 secs
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
Andrew Tridgell [Tue, 9 Mar 2004 02:01:42 +0000 (02:01 +0000)]
fixed the label for search requests
Andrew Tridgell [Mon, 8 Mar 2004 09:13:35 +0000 (09:13 +0000)]
fixed a typo
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.
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.
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
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
Stefan Metzmacher [Tue, 24 Feb 2004 06:49:59 +0000 (06:49 +0000)]
let the popt replacement stuff survive a make proto
metze
Stefan Metzmacher [Mon, 23 Feb 2004 10:51:36 +0000 (10:51 +0000)]
renaming and restructuring of same object file lists
metze
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
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.
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
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.
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.