amitay/samba.git
16 years agoUse make to create lists of plugins, remove duplicate variable.
Jelmer Vernooij [Sat, 16 Feb 2008 16:14:03 +0000 (17:14 +0100)]
Use make to create lists of plugins, remove duplicate variable.
(This used to be commit 36cc584374d32c7875333fa5abd97b31e83291aa)

16 years agoUse make to create lists of pc files and prototype headers.
Jelmer Vernooij [Sat, 16 Feb 2008 16:12:01 +0000 (17:12 +0100)]
Use make to create lists of pc files and prototype headers.
(This used to be commit 6cc7bc1586e892e8470cb3f18a7afa2029a0399d)

16 years agoUse make to generate list of prototype headers.
Jelmer Vernooij [Sat, 16 Feb 2008 16:01:27 +0000 (17:01 +0100)]
Use make to generate list of prototype headers.
(This used to be commit 20800de0581de1f8be57755df5cc05ffad34ada9)

16 years agoUse make to generate lists of libraries.
Jelmer Vernooij [Sat, 16 Feb 2008 15:58:26 +0000 (16:58 +0100)]
Use make to generate lists of libraries.
(This used to be commit 8e1396d5666b1c9306e04cf98d1c89fa13199c7d)

16 years agoGenerate manpage list with make.
Jelmer Vernooij [Sat, 16 Feb 2008 15:48:36 +0000 (16:48 +0100)]
Generate manpage list with make.
(This used to be commit 7eaa96169f0a32110194560ff27ed89120160efc)

16 years agoCreate SBIN_PROGS and BIN_PROGS lists from within make.
Jelmer Vernooij [Sat, 16 Feb 2008 15:38:01 +0000 (16:38 +0100)]
Create SBIN_PROGS and BIN_PROGS lists from within make.
(This used to be commit 62abd38725ecbe149075a5e2097a08981cd156cf)

16 years agoMerge branch 'v4-0-trivial' into v4-0-gmake3
Jelmer Vernooij [Sat, 16 Feb 2008 15:33:13 +0000 (16:33 +0100)]
Merge branch 'v4-0-trivial' into v4-0-gmake3
(This used to be commit 8e716d139003d3e743dd99d93f76da4cfa7d48b3)

16 years agoRemove unused code.
Jelmer Vernooij [Sat, 16 Feb 2008 15:33:04 +0000 (16:33 +0100)]
Remove unused code.
(This used to be commit 98d6095b9605ff4db61394719f29b3e38349c59f)

16 years agoMerge branch 'v4-0-trivial' into v4-0-gmake3
Jelmer Vernooij [Sat, 16 Feb 2008 15:24:37 +0000 (16:24 +0100)]
Merge branch 'v4-0-trivial' into v4-0-gmake3
(This used to be commit c1b2b5f9f479e202f30f245a47d2743a592deeb8)

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.
(This used to be commit 8f1270dd5c7688f023cf24215fa229da213e760c)

16 years agouse gmake to handle .py file copies.
Jelmer Vernooij [Sat, 16 Feb 2008 15:15:21 +0000 (16:15 +0100)]
use gmake to handle .py file copies.
(This used to be commit 33111f98df7e8f9bb7d62599c6b13a1a4479a2e1)

16 years agoRely on GNU make to build static libraries.
Jelmer Vernooij [Sat, 16 Feb 2008 15:08:32 +0000 (16:08 +0100)]
Rely on GNU make to build static libraries.
(This used to be commit 8e9856412befc0ea94536dd492588f232347564a)

16 years agoRevert "Allow LDB to be a static library again."
Jelmer Vernooij [Sat, 16 Feb 2008 15:02:47 +0000 (16:02 +0100)]
Revert "Allow LDB to be a static library again."

This reverts commit 16fd90d7a99ae8eaf2accf3c8b3ec55b2223f9cd.
(This used to be commit 9166e48944819041ed5db6dbd432fc660660c5ce)

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.
(This used to be commit 58c25657bf552a11e7c522602805ba961de94cf2)

