kai/samba.git
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
(This used to be commit 837eb8a0bc011cd84bc7e8d2849028313d709928)

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

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

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

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

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

16 years agoFix local tests.
Jelmer Vernooij [Mon, 18 Feb 2008 22:27:55 +0000 (23:27 +0100)]
Fix local tests.
(This used to be commit 60f2eb404628f9903bbb839a9aaead89c7a5736f)

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

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

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

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

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

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

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

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'
(This used to be commit 269cbf84d8b7dbf3bc88adc04ae283dc908af5ac)

16 years agoBuild complete static libraries.
Jelmer Vernooij [Mon, 18 Feb 2008 17:55:37 +0000 (18:55 +0100)]
Build complete static libraries.
(This used to be commit 34e26f4eecdf5bca340133942b242969c4c16dff)

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

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

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

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

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

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

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

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

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

16 years agoFix installation of gencache.
Jelmer Vernooij [Mon, 18 Feb 2008 11:45:27 +0000 (12:45 +0100)]
Fix installation of gencache.
(This used to be commit 96f073020fa6a5553222c7b05654d30fd13b5e69)

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

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

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

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

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

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

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

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

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

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

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

16 years agoReintroduce mergedobj support.
Jelmer Vernooij [Sat, 16 Feb 2008 19:38:21 +0000 (20:38 +0100)]
Reintroduce mergedobj support.
(This used to be commit 1cf23c58411a9b8a9bb97016c27c10a218e73146)

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

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

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

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)