samba.git
16 years agosamba3rpc: Remove use of global_loadparm.
Jelmer Vernooij [Tue, 19 Feb 2008 13:13:14 +0000 (14:13 +0100)]
samba3rpc: Remove use of global_loadparm.

16 years agoAvoid use of global_loadparm.
Jelmer Vernooij [Tue, 19 Feb 2008 13:12:05 +0000 (14:12 +0100)]
Avoid use of global_loadparm.

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
Jelmer Vernooij [Tue, 19 Feb 2008 12:45:17 +0000 (13:45 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial

16 years agoRemove uses of global_loadparm.
Jelmer Vernooij [Tue, 19 Feb 2008 12:39:27 +0000 (13:39 +0100)]
Remove uses of global_loadparm.

16 years agoFix quicktest.
Jelmer Vernooij [Tue, 19 Feb 2008 12:38:59 +0000 (13:38 +0100)]
Fix quicktest.

16 years agoMerge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-abartlet
Andrew Bartlett [Tue, 19 Feb 2008 03:45:23 +0000 (14:45 +1100)]
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-abartlet

16 years agoTo partially simplfy our gcov handling, move to the new --coverage option.
Andrew Bartlett [Tue, 19 Feb 2008 03:44:10 +0000 (14:44 +1100)]
To partially simplfy our gcov handling, move to the new --coverage option.

Andrew Bartlett

16 years agoFix CFLAGS (caused problems on hosts without libgssapi installed on the system).
Jelmer Vernooij [Tue, 19 Feb 2008 02:57:30 +0000 (03:57 +0100)]
Fix CFLAGS (caused problems on hosts without libgssapi installed on the system).

16 years agoAdd test for INCLUDE command.
Jelmer Vernooij [Tue, 19 Feb 2008 01:02:48 +0000 (02:02 +0100)]
Add test for INCLUDE command.

16 years agoAdd INCLUDE command to pidl.
Julien Kerihuel [Tue, 19 Feb 2008 00:55:01 +0000 (01:55 +0100)]
Add INCLUDE command to pidl.

16 years agoExplain that these OIDs are DNs
Andrew Bartlett [Mon, 18 Feb 2008 22:36:56 +0000 (09:36 +1100)]
Explain that these OIDs are DNs

Andrew Bartlett

16 years agoFix local tests.
Jelmer Vernooij [Mon, 18 Feb 2008 22:27:55 +0000 (23:27 +0100)]
Fix local tests.

16 years agoFix dependency on popt.
Jelmer Vernooij [Mon, 18 Feb 2008 22:20:08 +0000 (23:20 +0100)]
Fix dependency on popt.

16 years agoWhen not using --immediate, use a one-line progress indicator in selftest.
Jelmer Vernooij [Mon, 18 Feb 2008 20:52:23 +0000 (21:52 +0100)]
When not using --immediate, use a one-line progress indicator in selftest.

16 years agoUse consistent hierarchical naming for tests used in selftest.
Jelmer Vernooij [Mon, 18 Feb 2008 20:13:03 +0000 (21:13 +0100)]
Use consistent hierarchical naming for tests used in selftest.

This is mainly cosmetical and so it would in the future be possible to print a tree of the tests.
People using "make test TESTS=..." may have to specify a slightly different regular expression
than they used to.

16 years agoFix summary.
Jelmer Vernooij [Mon, 18 Feb 2008 19:14:29 +0000 (20:14 +0100)]
Fix summary.

16 years agoRename include to mkinclude to emphasize it is different from make's include.
Jelmer Vernooij [Mon, 18 Feb 2008 19:04:18 +0000 (20:04 +0100)]
Rename include to mkinclude to emphasize it is different from make's include.

16 years agoUse implicit build system element creation for external libraries.
Jelmer Vernooij [Mon, 18 Feb 2008 18:46:27 +0000 (19:46 +0100)]
Use implicit build system element creation for external libraries.

16 years agoBe a little bit less strict about recursive dependencies.
Jelmer Vernooij [Mon, 18 Feb 2008 18:19:54 +0000 (19:19 +0100)]
Be a little bit less strict about recursive dependencies.

16 years agoGet rid of 'INTEGRATED' build of modules - now replaced by 'MERGED_OBJ'
Jelmer Vernooij [Mon, 18 Feb 2008 18:06:17 +0000 (19:06 +0100)]
Get rid of 'INTEGRATED' build of modules - now replaced by 'MERGED_OBJ'

16 years agoBuild complete static libraries.
Jelmer Vernooij [Mon, 18 Feb 2008 17:55:37 +0000 (18:55 +0100)]
Build complete static libraries.

16 years agoSimplify handling of ALL_OBJS.
Jelmer Vernooij [Mon, 18 Feb 2008 16:28:24 +0000 (17:28 +0100)]
Simplify handling of ALL_OBJS.

16 years agoFix unresolved symbols.
Jelmer Vernooij [Mon, 18 Feb 2008 16:24:29 +0000 (17:24 +0100)]
Fix unresolved symbols.

16 years agoFactor out common code that generates object lists.
Jelmer Vernooij [Mon, 18 Feb 2008 16:08:54 +0000 (17:08 +0100)]
Factor out common code that generates object lists.

16 years agoRemove mergedobj files during clean.
Jelmer Vernooij [Mon, 18 Feb 2008 15:57:17 +0000 (16:57 +0100)]
Remove mergedobj files during clean.

16 years agoSimplify some more smb_build code.
Jelmer Vernooij [Mon, 18 Feb 2008 15:33:23 +0000 (16:33 +0100)]
Simplify some more smb_build code.

16 years agoFix build with partial linking.
Jelmer Vernooij [Mon, 18 Feb 2008 15:02:33 +0000 (16:02 +0100)]
Fix build with partial linking.

16 years agoAvoid redetermining paths; use already stored values.
Jelmer Vernooij [Mon, 18 Feb 2008 14:31:15 +0000 (15:31 +0100)]
Avoid redetermining paths; use already stored values.

16 years agoAdd elements in the build system implicitly if they're unknown
Jelmer Vernooij [Mon, 18 Feb 2008 12:31:10 +0000 (13:31 +0100)]
Add elements in the build system implicitly if they're unknown
(so they can be regular make rules).

16 years agoReenable partial linking
Jelmer Vernooij [Mon, 18 Feb 2008 12:10:30 +0000 (13:10 +0100)]
Reenable partial linking

16 years agoFix installation of gencache.
Jelmer Vernooij [Mon, 18 Feb 2008 11:45:27 +0000 (12:45 +0100)]
Fix installation of gencache.

16 years agoMerge functions.
Jelmer Vernooij [Mon, 18 Feb 2008 11:35:39 +0000 (12:35 +0100)]
Merge functions.

16 years agoEliminate duplicate variable.
Jelmer Vernooij [Mon, 18 Feb 2008 11:26:43 +0000 (12:26 +0100)]
Eliminate duplicate variable.

16 years agoSwitch back to using static libraries for subsystems for now, since partial linking...
Jelmer Vernooij [Mon, 18 Feb 2008 10:50:07 +0000 (11:50 +0100)]
Switch back to using static libraries for subsystems for now, since partial linking is still giving some problems.

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
Jelmer Vernooij [Mon, 18 Feb 2008 10:31:40 +0000 (11:31 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial

16 years agodisable the EAS level in SMB2-GETINFO test until we get some feedback
Andrew Tridgell [Mon, 18 Feb 2008 03:55:30 +0000 (14:55 +1100)]
disable the EAS level in SMB2-GETINFO test until we get some feedback
on how the alignment requirements have changed

16 years agoopen a root handle in SMB2 should use a NULL filename, not a zero length
Andrew Tridgell [Mon, 18 Feb 2008 03:54:59 +0000 (14:54 +1100)]
open a root handle in SMB2 should use a NULL filename, not a zero length
filename

16 years ago3 places where the VFS backend doesn't handle NULL strings.
Andrew Tridgell [Mon, 18 Feb 2008 03:54:14 +0000 (14:54 +1100)]
3 places where the VFS backend doesn't handle NULL strings.

16 years agohandle pushing of zero length smb2 strings
Andrew Tridgell [Mon, 18 Feb 2008 03:53:48 +0000 (14:53 +1100)]
handle pushing of zero length smb2 strings

16 years agoPrevent adding libreplace when not necessary.
Jelmer Vernooij [Sat, 16 Feb 2008 20:16:28 +0000 (21:16 +0100)]
Prevent adding libreplace when not necessary.

16 years agoSome more mergedobj fixes.
Jelmer Vernooij [Sat, 16 Feb 2008 19:56:46 +0000 (20:56 +0100)]
Some more mergedobj fixes.

16 years agoUse standard variable for partial linking.
Jelmer Vernooij [Sat, 16 Feb 2008 19:48:08 +0000 (20:48 +0100)]
Use standard variable for partial linking.

16 years agoReintroduce mergedobj support.
Jelmer Vernooij [Sat, 16 Feb 2008 19:38:21 +0000 (20:38 +0100)]
Reintroduce mergedobj support.

16 years agoRemove unused code.
Jelmer Vernooij [Sat, 16 Feb 2008 15:33:04 +0000 (16:33 +0100)]
Remove unused code.

16 years agoSimplify handling of plugin installation.
Jelmer Vernooij [Sat, 16 Feb 2008 15:22:05 +0000 (16:22 +0100)]
Simplify handling of plugin installation.

16 years agoAdd static header for gencache.
Jelmer Vernooij [Sat, 16 Feb 2008 14:40:42 +0000 (15:40 +0100)]
Add static header for gencache.

16 years agoFormatting fixes.
Jelmer Vernooij [Sat, 16 Feb 2008 14:23:26 +0000 (15:23 +0100)]
Formatting fixes.

16 years agofixed RAW-READ after the bufinfo changes. Thanks to Metze for spotting
Andrew Tridgell [Sat, 16 Feb 2008 02:28:37 +0000 (13:28 +1100)]
fixed RAW-READ after the bufinfo changes. Thanks to Metze for spotting
this.

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
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

16 years agofixed handling of zero sized buffers versus NULL buffers in
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.

16 years agoUnconditionally run the python tests.
Jelmer Vernooij [Fri, 15 Feb 2008 15:06:57 +0000 (16:06 +0100)]
Unconditionally run the python tests.

16 years agoReconcile header files for torture utility functions.
Jelmer Vernooij [Fri, 15 Feb 2008 14:53:06 +0000 (15:53 +0100)]
Reconcile header files for torture utility functions.

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
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

16 years agoMark the provision_bare() test as known failing for now.
Jelmer Vernooij [Fri, 15 Feb 2008 14:22:01 +0000 (15:22 +0100)]
Mark the provision_bare() test as known failing for now.

16 years agoUse struct for provision parameters since there are so many of them.
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.

16 years agolsa.idl: add lsa_AsciiStringLarge
Stefan Metzmacher [Fri, 15 Feb 2008 13:56:07 +0000 (14:56 +0100)]
lsa.idl: add lsa_AsciiStringLarge

metze

16 years agolsa.idl: don't use ascstr_noterm anymore
Stefan Metzmacher [Thu, 14 Feb 2008 15:08:50 +0000 (16:08 +0100)]
lsa.idl: don't use ascstr_noterm anymore

metze

16 years agoepmapper.idl: don't use ascstr2 anymore
Stefan Metzmacher [Thu, 14 Feb 2008 15:08:17 +0000 (16:08 +0100)]
epmapper.idl: don't use ascstr2 anymore

metze

16 years agoepmapper.idl: add link to official IDL
Stefan Metzmacher [Thu, 14 Feb 2008 15:07:49 +0000 (16:07 +0100)]
epmapper.idl: add link to official IDL

metze

16 years agodcerpc.idl: use charset() instead of ascstr3
Stefan Metzmacher [Thu, 14 Feb 2008 14:01:23 +0000 (15:01 +0100)]
dcerpc.idl: use charset() instead of ascstr3

metze

16 years agondr_sec_helper: create a completely zero sid, so that ndr_size_dom_sid28 can return 0
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

16 years agodrsuapi.idl: use charset() instead of the exotic flags() and string
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

16 years agokrb5pac.idl: use charset() instead of string type with flags
Stefan Metzmacher [Wed, 13 Feb 2008 16:31:17 +0000 (17:31 +0100)]
krb5pac.idl: use charset() instead of string type with flags

metze

16 years agoNET-API-BECOME-DC: at least find the 'provision' function in python mode
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

16 years agocyrus_sasl: fix compiler warnings
Stefan Metzmacher [Thu, 14 Feb 2008 13:54:52 +0000 (14:54 +0100)]
cyrus_sasl: fix compiler warnings

metze

16 years agoremove redundent code
Andrew Tridgell [Fri, 15 Feb 2008 05:53:10 +0000 (16:53 +1100)]
remove redundent code

16 years agofixed some options that could not be overridden on the command line
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

16 years agoadded blackbox testing of gentest
Andrew Tridgell [Fri, 15 Feb 2008 05:42:22 +0000 (16:42 +1100)]
added blackbox testing of gentest

16 years agoconvert gentest to use popt and the cmdline library
Andrew Tridgell [Fri, 15 Feb 2008 04:53:11 +0000 (15:53 +1100)]
convert gentest to use popt and the cmdline library

16 years agomake sure lp_ctx is initialised
Andrew Tridgell [Fri, 15 Feb 2008 04:52:52 +0000 (15:52 +1100)]
make sure lp_ctx is initialised

16 years agofix typo
Andrew Tridgell [Fri, 15 Feb 2008 04:39:07 +0000 (15:39 +1100)]
fix typo

16 years agoadded a blackbox test for masktest
Andrew Tridgell [Fri, 15 Feb 2008 04:33:10 +0000 (15:33 +1100)]
added a blackbox test for masktest

16 years agofixed masktest to use popt, and fixed the incorrect pstring conversion
Andrew Tridgell [Fri, 15 Feb 2008 04:26:20 +0000 (15:26 +1100)]
fixed masktest to use popt, and fixed the incorrect pstring conversion

16 years agoconverted locktest to use popt and cmdline utility code
Andrew Tridgell [Fri, 15 Feb 2008 03:55:31 +0000 (14:55 +1100)]
converted locktest to use popt and cmdline utility code

16 years agoadded blackbox testing for locktest
Andrew Tridgell [Fri, 15 Feb 2008 03:27:06 +0000 (14:27 +1100)]
added blackbox testing for locktest

16 years agoadd some info on running tests
Andrew Tridgell [Fri, 15 Feb 2008 03:11:11 +0000 (14:11 +1100)]
add some info on running tests

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
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

16 years agofixed loadparm handling in standalone tests
Andrew Tridgell [Fri, 15 Feb 2008 02:29:32 +0000 (13:29 +1100)]
fixed loadparm handling in standalone tests

16 years agoAdd ability to not specify certain provision options(), fix some other options.
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.

16 years agoAdd test for provision_bare() code.
Jelmer Vernooij [Fri, 15 Feb 2008 00:37:57 +0000 (01:37 +0100)]
Add test for provision_bare() code.

16 years agoFinish migration of provision code.
Jelmer Vernooij [Fri, 15 Feb 2008 00:16:12 +0000 (01:16 +0100)]
Finish migration of provision code.

16 years agoMove Python dependencies.
Jelmer Vernooij [Thu, 14 Feb 2008 23:35:17 +0000 (00:35 +0100)]
Move Python dependencies.

16 years agoAvoid using private libnet test structure inside util_provision.
Jelmer Vernooij [Thu, 14 Feb 2008 23:23:56 +0000 (00:23 +0100)]
Avoid using private libnet test structure inside util_provision.

16 years agoSplit provision from C code out of becomedc.
Jelmer Vernooij [Thu, 14 Feb 2008 22:28:31 +0000 (23:28 +0100)]
Split provision from C code out of becomedc.

16 years agoFix path to talloc guide. Noted by "teferi" on irc.
Michael Adam [Thu, 14 Feb 2008 22:10:00 +0000 (23:10 +0100)]
Fix path to talloc guide. Noted by "teferi" on irc.

Michael

16 years agoutil_ldb: Add a missing \n to debug string, fix trailing whitespaces.
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.

16 years agoloadparm: Clean up trailing whitespace
Kai Blin [Sun, 10 Feb 2008 12:01:20 +0000 (13:01 +0100)]
loadparm: Clean up trailing whitespace

No code change. Couldn't resist.

16 years agoDon't create symlinks pointing at themselves.
Jelmer Vernooij [Thu, 14 Feb 2008 11:15:28 +0000 (12:15 +0100)]
Don't create symlinks pointing at themselves.

16 years agoRemove type before variables in data.mk
Jelmer Vernooij [Thu, 14 Feb 2008 11:03:34 +0000 (12:03 +0100)]
Remove type before variables in data.mk

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
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

16 years agoupdated SMB2 code for getinfo according to WSPP docs
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

16 years agoA better way to handle the different format of RenameInformation in SMB2
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.

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
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

16 years agowe need to refuse a root_fid in rename on SMB but not SMB2
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

16 years agoFixed SMB2 rename operations from Vista clients
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

16 years agoConvert SMB and SMB2 code to use a common buffer handling structure
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.

16 years agoRemove some make variables that aren't necessary.
Jelmer Vernooij [Wed, 13 Feb 2008 20:39:25 +0000 (21:39 +0100)]
Remove some make variables that aren't necessary.

16 years agoFix talloc .so installation.
Jelmer Vernooij [Wed, 13 Feb 2008 20:09:21 +0000 (21:09 +0100)]
Fix talloc .so installation.

16 years agoFix corner case.
Jelmer Vernooij [Wed, 13 Feb 2008 20:05:58 +0000 (21:05 +0100)]
Fix corner case.

16 years agoUse more variables in generated data.mk.
Jelmer Vernooij [Wed, 13 Feb 2008 20:03:01 +0000 (21:03 +0100)]
Use more variables in generated data.mk.