16 years agoAllow LDB to be a static library again.
Jelmer Vernooij [Sat, 16 Feb 2008 14:40:55 +0000 (15:40 +0100)]
Allow LDB to be a static library again.
(This used to be commit 16fd90d7a99ae8eaf2accf3c8b3ec55b2223f9cd)

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.
(This used to be commit 9a0f6a0012243a74702c723dec808c99c58c772e)

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

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.
(This used to be commit 0ab4428fce9f2b970dfbced3b5dfea7ec688760a)

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.
(This used to be commit 1269758e95686cc155284d5d56080e1be11bbd75)

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
(This used to be commit 2da0734f439ee5f4e3eb1c9416e7df4450f08534)

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.
(This used to be commit bb473a8d11ce0ab8d5c9f0b339861b552fc2b262)

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.
(This used to be commit 4b9d5bc57ca4ee14c142ea720dce5e4ee97f8c16)

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
(This used to be commit 646c597b79cb01474ed8139e4e790206bd84632c)

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
(This used to be commit b994f899b42d294c0418bdc82660a2f7510667d6)

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
(This used to be commit 96f1ad6d27fdfecd3a07a05052c8085d66472106)

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
(This used to be commit b5c0a6c114b5c832f742bd84179e5e9a5aed3698)

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
(This used to be commit 47447f60bc8e5dd1021752e9b011f22762e45eed)

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
(This used to be commit ae6976eb4a8ddafc40ce91f68c9bca861502093b)

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
(This used to be commit 70c7faace76a84d2fe15accf4f8a1ca0ad905bd4)

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
(This used to be commit 30657ae0ebdb85ae995a3dfe3ce123851fd92e0f)

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
(This used to be commit 096eafd34778dde222bce4b0a5c0fc38b7de0359)

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
(This used to be commit 558c717c6c279b739633e26855910b61b792e7b6)

16 years agoremove redundent code
Andrew Tridgell [Fri, 15 Feb 2008 05:53:10 +0000 (16:53 +1100)]
remove redundent code
(This used to be commit 7f2421f17cae313d7dbf5c35c73b5410cb1d5db0)

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
(This used to be commit eea486d8942fdda769684fa6e825c0f899cf3304)

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
(This used to be commit 716345fd38dfd8c6e610fbd6ba84c4f33e3edbb9)

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
(This used to be commit 681366b956a71aa7bd16b75263ccd73ddc680082)

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
(This used to be commit 3abb33c8bff9aac8ba1ba4783b919732e5159283)

16 years agofix typo
Andrew Tridgell [Fri, 15 Feb 2008 04:39:07 +0000 (15:39 +1100)]
fix typo
(This used to be commit 1699b2a804cf91175de2528c1e640a09b4de4f08)

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
(This used to be commit 05a110123df2372418e2ef2fd8f269b92054069c)

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
(This used to be commit c37133fd95e6d02a0cdf0f7b5408211740d8046c)

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
(This used to be commit 625ea49a95cbdb507ea5b191f75ffa27e25cdb90)

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
(This used to be commit af6484f78d273407dd9b264bc4adb33497eee48b)

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
(This used to be commit b6ba0afc1424a1d202626aabf1cd0f28246319a6)

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
(This used to be commit 9c12b5b49679d404ac623041f2da944019f97754)

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
(This used to be commit 2633f4259ed30ab990017c4c3205f92bf38f0135)

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.
(This used to be commit fe8bfda22d8e1fdbece4209b7489419074565efd)

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.
(This used to be commit 0f3a1dbb5355bf5181d9a100af35be8a7f292be6)

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.
(This used to be commit 53c5924195844dac4dfe99e5c9b0c8911394497a)

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

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.
(This used to be commit 1a1f8a5e6b193f25f4838a3e7964cdf0590f4eb2)

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.
(This used to be commit ed2b72ac76ec069fec799b3fd805cca59fc28de4)

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
(This used to be commit bc4e03f2ddb669758e27e2a5c32e15c7d6c5257d)

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.
(This used to be commit b0991cc09b36171c18d2407c9f3153b6f7e8299b)

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.
(This used to be commit abc816b3884838441ab379c9e31e16937caa4734)

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.
(This used to be commit 96736eb556bfd7ab5b04ec40beefe23e475a438d)

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
(This used to be commit 3c1a7c0dcc56ed5595e31a8df023a04ae95bfca5)

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
(This used to be commit 50697762fd28e2fc77142c5fea528b12d4cc0ebc)

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
(This used to be commit 3aaa2e86d94675c6c68d66d75292c3e34bfbc81b)

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.
(This used to be commit f6cdf3f1177f63d80be757f007eb15380839b4f5)

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
(This used to be commit 309cf408e01c36e2a12ed2d1462f2bbe407d4597)

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
(This used to be commit 9a139c35b7f1326616d26ce13bbdc7d6b22cd9b5)

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
(This used to be commit 52d7972d95ddc19d22a4187b4d4428a6c3ed32d5)

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.
(This used to be commit ca6d9be6cb6a403a81b18fa6e9a6a0518d7f0f68)

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.
(This used to be commit 8d41cb23dea4fccfc2b3fc8a816cda54af6038fb)

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

