Andrew Tridgell [Fri, 15 Feb 2008 20:27:49 +0000 (07:27 +1100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Andrew Tridgell [Fri, 15 Feb 2008 20:25:38 +0000 (07:25 +1100)]
fixed handling of zero sized buffers versus NULL buffers in
SMB2. Thanks to Metze for spotting this.
Jelmer Vernooij [Fri, 15 Feb 2008 15:06:57 +0000 (16:06 +0100)]
Unconditionally run the python tests.
Jelmer Vernooij [Fri, 15 Feb 2008 14:53:06 +0000 (15:53 +0100)]
Reconcile header files for torture utility functions.
Jelmer Vernooij [Fri, 15 Feb 2008 14:27:21 +0000 (15:27 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
Conflicts:
source/torture/libnet/libnet_BecomeDC.c
Jelmer Vernooij [Fri, 15 Feb 2008 14:22:01 +0000 (15:22 +0100)]
Mark the provision_bare() test as known failing for now.
Jelmer Vernooij [Fri, 15 Feb 2008 14:14:55 +0000 (15:14 +0100)]
Use struct for provision parameters since there are so many of them.
Stefan Metzmacher [Fri, 15 Feb 2008 13:56:07 +0000 (14:56 +0100)]
lsa.idl: add lsa_AsciiStringLarge
metze
Stefan Metzmacher [Thu, 14 Feb 2008 15:08:50 +0000 (16:08 +0100)]
lsa.idl: don't use ascstr_noterm anymore
metze
Stefan Metzmacher [Thu, 14 Feb 2008 15:08:17 +0000 (16:08 +0100)]
epmapper.idl: don't use ascstr2 anymore
metze
Stefan Metzmacher [Thu, 14 Feb 2008 15:07:49 +0000 (16:07 +0100)]
epmapper.idl: add link to official IDL
metze
Stefan Metzmacher [Thu, 14 Feb 2008 14:01:23 +0000 (15:01 +0100)]
dcerpc.idl: use charset() instead of ascstr3
metze
Stefan Metzmacher [Thu, 14 Feb 2008 14:03:37 +0000 (15:03 +0100)]
ndr_sec_helper: create a completely zero sid, so that ndr_size_dom_sid28 can return 0
metze
Stefan Metzmacher [Thu, 14 Feb 2008 14:02:11 +0000 (15:02 +0100)]
drsuapi.idl: use charset() instead of the exotic flags() and string
metze
Stefan Metzmacher [Wed, 13 Feb 2008 16:31:17 +0000 (17:31 +0100)]
krb5pac.idl: use charset() instead of string type with flags
metze
Stefan Metzmacher [Thu, 14 Feb 2008 13:56:58 +0000 (14:56 +0100)]
NET-API-BECOME-DC: at least find the 'provision' function in python mode
This is still broken, as we call provision() with wrong arguments.
Also the python provision() function, doesn't allow us
to specify the locations of the partition ldb files,
this is strictly needed otherwise the torture test destroys
a production databases.
I think we should have a provision_become_dc() again!
metze
Stefan Metzmacher [Thu, 14 Feb 2008 13:54:52 +0000 (14:54 +0100)]
cyrus_sasl: fix compiler warnings
metze
Andrew Tridgell [Fri, 15 Feb 2008 05:53:10 +0000 (16:53 +1100)]
remove redundent code
Andrew Tridgell [Fri, 15 Feb 2008 05:52:57 +0000 (16:52 +1100)]
fixed some options that could not be overridden on the command line
Andrew Tridgell [Fri, 15 Feb 2008 05:42:22 +0000 (16:42 +1100)]
added blackbox testing of gentest
Andrew Tridgell [Fri, 15 Feb 2008 04:53:11 +0000 (15:53 +1100)]
convert gentest to use popt and the cmdline library
Andrew Tridgell [Fri, 15 Feb 2008 04:52:52 +0000 (15:52 +1100)]
make sure lp_ctx is initialised
Andrew Tridgell [Fri, 15 Feb 2008 04:39:07 +0000 (15:39 +1100)]
fix typo
Andrew Tridgell [Fri, 15 Feb 2008 04:33:10 +0000 (15:33 +1100)]
added a blackbox test for masktest
Andrew Tridgell [Fri, 15 Feb 2008 04:26:20 +0000 (15:26 +1100)]
fixed masktest to use popt, and fixed the incorrect pstring conversion
Andrew Tridgell [Fri, 15 Feb 2008 03:55:31 +0000 (14:55 +1100)]
converted locktest to use popt and cmdline utility code
Andrew Tridgell [Fri, 15 Feb 2008 03:27:06 +0000 (14:27 +1100)]
added blackbox testing for locktest
Andrew Tridgell [Fri, 15 Feb 2008 03:11:11 +0000 (14:11 +1100)]
add some info on running tests
Andrew Tridgell [Fri, 15 Feb 2008 02:30:55 +0000 (13:30 +1100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Andrew Tridgell [Fri, 15 Feb 2008 02:29:32 +0000 (13:29 +1100)]
fixed loadparm handling in standalone tests
Jelmer Vernooij [Fri, 15 Feb 2008 01:12:37 +0000 (02:12 +0100)]
Add ability to not specify certain provision options(), fix some other options.
Jelmer Vernooij [Fri, 15 Feb 2008 00:37:57 +0000 (01:37 +0100)]
Add test for provision_bare() code.
Jelmer Vernooij [Fri, 15 Feb 2008 00:16:12 +0000 (01:16 +0100)]
Finish migration of provision code.
Jelmer Vernooij [Thu, 14 Feb 2008 23:35:17 +0000 (00:35 +0100)]
Move Python dependencies.
Jelmer Vernooij [Thu, 14 Feb 2008 23:23:56 +0000 (00:23 +0100)]
Avoid using private libnet test structure inside util_provision.
Jelmer Vernooij [Thu, 14 Feb 2008 22:28:31 +0000 (23:28 +0100)]
Split provision from C code out of becomedc.
Michael Adam [Thu, 14 Feb 2008 22:10:00 +0000 (23:10 +0100)]
Fix path to talloc guide. Noted by "teferi" on irc.
Michael
Kai Blin [Wed, 13 Feb 2008 22:35:43 +0000 (23:35 +0100)]
util_ldb: Add a missing \n to debug string, fix trailing whitespaces.
Kai Blin [Sun, 10 Feb 2008 12:01:20 +0000 (13:01 +0100)]
loadparm: Clean up trailing whitespace
No code change. Couldn't resist.
Jelmer Vernooij [Thu, 14 Feb 2008 11:15:28 +0000 (12:15 +0100)]
Don't create symlinks pointing at themselves.
Jelmer Vernooij [Thu, 14 Feb 2008 11:03:34 +0000 (12:03 +0100)]
Remove type before variables in data.mk
Jelmer Vernooij [Thu, 14 Feb 2008 11:03:11 +0000 (12:03 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
Andrew Tridgell [Thu, 14 Feb 2008 06:11:36 +0000 (17:11 +1100)]
updated SMB2 code for getinfo according to WSPP docs
- Updated getinfo structures and field names
- also updated the protocol revision number handling to reflect
new docs
Andrew Tridgell [Thu, 14 Feb 2008 03:54:21 +0000 (14:54 +1100)]
A better way to handle the different format of RenameInformation in SMB2
We now define a separate info level RAW_SFILEINFO_RENAME_INFORMATION_SMB2
and set that level when handling SMB2 packets. This makes the parsers clearer.
Andrew Tridgell [Thu, 14 Feb 2008 02:37:37 +0000 (13:37 +1100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Andrew Tridgell [Thu, 14 Feb 2008 01:50:11 +0000 (12:50 +1100)]
we need to refuse a root_fid in rename on SMB but not SMB2
Andrew Tridgell [Thu, 14 Feb 2008 01:30:31 +0000 (12:30 +1100)]
Fixed SMB2 rename operations from Vista clients
We needed a flag in bufinfo to mark packets as SMB2, as it seems that
SMB2 uses a different format for the RenameInformation buffer than SMB
does
Also handle the fact that SMB2 clients give the full path to the
target file in the rename, not a relative path
Andrew Tridgell [Wed, 13 Feb 2008 23:12:33 +0000 (10:12 +1100)]
Convert SMB and SMB2 code to use a common buffer handling structure
This converts our SMB and SMB2 code to use a common structure "struct
request_bufinfo" for information on the buffer bounds of a packet,
alignment information and string handling. This allows us to use a
common backend for SMB and SMB2 code, while still using all the same
string and blob handling functions.
Up to now we had been passing a NULL req handle into these common
routines from the SMB2 side of the server, which meant that we failed
any operation which did a bounds checked string extraction (such as a
RenameInformation setinfo call, which is what Vista uses for renaming
files)
There is still some more work to be done on this - for example we can
now remove many of the SMB2 specific buffer handling functions that we
had, and use the SMB ones.
Jelmer Vernooij [Wed, 13 Feb 2008 20:39:25 +0000 (21:39 +0100)]
Remove some make variables that aren't necessary.
Jelmer Vernooij [Wed, 13 Feb 2008 20:09:21 +0000 (21:09 +0100)]
Fix talloc .so installation.
Jelmer Vernooij [Wed, 13 Feb 2008 20:05:58 +0000 (21:05 +0100)]
Fix corner case.
Jelmer Vernooij [Wed, 13 Feb 2008 20:03:01 +0000 (21:03 +0100)]
Use more variables in generated data.mk.
Jelmer Vernooij [Wed, 13 Feb 2008 17:59:57 +0000 (18:59 +0100)]
Put soversions and versions for libraries with a hard-coded version in the
generated .mk file.
Move CPPFLAGS to be generated entirely inside configure.ac (simplifies
makefile.pm).
Jelmer Vernooij [Wed, 13 Feb 2008 16:42:10 +0000 (17:42 +0100)]
Allow tdb.mk and talloc.mk to be included at the same time.
Jelmer Vernooij [Wed, 13 Feb 2008 16:03:49 +0000 (17:03 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
Jelmer Vernooij [Wed, 13 Feb 2008 16:01:37 +0000 (17:01 +0100)]
Never build .so versions of tdb/talloc from Samba 4 itself. Rather,
use shared library versions if they are provided by the system.
This puts talloc and tdb in a similar situation as popt:
the system version is used if provided but if it's not there or if it
is too old, we use our internal version statically.
Stefan Metzmacher [Wed, 13 Feb 2008 15:20:23 +0000 (16:20 +0100)]
torture/eventlog: the NTSTATUS of dcerpc_ functions is the same as r.out.result
metze
Jelmer Vernooij [Wed, 13 Feb 2008 15:24:25 +0000 (16:24 +0100)]
Ignore pidl Makefile, which is autogenerated.
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
Jelmer Vernooij [Wed, 13 Feb 2008 01:28:41 +0000 (02:28 +0100)]
Add simple test for ETT_FIELD.
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.