Stefan Metzmacher [Wed, 13 Feb 2008 13:52:53 +0000 (14:52 +0100)]
torture/eventlog: fix crash bugs!
This bug was introduced in
92b8bde561277a6b83048ce003cc29ff1b380255
and this shows that we need to be very, very careful in changing
idl elements from scalars to [ref] pointers!
metze
Stefan Metzmacher [Wed, 13 Feb 2008 12:04:54 +0000 (13:04 +0100)]
pidl: $size can be 'foo / 2' so we need to add '(' and ')'
'foo / 5 * sizeof(bar)' isn't the same as
'(foo / 2) * sizeof(bar)'.
metze
Stefan Metzmacher [Wed, 13 Feb 2008 09:41:57 +0000 (10:41 +0100)]
idl_types: remove unused lstring
metze
Stefan Metzmacher [Wed, 13 Feb 2008 09:36:49 +0000 (10:36 +0100)]
spoolss.idl: improve idl for EnumPrinterData and not use 'lstring' any more
metze
Stefan Metzmacher [Tue, 12 Feb 2008 13:39:52 +0000 (14:39 +0100)]
Makefile: --enable-automatic-dependencies usage
metze
Andrew Tridgell [Wed, 13 Feb 2008 06:36:41 +0000 (17:36 +1100)]
missed another spot in the SMB2 create conversion
Andrew Tridgell [Wed, 13 Feb 2008 06:24:23 +0000 (17:24 +1100)]
missed a spot in the SMB2 create conversion
Andrew Tridgell [Wed, 13 Feb 2008 04:06:05 +0000 (15:06 +1100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Andrew Tridgell [Wed, 13 Feb 2008 04:05:44 +0000 (15:05 +1100)]
updated SMB2 create operation to match WSPP.
Adding some defined for various new create options
Julien Kerihuel [Wed, 13 Feb 2008 01:24:11 +0000 (02:24 +0100)]
Support ETT_FIELD keyword.
Jelmer Vernooij [Wed, 13 Feb 2008 01:20:02 +0000 (02:20 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
Jelmer Vernooij [Wed, 13 Feb 2008 01:18:45 +0000 (02:18 +0100)]
Initial work on a test for samba.tests.samdb
Jelmer Vernooij [Wed, 13 Feb 2008 00:22:09 +0000 (01:22 +0100)]
Add python version of newuser.py.
Jelmer Vernooij [Wed, 13 Feb 2008 00:21:06 +0000 (01:21 +0100)]
Fix invalid symbol.
Andrew Tridgell [Tue, 12 Feb 2008 23:14:04 +0000 (10:14 +1100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Andrew Tridgell [Tue, 12 Feb 2008 23:13:28 +0000 (10:13 +1100)]
updated SMB2 tcon as per WSPP docs
Michael Adam [Tue, 12 Feb 2008 21:52:58 +0000 (22:52 +0100)]
Raise version of talloc from 1.1.0 to 1.2.0 after adding talloc pools.
Michael
Jelmer Vernooij [Tue, 12 Feb 2008 21:15:06 +0000 (22:15 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
Jelmer Vernooij [Tue, 12 Feb 2008 21:10:25 +0000 (22:10 +0100)]
Fix subunit runner exit codes.
Jelmer Vernooij [Tue, 12 Feb 2008 20:59:23 +0000 (21:59 +0100)]
Correctly increment counters in Subunit test runner.
Stefan Metzmacher [Tue, 12 Feb 2008 15:16:35 +0000 (16:16 +0100)]
librpc: remove special support for fixed length strings
Fixed arrays with the charset() attribute do the same
metze
Stefan Metzmacher [Tue, 12 Feb 2008 15:15:34 +0000 (16:15 +0100)]
spoolss.idl: don't use string32 anymore and use an charset() array
metze
Stefan Metzmacher [Tue, 12 Feb 2008 15:14:43 +0000 (16:14 +0100)]
nbt.idl: don't use astring15 anymore and use an charset() array
metze
Amin Azez [Tue, 29 Jan 2008 16:10:48 +0000 (16:10 +0000)]
Fix open file tracking in vfs_cifs so that oplock breaks can propagate
Oplock breaks were not propagating because the list of open files was not
being maintained.
This fixes that based on best-guess of how it should work.
It has been tested manually with windows XP client obtaining an oplock from a
windows 2003 server, which then broke the lock when smbclient read the same file.
Previously the smbclient read blocked until the oplock timed out
Jelmer Vernooij [Tue, 12 Feb 2008 12:51:03 +0000 (13:51 +0100)]
Support using shared library during testsuite run if tdb was built with a shared lib internally.
Jelmer Vernooij [Tue, 12 Feb 2008 12:34:19 +0000 (13:34 +0100)]
make sure libraries are built before attempting to install.
Jelmer Vernooij [Tue, 12 Feb 2008 12:07:16 +0000 (13:07 +0100)]
Specify PICFLAG when compiling python modules.
Stefan Metzmacher [Tue, 12 Feb 2008 11:16:38 +0000 (12:16 +0100)]
[PATCH] composite: make it possible to call composite_is_ok() without callback fn
metze
Jelmer Vernooij [Tue, 12 Feb 2008 11:46:33 +0000 (12:46 +0100)]
Make sure talloc.so is build before installing.
Jelmer Vernooij [Tue, 12 Feb 2008 11:41:21 +0000 (12:41 +0100)]
Fix installation of python module for ldb and tdb.
Andrew Tridgell [Tue, 12 Feb 2008 09:29:31 +0000 (20:29 +1100)]
fixed crash when 0 dialects (thanks metze!)
Andrew Tridgell [Tue, 12 Feb 2008 06:00:35 +0000 (17:00 +1100)]
updated SMB2 header defines to match WSPP docs
Andrew Tridgell [Tue, 12 Feb 2008 05:43:38 +0000 (16:43 +1100)]
converted SMB2 session setup to use WSPP protocol field names
Andrew Tridgell [Tue, 12 Feb 2008 05:20:13 +0000 (16:20 +1100)]
converted the out side of SMB2 negprot handling
This follows the SMB2 PFIF docs. Current versions of Vista can now connect to Samba4 as a SMB2 server
and do basic operations
Andrew Tridgell [Tue, 12 Feb 2008 05:18:51 +0000 (16:18 +1100)]
added some helper functions for GUID handling
Andrew Tridgell [Tue, 12 Feb 2008 01:56:30 +0000 (12:56 +1100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Andrew Tridgell [Tue, 12 Feb 2008 01:54:44 +0000 (12:54 +1100)]
fixed up the .in side of SMB2 negprot
fixed the input side of the SMB2 negprot structure and parsers according to the documentation
Jelmer Vernooij [Tue, 12 Feb 2008 01:15:09 +0000 (02:15 +0100)]
tdb/ldb: Use prefix in case DESTDIR is not set.
Jelmer Vernooij [Tue, 12 Feb 2008 00:58:42 +0000 (01:58 +0100)]
Create the required directories when installing Python code.
Jelmer Vernooij [Tue, 12 Feb 2008 00:52:07 +0000 (01:52 +0100)]
Mark the reprovision test as known failing for now.
Jelmer Vernooij [Tue, 12 Feb 2008 00:42:58 +0000 (01:42 +0100)]
Reintroduce samba3sam EJS test, at least until the Python test is ready.
Jelmer Vernooij [Tue, 12 Feb 2008 00:39:31 +0000 (01:39 +0100)]
Add blackbox test for provisioning code to make sure it can be run more than once in a row.
Jelmer Vernooij [Tue, 12 Feb 2008 00:21:10 +0000 (01:21 +0100)]
Avoid using setup.py for intsallation.
Jelmer Vernooij [Mon, 11 Feb 2008 23:49:36 +0000 (00:49 +0100)]
Manually compile python files rather than use setup.py.
Jelmer Vernooij [Mon, 11 Feb 2008 23:35:11 +0000 (00:35 +0100)]
Manually compile python files rather than using setup.py.
Jelmer Vernooij [Mon, 11 Feb 2008 22:51:59 +0000 (23:51 +0100)]
Fix out of tree builds.
Jelmer Vernooij [Mon, 11 Feb 2008 21:55:51 +0000 (22:55 +0100)]
Split actual content out of tdb Makefile into a separate file.
Jelmer Vernooij [Mon, 11 Feb 2008 21:52:42 +0000 (22:52 +0100)]
Split actual content out of talloc Makefile into talloc.mk.
Jelmer Vernooij [Mon, 11 Feb 2008 21:14:31 +0000 (22:14 +0100)]
Move some more rules to rules.mk
Jelmer Vernooij [Mon, 11 Feb 2008 21:05:52 +0000 (22:05 +0100)]
Split rules.mk out of Makefile.
Jelmer Vernooij [Mon, 11 Feb 2008 21:02:57 +0000 (22:02 +0100)]
Split rules out of tdb Makefile.
Jelmer Vernooij [Mon, 11 Feb 2008 20:54:13 +0000 (21:54 +0100)]
ldb: Split up the Makefile so it will be possible later on to directly include fragments in the Samba 3 or 4 makefile.
Jelmer Vernooij [Mon, 11 Feb 2008 18:28:59 +0000 (19:28 +0100)]
Use make variables in cflags file (now supported by cflags.pl)
Jelmer Vernooij [Mon, 11 Feb 2008 18:10:21 +0000 (19:10 +0100)]
Support including files in the cflags.pl script.
Jelmer Vernooij [Mon, 11 Feb 2008 17:26:28 +0000 (18:26 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
Conflicts:
source/Makefile
source/rules.mk
Jelmer Vernooij [Mon, 11 Feb 2008 17:07:22 +0000 (18:07 +0100)]
TORTUREDIR as target dir for binaries is no longer used, remove it.
Jelmer Vernooij [Mon, 11 Feb 2008 14:57:52 +0000 (15:57 +0100)]
Clean up data.mk file in distclean.
Jelmer Vernooij [Mon, 11 Feb 2008 14:52:34 +0000 (15:52 +0100)]
Print warning when config.status doesn't exist and the user tries to
run make.
Jelmer Vernooij [Mon, 11 Feb 2008 13:53:28 +0000 (14:53 +0100)]
Remove unused function.
Jelmer Vernooij [Mon, 11 Feb 2008 13:48:39 +0000 (14:48 +0100)]
Move pidl bits to a separate file.
Jelmer Vernooij [Mon, 11 Feb 2008 11:39:47 +0000 (12:39 +0100)]
Fix typo.
Jelmer Vernooij [Mon, 11 Feb 2008 00:42:29 +0000 (01:42 +0100)]
Avoid autogenerating the Makefile but rather include a data.mk file
that is autogenerated.
Michael Adam [Mon, 11 Feb 2008 11:50:03 +0000 (12:50 +0100)]
Make versions in lib/talloc/config.mk and lib/talloc/configure.ac the same.
Not sure if we can produce one from the other, so I manually made
them equal for now.
Michael
Volker Lendecke [Thu, 10 Jan 2008 10:35:40 +0000 (11:35 +0100)]
Fix a c++ warning
Volker Lendecke [Thu, 10 Jan 2008 10:35:17 +0000 (11:35 +0100)]
talloc_free_children can only reset pool if it's empty
Volker Lendecke [Thu, 10 Jan 2008 10:34:07 +0000 (11:34 +0100)]
Mark talloc_pool memory for valgrind
Volker Lendecke [Sat, 5 Jan 2008 17:26:54 +0000 (18:26 +0100)]
Implement talloc_pool()
A talloc pool is a chunk of memory that can be used as a context for further
talloc calls. Allocations with the pool as the parent just chew from that
memory by incrementing a pointer. If the talloc pool is full, then we fall back
to the normal system-level malloc(3) to get memory.
The use case for talloc pools is the transient memory that is used for handling
a single SMB request. Incrementing a pointer will be way faster than any malloc
implementation.
There is a downside of this: If you use talloc_steal() to move something out of
the pool, the whole pool memory is kept around until the last object inside the
pool is freed. So if you talloc_free() the pool, it might happen that the
memory is freed later. So don't hang anything off a talloc pool that should
live long.
Volker
Michael Adam [Wed, 9 Jan 2008 00:35:43 +0000 (01:35 +0100)]
Add a comment.
Michael
Michael Adam [Wed, 9 Jan 2008 00:34:21 +0000 (01:34 +0100)]
Fix talloctort: move size check after referenced ptr check.
Michael
Volker Lendecke [Tue, 8 Jan 2008 21:42:27 +0000 (22:42 +0100)]
Don't shrink a talloc area if we have less than 1k to gain
Jelmer Vernooij [Mon, 11 Feb 2008 13:39:21 +0000 (14:39 +0100)]
Make data about what subsystems/libraries are enabled available in the mkconfig.mk file.
Michael Adam [Mon, 11 Feb 2008 13:27:10 +0000 (14:27 +0100)]
Fix the build: remove reference to inexistent header samba3_proto.h
Michael
Jelmer Vernooij [Mon, 11 Feb 2008 12:58:04 +0000 (13:58 +0100)]
Fix accidently introduced typo.
Jelmer Vernooij [Mon, 11 Feb 2008 12:54:12 +0000 (13:54 +0100)]
Ignore mkconfig.mk file, which is autogenerated.
Jelmer Vernooij [Mon, 11 Feb 2008 12:51:09 +0000 (13:51 +0100)]
Remove Samba 3 backwards compatibility code in C.
This code is no longer used, and equivalent code already exists in Python
(scripting/python/samba/samba3.py)
Jelmer Vernooij [Mon, 11 Feb 2008 12:38:07 +0000 (13:38 +0100)]
Remove tests for Samba 3 EJS code.
Jelmer Vernooij [Mon, 11 Feb 2008 12:26:59 +0000 (13:26 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
Jelmer Vernooij [Mon, 11 Feb 2008 12:20:24 +0000 (13:20 +0100)]
Use SMB_CONF_PATH environment variable inside tests rather than hardcoded paths.
Jelmer Vernooij [Mon, 11 Feb 2008 12:10:11 +0000 (13:10 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-python
Jelmer Vernooij [Mon, 11 Feb 2008 11:39:47 +0000 (12:39 +0100)]
Fix typo.
Kai Blin [Mon, 11 Feb 2008 10:57:17 +0000 (11:57 +0100)]
autoconf: We build Samba from git now, not from SVN.
Jelmer Vernooij [Mon, 11 Feb 2008 10:47:31 +0000 (11:47 +0100)]
Fix switching of hives in regshell (#5254)
Kai Blin [Mon, 11 Feb 2008 09:37:26 +0000 (10:37 +0100)]
provision: Fix new user creation.
Spotted by nobody88 in IRC.
Stefan Metzmacher [Mon, 11 Feb 2008 07:44:56 +0000 (08:44 +0100)]
pidl/Samba3::ServerNDR: use talloc_tos() instead of NULL
metze
Jelmer Vernooij [Mon, 11 Feb 2008 00:42:29 +0000 (01:42 +0100)]
Avoid autogenerating the Makefile but rather include a data.mk file
that is autogenerated.
Jelmer Vernooij [Mon, 11 Feb 2008 00:15:54 +0000 (01:15 +0100)]
Fix case.
Jelmer Vernooij [Mon, 11 Feb 2008 00:02:16 +0000 (01:02 +0100)]
Move some more variables to static .mk file.
Jelmer Vernooij [Sun, 10 Feb 2008 23:21:20 +0000 (00:21 +0100)]
Automatically write AC_SUBST() vars to mkconfig.mk and use them.
Jelmer Vernooij [Sun, 10 Feb 2008 22:32:31 +0000 (23:32 +0100)]
Move some variables to a separate .mk file that could also be included by a non-smb_build build system.
Jelmer Vernooij [Sun, 10 Feb 2008 21:58:03 +0000 (22:58 +0100)]
Start working on generating .mk file from configure for inclusion in Makefile.
Jelmer Vernooij [Sun, 10 Feb 2008 21:24:09 +0000 (22:24 +0100)]
Make formatting a bit more ReST-valid.
Jelmer Vernooij [Sun, 10 Feb 2008 21:14:08 +0000 (22:14 +0100)]
Change README to be ReST-compatible.
Jelmer Vernooij [Sat, 9 Feb 2008 23:56:55 +0000 (00:56 +0100)]
More syntax fixes, use more standard python functions.
Jelmer Vernooij [Sat, 9 Feb 2008 23:21:41 +0000 (00:21 +0100)]
Start working on python conversion of minschema.
Jelmer Vernooij [Sat, 9 Feb 2008 21:29:42 +0000 (22:29 +0100)]
Add tests for upgrade of WINS database.
Jelmer Vernooij [Sat, 9 Feb 2008 19:47:12 +0000 (20:47 +0100)]
Remove unused define.
Jelmer Vernooij [Sat, 9 Feb 2008 19:38:07 +0000 (20:38 +0100)]
Merge branch 'v4-0-trivial' into v4-0-python
Conflicts:
source/scripting/python/config.m4
Jelmer Vernooij [Sat, 9 Feb 2008 19:09:58 +0000 (20:09 +0100)]
Fix typo.
Jelmer Vernooij [Sat, 9 Feb 2008 19:06:54 +0000 (20:06 +0100)]
Merge branch 'v4-0-trivial' into v4-0-python
Jelmer Vernooij [Sat, 9 Feb 2008 18:16:44 +0000 (19:16 +0100)]
Fix tests.