16 years agoFix corner case.
Jelmer Vernooij [Wed, 13 Feb 2008 20:05:58 +0000 (21:05 +0100)]
Fix corner case.
(This used to be commit 92dbbc479032ae3d0cf4b2b9e64291128185cf9c)

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.
(This used to be commit 2dce9e4e0d5ba8785fdee3daba91e6c9f4a32040)

16 years agoPut soversions and versions for libraries with a hard-coded version in the
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).
(This used to be commit a44af7c3872e900e1ea0da74ef796213030e29ac)

16 years agoAllow tdb.mk and talloc.mk to be included at the same time.
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.
(This used to be commit af9e0421529104d2583c58f7723abe8612e78f53)

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
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
(This used to be commit b14d61a3b8055b7a8172e18e5bd69e7cab6eacdb)

16 years agoNever build .so versions of tdb/talloc from Samba 4 itself. Rather,
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.
(This used to be commit 86f88eb7b51377344eebf0b6fabad0f5459b3f45)

16 years agotorture/eventlog: the NTSTATUS of dcerpc_ functions is the same as r.out.result
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
(This used to be commit 0c5539e5fedd4123f61d50ee29acdc5a5f0faf76)

16 years agoIgnore pidl Makefile, which is autogenerated.
Jelmer Vernooij [Wed, 13 Feb 2008 15:24:25 +0000 (16:24 +0100)]
Ignore pidl Makefile, which is autogenerated.
(This used to be commit 5572bf854d935f3fc526a38378d23791da249f0f)

16 years agotorture/eventlog: fix crash bugs!
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
(This used to be commit 3ec4bce0b64764e364aedea2800eed296805c51e)

16 years agopidl: $size can be 'foo / 2' so we need to add '(' and ')'
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
(This used to be commit a496abc4042a98835d485769e0972826da161984)

16 years agoidl_types: remove unused lstring
Stefan Metzmacher [Wed, 13 Feb 2008 09:41:57 +0000 (10:41 +0100)]
idl_types: remove unused lstring

metze
(This used to be commit 5100452cf3b3c3c5dcdb77a9efe27e8c506d1d43)

16 years agospoolss.idl: improve idl for EnumPrinterData and not use 'lstring' any more
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
(This used to be commit d6cdddbcf37d120cb365bc7f8188858c8776e2e0)

16 years agoMakefile: --enable-automatic-dependencies usage
Stefan Metzmacher [Tue, 12 Feb 2008 13:39:52 +0000 (14:39 +0100)]
Makefile: --enable-automatic-dependencies usage

metze
(This used to be commit 36a31f31c4c01f4ebf1359650c497a1ba447e6d0)

16 years agomissed another spot in the SMB2 create conversion
Andrew Tridgell [Wed, 13 Feb 2008 06:36:41 +0000 (17:36 +1100)]
missed another spot in the SMB2 create conversion
(This used to be commit df82b0aa6990b59cde20893cb690a8a260526178)

16 years agomissed a 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
(This used to be commit 17357072dd175b7548122e40e4cecc6087e52561)

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
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
(This used to be commit b3793c6562b1a1e8711561f65594ba0676f9282d)

16 years agoupdated SMB2 create operation to match WSPP.
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
(This used to be commit d037dc23ced3df6bce98cbf4810fb5f1247336bd)

16 years agoAdd simple test for ETT_FIELD.
Jelmer Vernooij [Wed, 13 Feb 2008 01:28:41 +0000 (02:28 +0100)]
Add simple test for ETT_FIELD.
(This used to be commit aea50426366dbe971d25d2a948db57885ce224b9)

16 years agoSupport ETT_FIELD keyword.
Julien Kerihuel [Wed, 13 Feb 2008 01:24:11 +0000 (02:24 +0100)]
Support ETT_FIELD keyword.
(This used to be commit ec8bd3991f76cf8746cf77c277c3491725711f9d)

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
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
(This used to be commit 1a8f5ab78ae24607ff66b06e82aef9316f0ae54b)

16 years agoInitial work on a test for samba.tests.samdb
Jelmer Vernooij [Wed, 13 Feb 2008 01:18:45 +0000 (02:18 +0100)]
Initial work on a test for samba.tests.samdb
(This used to be commit 8b33860954ca03be1ea45fd8d40963dbbd5b162f)

16 years agoAdd python version of newuser.py.
Jelmer Vernooij [Wed, 13 Feb 2008 00:22:09 +0000 (01:22 +0100)]
Add python version of newuser.py.
(This used to be commit f70aef8e51e1a2f186fe71edaa4c81a39b837573)

16 years agoFix invalid symbol.
Jelmer Vernooij [Wed, 13 Feb 2008 00:21:06 +0000 (01:21 +0100)]
Fix invalid symbol.
(This used to be commit bd0ef811c4e6419ba05076fbc151827cea5d1ca1)

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
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
(This used to be commit 11102681bcd70b0abb2df38bcdc7fdec51e71600)

16 years agoupdated SMB2 tcon as per WSPP docs
Andrew Tridgell [Tue, 12 Feb 2008 23:13:28 +0000 (10:13 +1100)]
updated SMB2 tcon as per WSPP docs
(This used to be commit 5913e3e549e71affc66c28cacb6563331fb0c790)

16 years agoRaise version of talloc from 1.1.0 to 1.2.0 after adding talloc pools.
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
(This used to be commit 38855a9f145b54d05f4a508562fc1a6595e0d895)

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
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
(This used to be commit 842b4969cd08a8acc5584cfdcf1aaf8a751e4fa3)

16 years agoFix subunit runner exit codes.
Jelmer Vernooij [Tue, 12 Feb 2008 21:10:25 +0000 (22:10 +0100)]
Fix subunit runner exit codes.
(This used to be commit 7911308dbc1233838e44c533302f77b03ea41148)

16 years agoCorrectly increment counters in Subunit test runner.
Jelmer Vernooij [Tue, 12 Feb 2008 20:59:23 +0000 (21:59 +0100)]
Correctly increment counters in Subunit test runner.
(This used to be commit c474a2bb83a3e28a0b83f3b8ca1b646742dfca3d)

16 years agolibrpc: remove special support for fixed length strings
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
(This used to be commit 9620b86e96e8065c0ff6db0d95130ab53581d468)

16 years agospoolss.idl: don't use string32 anymore and use an charset() array
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
(This used to be commit 746a715715c7af8036192ba6d74e282ceaec8c0d)

16 years agonbt.idl: don't use astring15 anymore and use an charset() array
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
(This used to be commit bb143c76fb971bc2a1d69954d37ab20a953f2b69)

16 years agoFix open file tracking in vfs_cifs so that oplock breaks can propagate
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
(This used to be commit 1a53aeff9a9e8fe83fde5a617463a5b363c45313)

16 years agoSupport using shared library during testsuite run if tdb was built with a shared...
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.
(This used to be commit 28539f48e6ad37a6436e6f2c6733ee1fcbc6567f)

16 years agomake sure libraries are built before attempting to install.
Jelmer Vernooij [Tue, 12 Feb 2008 12:34:19 +0000 (13:34 +0100)]
make sure libraries are built before attempting to install.
(This used to be commit deb1dae2dabad3d74a1c6adf2c0b0d56917cca83)